Agent skill
ss-tokens
Install this agent skill to your Project
npx add-skill https://github.com/bitjaru/styleseed/tree/main/engine/.claude/skills/ss-tokens
SKILL.md
Design Token Manager
Action: $0 | Token type: $1 Arguments: $ARGUMENTS
Token File Locations
| Type | JSON Source | CSS Implementation |
|---|---|---|
| Colors | tokens/colors.json |
css/theme.css :root + @theme inline |
| Typography | tokens/typography.json |
css/fonts.css + css/base.css |
| Spacing | tokens/spacing.json |
Tailwind utilities (no custom CSS needed) |
| Radius | tokens/radii.json |
css/theme.css @theme inline |
| Shadows | tokens/shadows.json |
css/theme.css :root |
Instructions
list — Show current tokens
Read and display the requested token file in a formatted table.
add — Add new token
- Add the token to the JSON source file (
tokens/*.json) - Add the CSS custom property to
css/theme.cssunder:root - If it needs a Tailwind utility, add to the
@theme inlineblock - If it has a dark mode variant, add to the
.darkblock
update — Modify existing token
- Update the value in the JSON source file
- Update the CSS custom property in
theme.css - Check all components for direct usage that might need updating
Rules
- Always keep JSON and CSS in sync
- Use semantic names, not descriptive names (
--successnot--green-500) - Colors should support both light and dark modes
- New tokens must be added to BOTH the JSON source AND the CSS implementation
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
ss-a11y
Audit a component or page for accessibility issues and fix them
ss-lint
Quick automated lint — detects common design system violations in seconds
ss-page
ss-update
Update StyleSeed engine in your project — analyzes what's outdated and updates safely
ss-feedback
Add appropriate user feedback states (loading, success, error, empty) to a component or page
ss-pattern
Didn't find tool you were looking for?