원클릭으로
spec
Decompose BRD into epics, stories, dependency graph, and feature list for agent team execution.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Decompose BRD into epics, stories, dependency graph, and feature list for agent team execution.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Autonomous build loop with Karpathy ratcheting, GAN evaluator, and session chaining. Iterates story groups until all features pass or stopping criteria met.
Socratic interview to create a Business Requirements Document. First step in the SDLC pipeline.
Generate system architecture, machine-readable schemas, and UI mockups. Spawns planner + ui-designer concurrently.
Evaluation patterns — sprint contract format, three-layer verification, scoring rubric references.
Standard GitHub issue workflow. Branch, reproduce, fix, test, PR.
Generate production code and tests for a story group using agent teams for parallel execution.
| name | spec |
| description | Decompose BRD into epics, stories, dependency graph, and feature list for agent team execution. |
| argument-hint | [path-to-BRD] |
| context | fork |
| agent | planner |
/spec specs/brd/brd.md
Pass the path to the approved BRD as the argument. Produces epics, stories, a dependency graph, and a features.json for session chaining.
This is the second gate in the SDLC pipeline. The planner agent reads an approved BRD and decomposes it into structured, independently executable units of work. Every story gets testable acceptance criteria, a layer assignment, and a dependency group. A machine-readable features.json is generated from those criteria so the evaluator can track pass/fail state across sessions.
Read the file at the path provided as the argument. Confirm the document exists and is an approved BRD. If the file is missing, halt and ask the human to run /brd first.
Group related functionality into epics. Rules:
E1, E2, E3 ...For each story:
Story ID: E{n}-S{n} (e.g., E1-S2)
Required fields per story:
title: Short imperative phrase (e.g., "User can register with email and password")description: 2-4 sentences of context and motivationacceptance_criteria: 3-6 items. Each criterion must be:
layer: One of Types | Config | Repository | Service | API | UIgroup: Dependency group letter (A, B, C ...) — see Step 4depends_on: List of story IDs this story depends on (empty list if group A)Write specs/stories/dependency-graph.md with:
Format each group as a table showing Story ID, Title, Layer, and Dependencies.
Rules:
Write each story to: specs/stories/E{n}-S{n}.md
Each file includes: ID, title, description, acceptance criteria, layer, group, depends_on.
features.jsonThis is the key enhancement over forge_v2. Transform every acceptance criterion into one or more testable features.
Mapping rule: Each acceptance criterion produces 1-3 feature entries. The feature description must be a specific, observable behavior. Each feature has executable steps describing how to verify it.
Output file: specs/features.json
Schema for each feature entry:
{
"id": "F001",
"category": "functional",
"story": "E1-S1",
"group": "A",
"description": "User registration endpoint returns 201 with user ID on valid input",
"steps": [
"POST /api/auth/register with valid email and password",
"Assert response status is 201",
"Assert response body contains a non-null userId field"
],
"passes": false,
"last_evaluated": null,
"failure_reason": null,
"failure_layer": null
}
Field rules:
id: Sequential, zero-padded to 3 digits (F001, F002 ...)category: functional | integration | ui | security | performancestory: Story ID this feature belongs togroup: Inherited from the story's dependency groupdescription: Single sentence, specific and observablesteps: Ordered list of verification steps (at least 2)passes: Always false at generation timelast_evaluated: Always null at generation timefailure_reason: Always null at generation timefailure_layer: Always null at generation timeEvery acceptance criterion must map to at least one feature. No criteria may be omitted.
Display:
/design, or provide corrections."| File | Purpose |
|---|---|
specs/stories/dependency-graph.md | Parallel execution groups with dependency mapping |
specs/stories/E{n}-S{n}.md | One file per story |
specs/features.json | Machine-readable feature list for evaluator |
Human review is required before proceeding to /design.
Do not auto-advance. Every story must have testable criteria, a layer assignment, and a group before approval is requested.
Pre-approval checklist:
features.jsonpasses fields are false