eliyce/paqad-ai/design-system-sync
Claude Code and agent skill by eliyce/paqad-ai
- community
Checking that the SKILL.md file is still in the repository.
Sync docs/instructions/design-system/* when a token, component, or breakpoint is added to source. Mirror of canonical-doc-sync.
Install
npx vskill@latest install eliyce/paqad-ai/design-system-syncSKILL.md
The same SKILL.md was published earlier as eliyce/paqad-ai/design-system-sync.
What It Does
When a token, component, or breakpoint is added to source (Tailwind theme entry, design-token export, new component file), this skill updates the matching contract clause in docs/instructions/design-system/* so the contract stays in step with reality. Mirror of canonical-doc-sync, scoped to the design system.
Use This When
From the documentation_sync stage of feature-development.yaml whenever the diff touches:
src/design-tokens/**tailwind.config.*src/components/**(added/removed components)- A CSS-in-JS theme provider definition
Also runs during design-test Step 5 when a finding's resolution implies the contract should expand (e.g. a documentation-drift finding noting a token used in code but not declared).
Inputs
- Read the diff (
git diff --name-only HEAD). - Read the current
docs/instructions/design-system/*.mdfiles. - Read
references/sync-rules.md.
Procedure
Proposal generation is deterministic: the scripts produce unified-diff hunks ready for the Decision Pause Contract. The LLM never hand-writes the diff.
- Capture the current diff:
git diff HEAD > /tmp/sync.diff(or read from the workflow's staged diff). - Run
scripts/detect-token-additions.sh /tmp/sync.diff→<key>\t<value>rows for every added token-shaped entry (accepts identifier and quoted-numeric keys; only token-shaped values: hex/px/rem/em). - Pipe those rows into
scripts/propose-tokens-diff.sh→ a unified-diff hunk targetingdocs/instructions/design-system/tokens.md. Surface this hunk to the user via the Decision Pause Contract. - Run
scripts/detect-component-additions.sh /tmp/sync.diff→<Component>\t<source-file>rows for every newly-added component file (uppercase-named, undersrc/components/, not a test/spec/story/barrel/type decl). - Pipe those rows into
scripts/propose-components-diff.sh→ a unified-diff hunk forcomponents.mdwith the default skeleton (variants: TBD, states: default/hover/focus/disabled, composition: TBD). - Never auto-apply. Surface every proposal via the Decision Pause Contract; the user accepts, modifies, or rejects each.
Output Contract
- Match
assets/output.template.md: one proposal block per contract file affected, with the proposed unified diff. - Output is advisory; this skill never emits
## Findings.
Escalate / Stop Conditions
- Ask when a new token replaces an existing one (e.g.
color.primary.500value changes): that's a contract-breaking change, not a sync. - Warn when the diff removes a component that other components depend on per
components.md.
Resources
references/sync-rules.mdscripts/detect-token-additions.sh: extract added token-shaped<key>: '<value>'entries from a unified diff.scripts/detect-component-additions.sh: extract newly-added component files from a unified diff.scripts/propose-tokens-diff.sh: render a unified-diff hunk appending tokens totokens.md.scripts/propose-components-diff.sh: render a unified-diff hunk appending components (with default skeleton) tocomponents.md.scripts/lint-findings.sh: used when sync emits adocumentation-driftfinding inside the design-test workflow.assets/output.template.mdagents/openai.yaml
Security
- Security scanPassed, 96 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingruntime/capabilities/coding/skills/design-system-sync/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/eliyce/paqad-ai/design-system-sync)