Agent skill Frontend
Design System Patterns
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/wshobson/agents/tree/main/plugins/ui-design/skills/design-system-patterns --skill design-system-patterns --agent claude-code --yesCheck this file in your project.claude/skills/design-system-patterns/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add https://github.com/wshobson/agents/tree/main/plugins/ui-design/skills/design-system-patterns --skill design-system-patternsSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Bring a coding assistant with project access, a local preview, test data and the tools needed for the exercise.
View operation manualWhat this skill helps with
- Establish reusable styling and design decisions across web screens.
Good for
- Design tokens and shared styles
- Exercise
- Move one component onto semantic design tokens
- Inputs
- A current component, token files and the supported themes
- Acceptance
- Check normal, hover, focus and invalid states under each supported theme. Trace each token through its alias to the rendered value and report which behavior you actually checked.
- Skill name
design-system-patterns- Repository
wshobson/agents
Give the assistant a target, conditions and an acceptance action
Open-ended request
Review the whole website and fix anything you see.
The prompt does not define a target, test conditions or a verifiable outcome.
A scoped pilot
- Move one component onto semantic design tokens
- A current component, token files and the supported themes
Design System Patterns operation manual
Move one component onto semantic design tokens
A current component, token files and the supported themes
Confirm the surface and scope
A current component, token files and the supported themes
Prompt · Step 1Use wshobson’s design-system-patterns and read the installed SKILL.md. Scope the work to [Target project and local route]. For [Component], trace its raw colors and spacing to primitive, semantic and component roles in the project. Compare the publisher’s token layering patterns with the existing theme files.Follow the installed workflow
Move one component onto semantic design tokens
Prompt · Step 2Use wshobson’s design-system-patterns and read the installed SKILL.md. Scope the work to [Target project and local route]. Draft concrete aliases for [Chosen component roles]. Preview one theme-aware use and preserve current component API, keyboard interactions and states. Mark missing tokens instead of assigning arbitrary colors.Validate with reproducible steps
Check normal, hover, focus and invalid states under each supported theme. Trace each token through its alias to the rendered value and report which behavior you actually checked.
Prompt · Step 3Use wshobson’s design-system-patterns and read the installed SKILL.md. Scope the work to [Target project and local route]. Check normal, hover, focus and invalid states under each supported theme. Trace each token through its alias to the rendered value and report which behavior you actually checked.
Look up a specific workflow question
Tie each result to an actual surface, interaction, or source location.
Identify the right inputsSKILL.md
- Command or reference
Move one component onto semantic design tokens- Examples
- A current component, token files and the supported themes
Check real evidenceVerify
- Command or reference
Move one component onto semantic design tokens- Examples
- Check normal, hover, focus and invalid states under each supported theme. Trace each token through its alias to the rendered value and report which behavior you actually checked.
Troubleshooting and FAQ
What can I do with source access alone?
Review the implementation, cite evidence and list the required environment. Leave interaction claims pending where you cannot run them.
How do I confirm the task is complete?
Check normal, hover, focus and invalid states under each supported theme. Trace each token through its alias to the rendered value and report which behavior you actually checked.