Agent skill Frontend
Design System
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 buildgreatproducts/builder-os --skill design-system --agent claude-code --yesCheck this file in your project.claude/skills/design-system/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add buildgreatproducts/builder-os --skill design-systemSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. An original or authorized reference screenshot, approved core visual roles, and writable local docs paths.
View operation manualWhat this skill helps with
- Establish reusable styling and design decisions across web screens.
Good for
- Design tokens and shared styles
- Task
- Turn an approved original screenshot into matching design-system artifacts
- Requirements
- An original or authorized reference screenshot, approved core visual roles, and writable local docs paths.
- Deliverable
- A YAML-and-prose docs/design.md source plus a matching self-contained docs/design.html preview.
- Skill name
design-system- Repository
buildgreatproducts/builder-os
Make the design workflow verifiable
An underspecified brief
Collect colors from a screenshot and write two independent style guides.
The Markdown establishes the approved token values and the HTML mirrors them for visual review. Independent edits cause drift.
A result you can check
- Establish the primary image, product roles and estimates.
- Keep the source of truth machine-readable and the design rationale unambiguous.
- Use the matching values and compare a representative component in the browser.
BuilderOS Design System operation manual
A YAML-and-prose docs/design.md source plus a matching self-contained docs/design.html preview.
An original or authorized reference screenshot, approved core visual roles, and writable local docs paths.
Read the screenshot and capture visible design decisions
Establish the primary image, product roles and estimates.
Prompt · Step 1Use BuilderOS’s installed design-system Skill and read its SKILL.md first. Use [authorized original workshop screenshot] as the visual anchor. Summarize observed palette, type hierarchy, spacing, corner and surface choices. Mark estimated font or pixel values and confirm the important role choices. Read any existing docs/design.md and docs/design.html before proposing a narrow update or new files.Write the confirmed YAML and prose source
Keep the source of truth machine-readable and the design rationale unambiguous.
Prompt · Step 2Use BuilderOS’s installed design-system Skill and read its SKILL.md first. Using [confirmed roles and scope], produce docs/design.md with the installed schema’s YAML token block and the canonical prose sections. Include the actual color role, type scale, spacing and radius values plus the approved component states. Check token references and unresolved estimates, and keep the approved copy and assets.Mirror the source into an offline HTML guide
Use the matching values and compare a representative component in the browser.
- YAML references resolve and the prose distinguishes approved values from visual estimates.
- The offline HTML renders the matching token values and the representative component state.
Prompt · Step 3Use BuilderOS’s installed design-system Skill and read its SKILL.md first. Generate docs/design.html from the confirmed Markdown values as a self-contained preview. Show the palette, type, spacing and approved component specimens. Open it offline and compare a section’s computed color, spacing and radius to the YAML. Test a phone and desktop width. Report any value that still differs or is only an estimate.
Look up this workflow decision
Read the relevant section in the installed Skill.
The HTML mirror conflicts with the MarkdownSKILL.md
- Command or reference
Step 6: Build the design.html mirror- Examples
- Correct the approved Markdown source, regenerate the HTML and compare the rendered values again.
Troubleshooting
Does a screenshot reveal the original font name?
It is evidence for the visual proportions. Confirm the actual font from authorized source material or clearly mark an estimate.