Agent skill Frontend
Design To Code
Connect design references and design tools to frontend implementation.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add https://github.com/Atharvsinh-codez/skills/tree/main/design-to-code --skill design-to-code --agent claude-code --yesCheck this file in your project.claude/skills/design-to-code/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add https://github.com/Atharvsinh-codez/skills/tree/main/design-to-code --skill design-to-codeSelect 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 user-owned dispatch-board mockup, authorized source assets and content, its intended viewport, and the existing frontend project.
View operation manualWhat this skill helps with
- Connect design references and design tools to frontend implementation.
Good for
- Design handoff
- Task
- Implement an owned desktop dispatch mockup and resolve its phone layout
- Requirements
- A user-owned dispatch-board mockup, authorized source assets and content, its intended viewport, and the existing frontend project.
- Deliverable
- A responsive board in the existing stack, with a fidelity contract, asset decisions, and rendered comparison.
- Skill name
design-to-code- Repository
Atharvsinh-codez/skills
Start from the actual design decision
An underspecified request
Match this desktop picture exactly on every screen.
One screenshot establishes one viewport and state. It gives no direct evidence of phone layout and hidden interactions.
A result you can check
- Set ownership, scope, viewport and asset availability.
- Preserve task behavior and recompose the phone layout.
- Share the discrepancies and the state checks.
Design To Code operation manual
A responsive board in the existing stack, with a fidelity contract, asset decisions, and rendered comparison.
A user-owned dispatch-board mockup, authorized source assets and content, its intended viewport, and the existing frontend project.
Choose the mode and capture reference evidence
Set ownership, scope, viewport and asset availability.
Prompt · Step 1Use Atharvsinh-codez’s installed design-to-code Skill and read its SKILL.md first. Use reference reconstruction on the [owned dispatch board capture] for the operational surface. Inspect the image itself and the current repo. Take inventory of geometry, hierarchy, text and permitted assets. Record observed details separately from the phone layout you infer or any asset you substitute. Agree which states and interactions are in scope.Implement the authorized composition
Preserve task behavior and recompose the phone layout.
Prompt · Step 2Use Atharvsinh-codez’s installed design-to-code Skill and read its SKILL.md first. Build the board using the existing project primitives. Follow the reference for the observed viewport and content. Define a reasoned phone stacking order and use only the supplied approved assets or clearly documented substitutions. Keep labels, selection and empty states accessible and use semantic controls.Compare rendered results and correct visible differences
Share the discrepancies and the state checks.
- The comparison uses the same visible state and viewport, labels phone assumptions and separates observed, inferred and substituted details.
Prompt · Step 3Use Atharvsinh-codez’s installed design-to-code Skill and read its SKILL.md first. Run the project’s actual preview and validation commands. Capture the same viewport, theme and state as the supplied frame, compare alongside it and fix the highest-impact geometry and typography deviations. Render the phone layout and exercise selection and empty states. Report residual differences and the exact checks performed.
Find the relevant source guidance
Read the cited section in your installed Skill.
Implement an owned desktop dispatch mockup and resolve its phone layoutSKILL.md
- Command or reference
Dispatch before acting and Run mandatory rendered verification- Examples
- The comparison uses the same visible state and viewport, labels phone assumptions and separates observed, inferred and substituted details.
Troubleshooting
Can one desktop image establish mobile fidelity?
It establishes the desktop sample. A matching mobile reference establishes mobile fidelity, while an inferred mobile layout can be verified for usability.