d2c-guard

Installation
SKILL.md

Design System Aware Code Generation

Trigger condition: This skill activates when ANY component file inside src/ or app/ is being created or modified, AND .claude/d2c/design-tokens.json exists.

Component file extensions by framework (read framework from design-tokens.json):

  • react / solid: .tsx, .jsx
  • vue: .vue
  • svelte: .svelte
  • angular: .component.ts
  • astro: .astro
  • If framework field is missing, default to .tsx/.jsx (React).

Non-negotiables

These rules hold across every phase of this skill. No exceptions.

Related skills
Installs
7
Repository
d2c-ai/d2c
GitHub Stars
2
First Seen
Apr 11, 2026