Update skills
Already have a SKILL.md file? Update specific sections without starting over:
npx typeui.sh update
The CLI reads your existing managed content, asks which fields you want to change, and rewrites only those sections.
How it works
- The CLI finds existing
SKILL.mdfiles in your project (any provider paths that were previously generated) - It reads the managed block — the content between
<!-- TYPEUI_SH_MANAGED_START -->and<!-- TYPEUI_SH_MANAGED_END --> - You select which sections to update (e.g. colors, typography, components)
- The CLI prompts you for new values on those sections only
- It rewrites the managed block, leaving everything else untouched
Any content you've added outside the managed block is preserved.
Preview changes
Use --dry-run to see what would change without writing anything:
npx typeui.sh update --dry-run
Target specific providers
Skip the interactive provider picker:
npx typeui.sh update --providers cursor,codex
The universal target .agents/skills/design-system/SKILL.md is always included.
When to use update vs generate
| Scenario | Command |
|---|---|
| Starting fresh, no existing files | generate |
| Changing your brand colors | update |
| Adding new component families | update |
| Switching to a completely different design direction | generate |
| Tweaking typography or spacing | update |
Use generate when you want a clean start. Use update when you want to iterate on what you already have.