Agent skill Web motion
Hairline Adopt
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-adopt --agent claude-code --yesCheck this file in your project.claude/skills/hairline-adopt/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add lucasmarkes/hairline --skill hairline-adoptSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. One authorized SVG, the installed Hairline Create companion Skill, Node.js for the shipped reader and builder, and a browser to make a source preview and run visual checks.
View operation manualWhat this skill helps with
- Make interface behavior and feedback feel clear and intentional.
Good for
- Interaction and feedback
- Task
- Rebuild an owned mailbox SVG as an interactive line figure
- Requirements
- One authorized SVG, the installed Hairline Create companion Skill, Node.js for the shipped reader and builder, and a browser to make a source preview and run visual checks.
- Deliverable
- An SVG measurement card and a new single-file figure that retains the mailbox’s recognizable parts and proportions, with a source comparison.
- Skill name
hairline-adopt- Repository
lucasmarkes/hairline
Prepare a brief you can verify
An underspecified brief
Animate the existing SVG paths on hover.
The original outlines are useful for recognition and proportions. The interactive figure is built from solids so the new pose has depth, occlusion and a consistent pointer response.
A result you can check
- Check the original drawing and the shape card.
- Carry the approved source interpretation into the interaction.
- Check the original silhouette alongside rest and answering states.
Hairline Adopt operation manual
An SVG measurement card and a new single-file figure that retains the mailbox’s recognizable parts and proportions, with a source comparison.
One authorized SVG, the installed Hairline Create companion Skill, Node.js for the shipped reader and builder, and a browser to make a source preview and run visual checks.
Read one source and settle its identity
Check the original drawing and the shape card.
Prompt · Step 1Use Lucas Markes’s installed hairline-adopt Skill and read its SKILL.md first. Use Hairline Adopt with [field-mailbox.svg] and delegate to the installed Hairline Create Skill. Read the file with its read.mjs and consult source.md. Identify the housing, door and post using the source card and preview if available, then say which proportions must survive. If any part is ambiguous, wait for my confirmation before building.Rebuild the recognizable parts as solids
Carry the approved source interpretation into the interaction.
Prompt · Step 2Use Lucas Markes’s installed hairline-adopt Skill and read its SKILL.md first. Recreate the approved mailbox as an isometric figure. Keep its housing, door and post in their measured relationships. The pointer should lift the door slightly near the door and fall back to rest after leaving. Build new rounded solids in field-mailbox.js using Hairline Create, and record its operating world points before assembly.Compare the source and the new figure in the browser
Check the original silhouette alongside rest and answering states.
- The side-by-side source and rest comparison preserves the housing, door and post and their measured relationships.
- The new response stays legible, fits in the viewBox at tested extremes, and is reported against the built HTML.
Prompt · Step 3Use Lucas Markes’s installed hairline-adopt Skill and read its SKILL.md first. Use Hairline Create’s look.mjs with field-mailbox.js, --source [field-mailbox.svg], and the new figure’s --answer and --edge coordinates. Compare source to rest, including housing width and door position. Test the pointer response and check that the parts stay in frame. Hand over hairline-field-mailbox.html and report any source or browser checks you could not complete.
Look up this workflow decision
Read the relevant section in the installed Skill.
Read what the source card measures and what to preserve.SKILL.md
- Command or reference
What it needs- Examples
- Open source.md inside Hairline Create before translating two-dimensional proportions to solids.
Troubleshooting
Can I supply several SVGs at once?
Pick one file for the first figure. The Skill reads and interprets one source per interactive figure.