Agent skill Web motion
Hairline Create
Make interface behavior and feedback feel clear and intentional.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add lucasmarkes/hairline --skill hairline-create --agent claude-code --yesCheck this file in your project.claude/skills/hairline-create/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add lucasmarkes/hairline --skill hairline-createSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. A working folder, a brief for one object, a Node.js runtime for the shipped tools, and a browser for visual checks. No SVG is required.
View operation manualWhat this skill helps with
- Make interface behavior and feedback feel clear and intentional.
Good for
- Interaction and feedback
- Task
- Build one pointer-responsive figure from a card-rack idea
- Requirements
- A working folder, a brief for one object, a Node.js runtime for the shipped tools, and a browser for visual checks. No SVG is required.
- Deliverable
- A figure source named card-rack.js and one self-contained hairline-card-rack.html, with validation and visual review results.
- Skill name
hairline-create- Repository
lucasmarkes/hairline
Prepare a brief you can verify
An underspecified brief
Animate several desk objects and tweak the Hairline renderer until they work.
That makes the concept hard to read and loses the stable reference implementation for the engine and bench.
A result you can check
- Ask for a concept choice when the gesture is open.
- Use the discrete-item example as a structural reference.
- Use real world points and the official validation and browser checks.
Hairline Create operation manual
A figure source named card-rack.js and one self-contained hairline-card-rack.html, with validation and visual review results.
A working folder, a brief for one object, a Node.js runtime for the shipped tools, and a browser for visual checks. No SVG is required.
Pick one gesture before building
Ask for a concept choice when the gesture is open.
Prompt · Step 1Use Lucas Markes’s installed hairline-create Skill and read its SKILL.md first. Read concepts.md. For a small library card rack, propose two or three one-line concepts. For each, state the object, pointer response, read-out and tour stops. Keep the rest silhouette readable and distinguish approaches by one gesture, such as fanning one region of cards. Wait for me to select a concept before writing figure code.Create and assemble the figure source
Use the discrete-item example as a structural reference.
Prompt · Step 2Use Lucas Markes’s installed hairline-create Skill and read its SKILL.md first. Build the selected card rack in card-rack.js. Follow rules.md, the API index at the top of kernel.js and the shape of examples/riffle.js. Work only in the figure file. Use the installed build.mjs from this working folder and confirm hairline-card-rack.html opens as a single file. Return the world points for the answering part and an edge at the slider limits.Make the look sheet and inspect it
Use real world points and the official validation and browser checks.
- The native validator accepts the HTML and the fixed engine and bench are intact.
- A reviewer can identify the object at 240px, see one response, and follow the tour, or the corresponding browser checks are marked pending.
Prompt · Step 3Use Lucas Markes’s installed hairline-create Skill and read its SKILL.md first. From the working folder, use the installed look.mjs with card-rack.js, --answer and --edge set to the world coordinates of this figure. Inspect the sheet at rest, on hover, at 240px, at both slider ends and in both themes. Check the tour in the browser and report what was observed. If the browser is unavailable, run validate.mjs on the built HTML, use the written fallback in look.md and say which visual checks are pending.
Look up this workflow decision
Read the relevant section in the installed Skill.
Choose answer and edge coordinates used by look.mjs.SKILL.md
- Command or reference
1. Concept through 4. Hand over- Examples
- Open look.md and distinguish the figure’s three-coordinate world point from a two-coordinate viewBox point.
Troubleshooting
Does the official look sheet replace a visual review?
It automates checks such as bounds, read-out and console. Inspect the sheet and tour for silhouette, response and stroke weight.