Add /speckit.designsystem command for design system management #1526
+1,381
−5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Changes
templates/commands/designsystem.md(command workflow - 341 lines)templates/design-system-template.md(detailed template - 907 lines)README.md(command documentation)spec-driven.md(workflow integration)templates/spec-template.md(design system reference)templates/plan-template.md(design system reference)src/specify_cli/__init__.pyAgent Support
The command is automatically generated for all 18 supported AI agents:
No additional configuration required - the existing build system automatically processes the new command.
Testing
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:
/speckit.constitution- Define project principles/speckit.designsystem- ⭐ NEW: Define design system (optional)/speckit.specify- Create feature specs (now can reference design system)/speckit.plan- Create implementation plans (aligned with design system)/speckit.tasks- Generate tasks/speckit.implement- Execute implementation