Agent skill Frontend
Design First UI Prompting
Establish reusable styling and design decisions across web screens.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add https://github.com/MengTo/Skills/tree/main/agent-skills/ui/design-first-ui-prompting --skill design-first-ui-prompting --agent claude-code --yesCheck this file in your project.claude/skills/design-first-ui-prompting/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add https://github.com/MengTo/Skills/tree/main/agent-skills/ui/design-first-ui-prompting --skill design-first-ui-promptingSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Use the bundled preview image and written guidance. The upstream HTML preview could not load its runtime in the local browser check.
View operation manualWhat this skill helps with
- Establish reusable styling and design decisions across web screens.
Good for
- Design tokens and shared styles
- Source instructions
- SKILL.md in the installed package.
- Reference
- demo/preview.jpg · demo/PROMPT.md
- Inputs to specify
- Original public orchard volunteer brief with exact copy, one primary action, one type scale, safe margins and two variants that differ only by crop.
- What to verify
- Compare both rendered variants against the written format, hierarchy, type and copy constraints. Record the single visual difference and verify the signup action in each.
- Skill name
design-first-ui-prompting- Repository
MengTo/Skills
Start with one behavior you can verify
Open-ended request
Use design-first-ui-prompting and make this page look better.
It leaves the target, assets and expected behavior unstated. A working reference also needs to be tested separately from the implementation in your project.
A concrete starting point
- Open the reference and read the Skill’s implementation instructions.
- Identify the exact target and decide how to handle Original public orchard volunteer brief with exact copy, one primary action, one type scale, safe margins and two variants that differ only by crop..
- Review the new implementation on the target route.
Design First UI Prompting operation manual
Inspect the included preview, adapt the documented technique to one target, and check the implementation in your own project.
Set aside [Local test route] and decide what to provide for Original public orchard volunteer brief with exact copy, one primary action, one type scale, safe margins and two variants that differ only by crop..
Open the installed reference image
The bundled example gives you a visual reference for the choices described in the Skill.
- The image and written design guidance are available.
Prompt · Step 1Use Meng To’s design-first-ui-prompting Skill. Locate its installed folder, read SKILL.md, demo/PROMPT.md and open demo/preview.jpg as an image. Review the documented principles for [Original project]. Report relevant layout or visual choices and keep the design original. Use the image and written brief for this step.Apply the technique to one target
Tell the assistant what to use for Original public orchard volunteer brief with exact copy, one primary action, one type scale, safe margins and two variants that differ only by crop..
- The change is visible on the local route.
- You can identify where the project inputs are set.
Prompt · Step 2Continue with the installed design-first-ui-prompting Skill and its SKILL.md. Work on [Local test route] in [Project directory]. Use [Your values or decisions for Original public orchard volunteer brief with exact copy, one primary action, one type scale, safe margins and two variants that differ only by crop.] and [Authorized assets or constraints]. Implement the documented technique in the project’s current stack, following the Skill’s actual dependency and asset requirements. Keep the change within [Target area]. Show the local route and where the approved inputs are set.Test the implementation in context
Compare both rendered variants against the written format, hierarchy, type and copy constraints. Record the single visual difference and verify the signup action in each.
- Compare both rendered variants against the written format, hierarchy, type and copy constraints. Record the single visual difference and verify the signup action in each.
- Report checks run and any unverified behavior.
Prompt · Step 3Open [Local test route] at [Desktop and narrow viewport sizes] and run the project’s relevant checks. Compare both rendered variants against the written format, hierarchy, type and copy constraints. Record the single visual difference and verify the signup action in each. Test input or reduced motion where relevant to this Skill. Review surrounding layout and controls for regressions. Report what actually worked, the file or setting that controls it, and anything you could not test.
Look up a specific implementation problem
Use the implementation details and your own preview to narrow the issue.
Find where to adapt the exampleInputs
- Command or reference
Original public orchard volunteer brief with exact copy, one primary action, one type scale, safe margins and two variants that differ only by crop.- Examples
- Compare both rendered variants against the written format, hierarchy, type and copy constraints. Record the single visual difference and verify the signup action in each.
Check the bundled referencePreview image
- Command or reference
demo/preview.jpg- Examples
- Open demo/preview.jpg as an image and review SKILL.md, demo/PROMPT.md for design intent.
Troubleshooting and FAQ
What if I can open the Skill but the example looks different?
Use SKILL.md, demo/PROMPT.md to identify assets, routes and runtime requirements. Record exactly which feature you could see before carrying the approach into your project.
Is a working demo enough to verify my implementation?
Test your project’s geometry, visuals and controls on the actual route. The bundled page primarily gives you a reference.