Initialize design intent project structure with templates for memory, specs, and design patterns
Initialize design intent structure with smart auto-detection. Use this to set up SDD templates for new projects or add workflow to existing codebases.
/plugin marketplace add joaquimscosta/arkhe-claude-plugins/plugin install design-intent@arkhe-claude-pluginsPurpose: Initialize the Design Intent for SDD (Spec-Driven Development) structure in your project with smart auto-detection
Usage: /setup
your-project/
├── design-intent/
│ ├── memory/
│ │ ├── constitution.md # Core development principles
│ │ ├── team-roles.md # AI/User collaboration expectations
│ │ └── project-vision.md # Your project overview (template)
│ ├── specs/
│ │ └── 000-template/
│ │ ├── feature-spec.md # Feature specification template
│ │ └── implementation-plan.md # Implementation plan template
│ ├── patterns/
│ │ └── design-intent-template.md # Pattern documentation template
│ └── diary/
│ └── session-template.md # Session diary template
If design-intent/ directory already exists, offer incremental update:
Design Intent structure already exists.
What would you like to update?
1. Project vision (preserve customizations)
2. Constitution (merge new framework guidance)
3. Team roles (update MCP capabilities)
4. All templates (reset to defaults)
5. Cancel
Analyze the project to auto-detect configuration:
From package.json:
From README.md:
From .mcp.json:
From existing code:
Present each detection individually for confirmation:
## Project Configuration
Detected: Fluent UI v9 - use this as design system? (Y/n)
Detected: React 18 + TypeScript - configure for this? (Y/n)
Detected: Enterprise dashboard - confirm project type? (Y/n)
Detected: Figma MCP available - enable integration? (Y/n)
When detection fails, prompt with options:
Could not detect design system. Which are you using?
1. Fluent UI
2. Material UI
3. Chakra UI
4. Tailwind CSS
5. Other (specify)
Could not determine project type. What best describes your project?
1. Enterprise dashboard
2. Consumer application
3. Internal tool
4. Marketing site
5. Other (specify)
mkdir -p design-intent/memory
mkdir -p design-intent/specs/000-template
mkdir -p design-intent/patterns
mkdir -p design-intent/diary
Based on confirmed settings, customize each template:
project-vision.md:
git config user.nameconstitution.md:
team-roles.md:
## Design Intent Setup Complete
### Detected Configuration
- Design System: Fluent UI v9
- Framework: React 18 + TypeScript
- Project Type: Enterprise dashboard
- MCP Servers: Figma, Fluent Pilot
### Files Created
✓ design-intent/memory/constitution.md (customized for React + Fluent UI)
✓ design-intent/memory/team-roles.md (MCP-aware)
✓ design-intent/memory/project-vision.md (pre-filled from README)
✓ design-intent/specs/000-template/ (spec templates)
✓ design-intent/patterns/design-intent-template.md
✓ design-intent/diary/session-template.md
### Next Steps
1. Review: design-intent/memory/constitution.md
2. Refine: design-intent/memory/project-vision.md (add specifics)
3. Start: /feature [your first feature]
The templates are sourced from the plugin's templates/ directory. Do not modify these - they serve as the canonical source. Customize the copies in your project.
When run on an existing project, /setup intelligently handles updates:
When auto-detection cannot determine a setting:
| Setting | Fallback Behavior |
|---|---|
| Design System | Prompt with common options (Fluent, Material, Chakra, Tailwind) |
| Framework | Prompt with common options (React, Vue, Angular, Next.js) |
| Project Type | Prompt with common options (Enterprise, Consumer, Internal, Marketing) |
| MCP Servers | Skip MCP-specific customizations |
Enterprise Dashboard:
Consumer Application:
React + TypeScript:
Next.js: