Objective
Initialize the .specify/ directory structure with all necessary templates, scripts, and configuration files to enable Spec-Driven Development in this repository.
Context
Spec-kit uses a specific directory structure under .specify/ that contains:
- Project constitution and memory
- Bash scripts for workflow automation
- Templates for specifications, plans, and tasks
- Agent context files
Reference: spec-kit templates
Implementation Steps
-
Create .specify/ directory structure:
.specify/
├── memory/
│ └── constitution.md
├── scripts/
│ ├── check-prerequisites.sh
│ ├── common.sh
│ ├── create-new-feature.sh
│ ├── setup-plan.sh
│ └── update-agent-context.sh
├── specs/
│ └── .gitkeep
└── templates/
├── plan-template.md
├── spec-template.md
└── tasks-template.md
-
Adapt scripts from spec-kit bash scripts:
- Download and adapt
check-prerequisites.sh for gh-aw environment
- Download and adapt
common.sh with gh-aw specific paths
- Download and adapt
create-new-feature.sh for feature branch management
- Download and adapt
setup-plan.sh for plan initialization
- Download and adapt
update-agent-context.sh for agent instructions
-
Create template files:
spec-template.md - Feature specification template
plan-template.md - Technical implementation plan template
tasks-template.md - Task breakdown template
-
Create initial constitution:
- Create
.specify/memory/constitution.md with gh-aw project principles
- Include references to existing
AGENTS.md and CONTRIBUTING.md
- Define governance for technical decisions in gh-aw context
-
Make scripts executable:
chmod +x .specify/scripts/*.sh
Files to Create/Modify
- Create:
.specify/memory/constitution.md
- Create:
.specify/scripts/check-prerequisites.sh
- Create:
.specify/scripts/common.sh
- Create:
.specify/scripts/create-new-feature.sh
- Create:
.specify/scripts/setup-plan.sh
- Create:
.specify/scripts/update-agent-context.sh
- Create:
.specify/templates/spec-template.md
- Create:
.specify/templates/plan-template.md
- Create:
.specify/templates/tasks-template.md
- Create:
.specify/specs/.gitkeep
Acceptance Criteria
References
AI generated by Plan Command for #5761
Objective
Initialize the
.specify/directory structure with all necessary templates, scripts, and configuration files to enable Spec-Driven Development in this repository.Context
Spec-kit uses a specific directory structure under
.specify/that contains:Reference: spec-kit templates
Implementation Steps
Create
.specify/directory structure:Adapt scripts from spec-kit bash scripts:
check-prerequisites.shfor gh-aw environmentcommon.shwith gh-aw specific pathscreate-new-feature.shfor feature branch managementsetup-plan.shfor plan initializationupdate-agent-context.shfor agent instructionsCreate template files:
spec-template.md- Feature specification templateplan-template.md- Technical implementation plan templatetasks-template.md- Task breakdown templateCreate initial constitution:
.specify/memory/constitution.mdwith gh-aw project principlesAGENTS.mdandCONTRIBUTING.mdMake scripts executable:
chmod +x .specify/scripts/*.shFiles to Create/Modify
.specify/memory/constitution.md.specify/scripts/check-prerequisites.sh.specify/scripts/common.sh.specify/scripts/create-new-feature.sh.specify/scripts/setup-plan.sh.specify/scripts/update-agent-context.sh.specify/templates/spec-template.md.specify/templates/plan-template.md.specify/templates/tasks-template.md.specify/specs/.gitkeepAcceptance Criteria
.specify/directory exists with proper structureReferences
Related to [plan] Integrate GitHub spec-kit for Spec-Driven Development workflow #5767