// Comprehensive guidance for the AIdev workflow system used for structured software project management with Claude Code. Covers AIdev commands (/constitution, /prd, /plan, /work, /check, /verify, /reflect, /new, /spec), file structure (spec/ directory with constitution, PRD, units), task execution with evidence-based completion, constitutional governance, quality gates, Single Source of Truth principle, Context Discipline, pre-implementation checks, task schema format, automation hooks, template management, and workflow sequences for feature planning and implementation. Use when working with spec/, creating product requirements, designing features, managing tasks, or validating project alignment.
| name | aidev-workflow |
| description | Comprehensive guidance for the AIdev workflow system used for structured software project management with Claude Code. Covers AIdev commands (/constitution, /prd, /plan, /work, /check, /verify, /reflect, /new, /spec), file structure (spec/ directory with constitution, PRD, units), task execution with evidence-based completion, constitutional governance, quality gates, Single Source of Truth principle, Context Discipline, pre-implementation checks, task schema format, automation hooks, template management, and workflow sequences for feature planning and implementation. Use when working with spec/, creating product requirements, designing features, managing tasks, or validating project alignment. |
Provides systematic guidance for managing software projects using Claude Code with structured planning, constitutional governance, and automated quality checks. Navigate the AIdev system and use its commands effectively.
Use this skill when:
Core principles governing the AIdev workflow:
See references/workflow-details.md for detailed explanations and file structure.
Provides bundled resources for understanding and implementing the AIdev system.
Documentation Location: .claude/skills/aidev-workflow/references/
Reference documents are available for loading as needed when this skill is invoked. Access them directly via:
@.claude/skills/aidev-workflow/references/workflow-details.md@.claude/skills/aidev-workflow/references/commands-reference.md@.claude/skills/aidev-workflow/references/execution-framework.mdreferences/workflow-details.md โ Covers comprehensive documentation:
references/commands-reference.md โ Documents commands in detail:
references/execution-framework.md โ Provides implementation guidance for executing workflows
Location: .claude/skills/aidev-workflow/assets/templates/ (single source of truth)
Available templates:
/constitution)/prd)/spec)/new)/plan)Note: The default PRD template is reference-based and lean. Teams may adopt an optional โexpanded PRDโ pattern (Feature Inventory, Current Project State, Critical Path, Document Hierarchy) as documented in references/workflow-details.md and references/commands-reference.md. Keep expanded sections link-first and derive any numbers from automation (state.json, /status).
Edit templates in assets/templates/ only. Commands reference these templates directly from the skill directory. See references/workflow-details.md for template management details.
First-time setup: Run /constitution โ /prd โ /spec
Per-feature: Run /new SLUG โ /plan SLUG โ /work SLUG TK-## โ /verify SLUG
Ongoing: Run /check for validation, /reflect for learnings
See references/workflow-details.md for detailed workflow sequences and references/commands-reference.md for command documentation.
Toggle automation behavior by setting these before running Claude Code:
export ENABLE_TESTS=0 # Disable tests (default)
export ENABLE_TESTS=1 # Enable tests
export ENABLE_AUTOCOMMIT=1 # Auto-commit on task completion (default)
export ENABLE_AUTOCOMMIT=0 # Disable auto-commits
See references/workflow-details.md for full automation documentation.
spec/
โโโ constitution.md # Non-negotiable project principles
โโโ PRD.md # Product requirements (unified document)
โโโ units/###-SLUG/
โโโ design.md # Stable architecture & design intent
โโโ plan.md # Volatile task execution (includes tasks)
.claude/
โโโ skills/aidev-workflow/
โ โโโ SKILL.md # This file
โ โโโ references/ # Detailed documentation
โ โ โโโ workflow-details.md
โ โ โโโ commands-reference.md
โ โ โโโ execution-framework.md
โ โโโ assets/templates/ # Document templates
โโโ logs/
โโโ state.json # AUTO-GENERATED (never edit manually)