Agent skill Review & testing
Frontend Design
Review the accessibility of visible web interface elements and interactions.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add https://github.com/jwynia/agent-skills/tree/main/skills/tech/frontend/design/frontend-design --skill frontend-design --agent claude-code --yesCheck this file in your project.claude/skills/frontend-design/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add https://github.com/jwynia/agent-skills/tree/main/skills/tech/frontend/design/frontend-design --skill frontend-designSelect 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 local CSS file or scoped directory, plus Deno and access to its standard-library JSR dependencies on first run.
View operation manualWhat this skill helps with
- Review the accessibility of visible web interface elements and interactions.
Good for
- Accessible interfaces
- Task
- Inventory colors and existing CSS tokens before a local theme cleanup
- Requirements
- One local CSS file or scoped directory, plus Deno and access to its standard-library JSR dependencies on first run.
- Deliverable
- A read-only style analysis, current CSS custom-property export and an evidence-based consolidation proposal.
- Skill name
frontend-design- Repository
jwynia/agent-skills
Start from the actual design decision
An underspecified request
Replace every similar-looking color with one global token.
A near match can carry a distinct status or interaction meaning, and parser output does not show every rendered role.
A result you can check
- Choose one stylesheet region and keep the source read-only.
- Keep raw style counts distinct from declared token values.
- Look at selectors and meaning before proposing changes.
Jwynia Frontend Design operation manual
A read-only style analysis, current CSS custom-property export and an evidence-based consolidation proposal.
One local CSS file or scoped directory, plus Deno and access to its standard-library JSR dependencies on first run.
Narrow the theme audit
Choose one stylesheet region and keep the source read-only.
Prompt · Step 1Use jwynia’s installed frontend-design Skill and read its SKILL.md first. Use Analyze mode for [local theme stylesheet]. Confirm Deno resolves the installed scripts’ standard-library imports and identify the CSS sources for the widget, its states and tokens. Limit the Deno reads to the local sources needed for this audit.Run the two shipped read-only tools
Keep raw style counts distinct from declared token values.
Prompt · Step 2Use jwynia’s installed frontend-design Skill and read its SKILL.md first. From the working folder run deno run --allow-read [installed skill]/scripts/analyze-styles.ts [styles.css] --format summary, then deno run --allow-read [installed skill]/scripts/extract-tokens.ts [styles.css] --format css. Return the dominant colors, font and spacing patterns and exported custom properties.Check whether similar colors are candidates for consolidation
Look at selectors and meaning before proposing changes.
- Both script outputs are tied to the same input, and proposed consolidation cites roles and selectors instead of similarity alone.
Prompt · Step 3Use jwynia’s installed frontend-design Skill and read its SKILL.md first. Pick two similar output values. Trace their actual CSS selectors and what each represents on the widget. Propose one safe consolidation only if both carry the same role. Note candidates that require rendered checks, retain the source unchanged, and give the exact file references.
Find the relevant source guidance
Read the cited section in your installed Skill.
Inventory colors and existing CSS tokens before a local theme cleanupSKILL.md
- Command or reference
Analyze Mode- Examples
- Both script outputs are tied to the same input, and proposed consolidation cites roles and selectors instead of similarity alone.
Troubleshooting
Does the CSS export identify every hardcoded value as a token?
The style report inventories raw values. The CSS token export reflects declared values that the extractor recognizes, so review those outputs together.