Repository navigation
feat(user-interface): absorb Emil Kowalski's UI-craft skills - #7235
Conversation
…ces and a weekly drift check Add docs/upstream/emilkowalski-skills.md, the provenance record for the Emil Kowalski skills this branch absorbs: pin 2d228630, recheck trigger, re-pin procedure and a 29-row attribution table with blob SHAs. Add the MIT notice as a LICENSE in user-interface, testing and prototype, the plugins that take substantial reauthored text. Add check-emilkowalski-drift.sh and its test, and one matrix row in the weekly upstream drift workflow. The script reads the upstream tree once through a blobless shallow clone, compares each pinned file, and reports new upstream skill files. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_019cXAvmoX8JooFkwz4buQJx
Add reference/animation/ (catalog, behaviors, gestures, glossary, performance), reauthored stack-neutral from emilkowalski/skills: the should-it-animate gate, purpose, cheapest-tool ladder, properties, easing and duration roles, reduced motion, feel check, per-component behavior specs, spring and drag guidance, and web frame-cost diagnosis. Corpus contradictions are resolved: per-role durations replace the flat 300ms cap, asymmetric timing applies only where the user is deciding, and compositor claims become pointers. Add an animation: block to defaults.yaml and team.schema.json (easing as four control points, press/small/medium/large durations, a swipe velocity threshold). write-css now reads its curves and duration rule from it and judges the linter's duration findings against the role. The accessibility floor says reduced motion removes movement and may keep a short opacity or color change, with a WCAG 2.3.3 pointer. Evals: a team-configured large of 400ms must be honored; the duration eval now checks the default medium role (250ms) instead of 300ms. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_019cXAvmoX8JooFkwz4buQJx
A skill that decides whether an element should animate at all (the frequency gate and a named purpose), names the stack from the project's files, looks up its current animation guidance through a stack-neutral ladder (an installed vendor skill, docs lookup, research, official docs, repo patterns), specifies the motion from reference/animation/, and writes it from the project's own motion tokens with reduced motion in the same change. CSS goes through /user-interface:write-css. Skill evals cover declining a keyboard-driven animation, project tokens first, reduced motion, a Svelte project, CSS delegation and a native mobile stack; plugin cases cover triggering, a non-React fixture that must gain no foreign library, and a pixel-art control. The design skill's Next names the new skill. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_019cXAvmoX8JooFkwz4buQJx
…on routing A read-only animation review: the diff by default, the whole tree, the opportunities (and where animation must not go) or the frame cost, with a severity, the rule broken and "verified from code" or "needs a device recording" per finding. CSS goes through write-css review mode first, durations are judged against the configured role, and --fix applies one finding at a time after showing the diff and getting a yes. Routing: the motion concern becomes animation-authoring (pixel-art, write-animation, frontend-design, expo, vercel view transitions) and animation-audit is added; the external emilkowalski/skills rows are removed now that their content ships here. detect.mjs warns about a team routing row or disable entry naming a concern no bundled row has, so a renamed concern no longer goes quiet. The design skill maps animation build and review requests to the two concerns. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_019cXAvmoX8JooFkwz4buQJx
…iteria reference/types/touch-web.md: capability-based guidance for web interfaces used by touch (hover and press, target sizes, viewport units and safe areas, on-screen keyboards, scroll and gesture axes, hardware verification), with browser behavior and WCAG criteria as dated pointers. web.md points to it for phone and touch use. reference/component-libraries.md: framework-neutral criteria for choosing a component library (headless or styled, accessibility, stack fit, maintenance, license, weight), preferring a library the project already uses and never replacing one unasked. The design skill answers the component-libraries concern from it when no tool is routed. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_019cXAvmoX8JooFkwz4buQJx
/testing:run-e2e worst-case [--keep] <target> renders a component or screen with plausible worst-case data (long, short and right-to-left names, unbreakable strings, extreme numbers, empty and huge collections, missing media, every state) injected at the data boundary, and reports what broke, the decisions for the user and what held up, without editing component code. Network mocking comes first and writes nothing. A file-bound fixture is refused when already dirty, backed up byte for byte and restored, and the revert is proven by comparing git diff and full git status snapshots (untracked and ignored included) and each restored file with cmp. --keep keeps the fixture as a regression test, and the consumer file .claude/testing/worst-case.md extends the bundled catalog as data. Zoom is named as an approximation when the driver cannot zoom. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_019cXAvmoX8JooFkwz4buQJx
A fifth hunter lens, dispatched when the scope renders user-facing data: values rendered wrongly for real input, such as hardcoded plurals, initials from a naive split, images with no fallback, raw or unformatted numbers and nulls, truncation with no full value, leftover placeholders and fixed date formats. The shared excluded-classes rule now says a wrongly rendered value is not a formatting opinion. The large-scope and top-effort lens counts go to 5. Evals cover a rendering fixture with a hardcoded plural and a non-rendering target. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_019cXAvmoX8JooFkwz4buQJx
…kups assets/variant-switcher.html is a paste-in fragment for the HTML mockup substrate: it shows one [data-variant] at a time, switches on its arrows, number keys and arrow keys with wraparound, replays a variant's entrance by remounting it, ignores keys while a field has focus or a modifier is held, keeps no URL state so it works from file://, and runs under the mockup's CSP. Hover is gated to precise pointers and the highlight moves by transform only. Tested in headless Chromium under the CSP. explore-directions now inlines it instead of assembling a switcher per task, names each variant's direction and axis before building, and hands over each variant's tradeoff without pre-picking a favorite. Skill assets are recorded as a no-suite path class, covered by the skill's evals. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_019cXAvmoX8JooFkwz4buQJx
- The drift check splits git ls-tree output on the tab and matches pinned paths on everything after the SHA, so an upstream path with a space can no longer hide a new or removed file; tests cover both. - write-animation, audit-animation and run-e2e's worst-case catalog carry the untrusted-content framing spine verbatim, including "widens no authority", with a site tail naming the gate that stays fixed. - write-css's duration rule gives any other UI transition (hover, color, focus) the medium role and puts toasts in large, matching the catalog and audit-animation; the schema descriptions follow. - Drag-to-dismiss applies the configured velocity threshold to small elements only; a drawer or sheet needs a higher one. - detect's unknown-concern warning reads correctly for a team that adds a new concern; an audit grader states the duration rule correctly. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_019cXAvmoX8JooFkwz4buQJx
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Review in progress
|
|
Claude finished @kyle-sexton's task in 3m 18s —— View job Security review complete
No security issues found. This PR ports upstream skill content (prompts, reference docs, config schema, eval fixtures) rather than application code, so the review focused on the few executable/active surfaces:
Instruction-surface check: the diff removes several |
|
claude-security-review has reviewed this pull request through e603ec9; a later push is reviewed from there. |
…ene scan flags The scan matches a work-marker word case-insensitively inside shell comments, so "todo list" in animation-write-nonreact's scaffold.sh failed lint-repo. The comment now says "task list"; the fixture's markup is unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_019cXAvmoX8JooFkwz4buQJx
|
Claude finished @kyle-sexton's task in 32s —— View job Security review complete
No security issues found. The only change since this lane's last reviewed commit ( -# Seeds a Svelte app with an unanimated todo list and no animation library.
+# Seeds a Svelte app with an unanimated task list and no animation library.This is a wording fix to the shell comment only (aligning the eval-scaffold description, likely to avoid an unrelated "todo" string match elsewhere in the repo's tooling). It touches no executable logic, no input handling, and no instruction surface (it's an inline comment in an eval scaffold script, not a |
Code review in progress
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: afa1cfa56a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…d-off Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
Claude finished @melodic-automation-lanes[bot]'s task in 26s —— View job Security review complete
No security issues found. The only change since this lane's last reviewed commit ( -When a gesture ends, the motion continues at the pointer's exact release velocity, so there is no
-seam between dragging and animating. Pass the release velocity as the spring's initial velocity.
+When a gesture ends, the motion continues at the pointer's exact release velocity, so the motion does
+not jump when dragging gives way to animating. Pass the release velocity as the spring's initial velocity.This replaces a "seam" metaphor with "does not jump" in prose describing velocity hand-off for drag-to-animation gestures. It touches no executable logic, no input handling, and no instruction surface (it's reference-doc prose, not |
|
Claude finished @melodic-automation-lanes[bot]'s task in 3m 5s —— View job Code review in progress
|
… of layer errors The config resolver honored type, enum, properties and items but not minimum, minItems or maxItems, so a team value such as a one-number easing curve or a negative duration replaced a valid default with no error. lib/config-cascade.mjs now enforces the three keywords (a breaking leaf keeps the lower layer's value, as for any invalid leaf), with a test that fails without the change; the user-interface copy is regenerated by scripts/sync-shared-copies.sh. detect.mjs's note about a routing concern no bundled row has went to the team layer's errors, which /user-interface:setup reports as FAIL although the entry is kept. It now goes to the layer's warnings, which setup reports as WARN. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_019cXAvmoX8JooFkwz4buQJx
…e-plugins into claude/festive-bardeen-m18bqb
…nto claude/festive-bardeen-m18bqb
|
claude-review has reviewed this pull request through e603ec9; a later push is reviewed from there. |
|
Claude finished @kyle-sexton's task in 2m 26s —— View job Code review complete
No findings. This incremental diff (since
Checked for regressions: no other code or test references the old I was not able to execute |
|
Claude finished @kyle-sexton's task in 1m 1s —— View job Security review complete
No security issues found. This increment fixes the two P2 findings Codex raised on the earlier head (
Both changes are validation/reporting-accuracy fixes on an internal config cascade (not a new input surface), and are covered by new/updated tests ( Every other file in this PR was already reviewed at |
…luded The literal-only regex graders missed durations held in custom properties, which motion.md now teaches; llm graders resolve var() before checking the role ceilings. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_019cXAvmoX8JooFkwz4buQJx
|
Claude finished @kyle-sexton's task in 1m 55s —— View job Code review complete
No findings. Since this lane's last completed passes (covering through the
This fixes a real gap: the old Checked for loose ends: no remaining reference anywhere in The two open threads from the earlier Codex/Claude passes on this PR (schema-bounds enforcement and the warnings-channel split) are marked fixed in |
|
Claude finished @kyle-sexton's task in 1m 20s —— View job Security review complete
No security issues found. Scope check. The only content genuinely new on this branch since the last completed security-review pass This carries no security-relevant surface: it's eval-grading criteria read by the eval harness Every other file in this PR (the |

No related issue: a planned integration of an upstream skill set, scoped and approved in session (interview, naming tournament, design, plan).
Summary
This PR reauthors the content of emilkowalski/skills (MIT, pinned at
2d22863) into our own plugins, so it installs through the marketplace instead ofnpx skills add. All of it is generalized to work in any repo, project, organization, language or framework. Where the upstream had React or library specifics, the skills now look up the detected stack's current documentation at run time, and any remaining CSS examples are labeled illustrations.One commit per piece, in plan order:
docs/upstream/emilkowalski-skills.md(pin, attribution table, re-pin procedure), MITLICENSEin user-interface, testing and prototype, and a weekly drift check (check-emilkowalski-drift.shplus one matrix row in the upstream-drift workflow).user-interfacereference and config:reference/animation/: catalog, behaviors, gestures, performance and a glossary.animation:config block: curves as four control points, role durations, a swipe threshold.write-cssnow reads its curves and itsdurationrule from that block. At the defaults a dropdown stays within 250ms, down from 300ms./user-interface:write-animation:/user-interface:audit-animation [tree|opportunities|performance] [--fix]:--fixapplies one finding at a time after a yes.motionconcern becomesanimation-authoring, andanimation-auditis added. The emilkowalski rows are removed andexpo@expo-pluginsis added.detect.mjswarns about team config that names a concern no bundled row has.types/touch-web.mdandcomponent-libraries.md: capability-based touch guidance, and framework-neutral criteria for choosing a component library./testing:run-e2e worst-case [--keep] <target>:cmpsnapshots./bugs:scanLens 5, display formatting and fallbacks: dispatched only for rendering targets. A wrongly rendered value is no longer dropped as a "formatting opinion"./prototype:explore-directionsvariant switcher: a bundled paste-in asset for thefile://mockup that keeps no URL state and runs under the mockup's CSP.Fix
blur_max_pxwas dropped, since no first-party source supports the number.largerole.routingrow ordisableentry namingconcern: motionshould be renamed toanimation-authoring.detect.mjs --confignow warns until it is.css-rule-durationandcss-configured-durationevals now grade with judges that resolvevar(--name)before checking the ceiling. The old regex graders read only literal durations, so they missed the token formmotion.mdteaches.Verification
node --test plugins/user-interface/tests/*.test.mjs: 96/96 pass, including a stale-concern warning test that failed before the fix.bash plugins/user-interface/tests/check-emilkowalski-drift.test.sh: 17 checks pass;actionlint,shellcheckandshfmtare clean.check-skill.sh --require-evalspasses on the user-interface, testing, bugs and prototype skills, andcheck-evals-quality.shpasses on every changedevals.json.validate-cases.py plugins/user-interface/evalsreports no FAIL. Two cases need--allow-toolsto run as intended, following the existingcss-review-modeprecedent:animation-audit-readonly(Edit and Write)css-review-mode(Bash)Local gates pass:
check-changelog-fragments,check-skill-leaf-names,check-skill-count-claims,validate-plugins.sh,generate-cheatsheet --checkand its test,check-orphaned-fixtures, and markdownlint over every changed file.The switcher was driven in headless Chromium under the mockup's CSP. Arrows, number keys, wraparound and the input-focus guard all work, with no console or CSP errors.
A stack-neutrality sweep for framework and library names outside illustration blocks finds nothing in the new content.
Each phase was checked by a fresh-context verifier against binary acceptance criteria. Its findings were fixed before each commit.
Plugin evals, run with
claude plugin eval --scaffold(with plugin vs. no-plugin baseline):animation-write-triggeranimation-write-nonreactanimation-audit-triggeranimation-audit-readonlyanimation-control-no-trigger(sprite walk cycle)css-rule-durationcss-configured-durationRelated
docs/upstream/emilkowalski-skills.mdanimate-expo,ask-sonner,write-swift(recorded as known omissions in the drift check)🤖 Generated with Claude Code
https://claude.ai/code/session_019cXAvmoX8JooFkwz4buQJx
Generated by Claude Code