원클릭으로
speckit-brownfield-validate
Verify bootstrap output matches actual project structure and conventions
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Verify bootstrap output matches actual project structure and conventions
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
Generate spec-kit configuration tailored to the existing codebase
Incrementally adopt SDD for existing features with reverse-engineered specs
Auto-discover project structure, tech stack, frameworks, and architecture patterns
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-validate |
| description | Verify bootstrap output matches actual project structure and conventions |
| compatibility | Requires spec-kit project structure with .specify/ directory |
| metadata | {"author":"github-spec-kit","source":"brownfield:commands/speckit.brownfield.validate.md"} |
Verify that the spec-kit configuration generated by /speckit.brownfield.bootstrap accurately reflects the actual project structure, conventions, and architecture. Reports mismatches and suggests corrections.
$ARGUMENTS
You MUST consider the user input before proceeding (if not empty). The user may specify a focus area (e.g., "only constitution", "only templates") or request verbose output.
.specify/ directoryValidate constitution: Check .specify/memory/constitution.md against the actual codebase:
| Check | How |
|---|---|
| Language references | Verify mentioned languages actually exist in the codebase |
| Directory references | Verify all referenced paths (client/, server/, etc.) exist |
| Framework references | Verify mentioned frameworks are in dependency files |
| Naming conventions | Sample 20 files and check if naming rules match reality |
| Test location | Verify test directories mentioned in constitution exist |
| Branch pattern | Check if branch naming rules match actual branches in git branch -a |
Validate templates: Check customized spec/plan/tasks templates:
| Check | How |
|---|---|
| Module references | Verify template sections reference actual modules/directories |
| Test commands | Verify test commands in tasks template actually work |
| Build commands | Verify build commands reference real scripts from package files |
| Section relevance | Flag template sections that reference non-existent project aspects |
Validate AGENTS.md (if exists): Check agent configuration:
| Check | How |
|---|---|
| Directory ownership | Verify each agent's directories exist |
| No overlaps | Check that no directory is owned by multiple agents |
| No orphans | Check that all source directories are covered by at least one agent |
Detect drift: Check if the project has changed since bootstrap:
Output validation report:
# Validation Report
## Constitution
| Rule | Status | Detail |
|------|--------|--------|
| Primary language: TypeScript | ✅ Pass | 68% of source files |
| Frontend in `client/` | ✅ Pass | Directory exists, contains React code |
| Backend in `server/` | ✅ Pass | Directory exists, contains FastAPI code |
| Test location: `__tests__/` | ⚠️ Drift | Also found tests in `tests/` (not mentioned) |
| Branch pattern: `feat/*` | ✅ Pass | 8/10 recent branches match |
## Templates
| Template | Status | Detail |
|----------|--------|--------|
| Spec template | ✅ Pass | All custom sections map to real project aspects |
| Plan template | ⚠️ Drift | References `shared/` module — directory renamed to `common/` |
| Tasks template | ✅ Pass | Test commands verified |
## Summary
- **Checks passed**: 9/11
- **Drift detected**: 2 items
- **Action needed**: Update plan template (`shared/` → `common/`), add `tests/` to constitution