Skip to content

Conversation

@r-a-f-a
Copy link

@r-a-f-a r-a-f-a commented Jan 26, 2026

This PR introduces a new optional command that enables teams to create and maintain a comprehensive design system as part of the Spec-Driven Development workflow.

Overview

The design system serves as the single source of truth for visual design, component patterns, and UX guidelines. Teams can now define their UI/UX standards before writing specs, ensuring consistency across all features.

Key Features

  • ✅ Create design system from scratch with guided questions
  • ✅ Update existing design systems with semantic versioning
  • ✅ Validate alignment with project constitution
  • ✅ Document colors, typography, spacing, components, and UX patterns
  • ✅ Generate visual documentation with Mermaid diagrams
  • ✅ Specify tech stack (Tailwind, shadcn/ui, component libraries)
  • ✅ Include accessibility standards (WCAG AA/AAA)
  • ✅ Handoff integration with /speckit.specify and /speckit.plan

Changes

  • Add templates/commands/designsystem.md (command workflow - 341 lines)
  • Add templates/design-system-template.md (detailed template - 907 lines)
  • Update README.md (command documentation)
  • Update spec-driven.md (workflow integration)
  • Update templates/spec-template.md (design system reference)
  • Update templates/plan-template.md (design system reference)
  • Bump version to 0.0.91 in src/specify_cli/__init__.py

Agent Support

The command is automatically generated for all 18 supported AI agents:

  • 15 agents using Markdown format (Claude, Cursor, Copilot, opencode, Windsurf, Codex, Kilo, Auggie, Roo, CodeBuddy, Amp, SHAI, Q Developer, Bob, Qoder)
  • 2 agents using TOML format (Gemini, Qwen)
  • 1 agent via AGENTS.md (Jules)

No additional configuration required - the existing build system automatically processes the new command.

Testing

  • ✅ Markdown generation validated (341 lines, 6 path substitutions)
  • ✅ TOML generation validated (332 lines, 6 path substitutions)
  • ✅ Manual test in Cursor (command functional)
  • ✅ All path substitutions working correctly
  • ✅ Frontmatter processing verified

Breaking Changes

None. This is a completely new optional command that doesn't affect existing functionality.

Workflow Integration

The command fits into the Spec-Driven Development workflow as:

  1. /speckit.constitution - Define project principles
  2. /speckit.designsystem - ⭐ NEW: Define design system (optional)
  3. /speckit.specify - Create feature specs (now can reference design system)
  4. /speckit.plan - Create implementation plans (aligned with design system)
  5. /speckit.tasks - Generate tasks
  6. /speckit.implement - Execute implementation

This commit introduces a new optional command that enables teams to
create and maintain a comprehensive design system as part of the
Spec-Driven Development workflow. The design system serves as the
single source of truth for visual design, component patterns, and
UX guidelines.

Key features:
- Create design system from scratch with guided questions
- Update existing design systems with semantic versioning
- Validate alignment with project constitution
- Document colors, typography, spacing, components, and UX patterns
- Generate visual documentation with Mermaid diagrams
- Specify tech stack (Tailwind, shadcn/ui, component libraries)
- Include accessibility standards (WCAG AA/AAA)
- Handoff integration with /speckit.specify and /speckit.plan

The command is automatically generated for all 18 supported AI agents
(15 Markdown, 2 TOML, 1 via AGENTS.md) through the existing build
system without requiring any additional configuration.

Changes:
- Add templates/commands/designsystem.md (command workflow)
- Add templates/design-system-template.md (detailed template)
- Update README.md (command documentation)
- Update spec-driven.md (workflow integration)
- Update templates/spec-template.md (design system reference)
- Update templates/plan-template.md (design system reference)
- Bump version to 0.0.91 in src/specify_cli/__init__.py

All agents tested and validated. No breaking changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant