원클릭으로
speckit-brownfield-bootstrap
Generate spec-kit configuration tailored to the existing codebase
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Generate spec-kit configuration tailored to the existing codebase
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Think before building. Use when the user asks to reason about, analyze, evaluate, compare options, make an architecture decision, choose between approaches, think through a problem, or assess trade-offs. Also use when the user asks 'why did we...', 'should we...', 'what are our options', 'is this the right approach', or wants to frame/reframe a problem.
Archive a feature specification into main project memory after merge, resolving gaps and conflicts
Incrementally adopt SDD for existing features with reverse-engineered specs
Auto-discover project structure, tech stack, frameworks, and architecture patterns
Verify bootstrap output matches actual project structure and conventions
Populate GitHub Project from specs/*/tasks.md. Creates one draft issue per feature with a markdown task list. Skips features already in the project. Safe to re-run.
| name | speckit-brownfield-bootstrap |
| description | Generate spec-kit configuration tailored to the existing codebase |
| compatibility | Requires spec-kit project structure with .specify/ directory |
| metadata | {"author":"github-spec-kit","source":"brownfield:commands/speckit.brownfield.bootstrap.md"} |
Generate a customized spec-kit configuration for an existing codebase. Uses the project profile from /speckit.brownfield.scan (or performs a scan if none exists) to create a constitution, templates, and agent configuration that match the project's actual architecture, tech stack, and conventions.
$ARGUMENTS
You MUST consider the user input before proceeding (if not empty). The user may specify preferences (e.g., "strict TDD", "minimal constitution"), a target directory for a monorepo module, or request specific template customizations.
.specify/ directory (run specify init first if missing)Load or generate project profile: Check if /speckit.brownfield.scan has been run:
Generate constitution: Create .specify/memory/constitution.md tailored to the project:
The constitution MUST include:
client/, backend in server/")The constitution MUST NOT:
Customize spec template: Modify .specify/templates/spec-template.md to reflect the project:
Customize plan template: Modify .specify/templates/plan-template.md to reflect the project:
Customize tasks template: Modify .specify/templates/tasks-template.md to reflect the project:
npm test, pytest, go test ./...)Generate AGENTS.md (if multi-module): For monorepos and multi-module projects:
Present changes: Show the user what will be created or modified:
# Bootstrap Plan
| File | Action | Description |
|------|--------|-------------|
| `.specify/memory/constitution.md` | Create | Project-specific constitution with detected conventions |
| `.specify/templates/spec-template.md` | Modify | Add project-specific sections (Database Migrations, API Contract) |
| `.specify/templates/plan-template.md` | Modify | Add module-aware phases (frontend, backend, shared) |
| `.specify/templates/tasks-template.md` | Modify | Add actual test commands and build steps |
| `AGENTS.md` | Create | Agent boundaries for frontend and backend modules |
Proceed with bootstrap? (confirm before writing)
Execute bootstrap: After user confirmation, write all files.
Report:
# Bootstrap Complete
| Artifact | Status |
|----------|--------|
| Constitution | ✅ Created — 12 rules from detected conventions |
| Spec template | ✅ Customized — added Database Migrations, API Contract sections |
| Plan template | ✅ Customized — frontend/backend phase split |
| Tasks template | ✅ Customized — actual test commands included |
| AGENTS.md | ✅ Created — 2 agents (frontend, backend) |
## Next Steps
- Review `.specify/memory/constitution.md` and adjust any rules
- Run `/speckit.brownfield.validate` to verify configuration matches project
- Run `/speckit.brownfield.migrate` to reverse-engineer specs for existing features
- Start new features with `/speckit.specify` — templates are now project-aware
.specify/ already has customizations, merge rather than replace