You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: skills/build/SKILL.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ ls docs/plan/
45
45
46
46
Do not proceed without a plan.
47
47
48
-
**After loading the plan:** parse title, type, acceptance criteria, tasks, and file paths. Summarize scope to the user, then use **AskUserQuestion** to confirm:
48
+
**After loading the plan:** parse title, type, the `success-criteria` block, tasks, and file paths. Summarize scope to the user, then use **AskUserQuestion** to confirm:
49
49
50
50
-**Start building (Recommended)**: proceed with implementation
51
51
-**Review the plan first**: open the plan file for review
Copy file name to clipboardExpand all lines: skills/plan/SKILL.md
+22-6Lines changed: 22 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,9 +119,25 @@ After planning the issue structure, run the **user-flow-analysis-agent** to anal
119
119
120
120
-[ ] Review flow analysis results
121
121
-[ ] Incorporate any identified gaps or edge cases into the issue
122
-
-[ ] Update acceptance criteria based on flow analysis findings
122
+
-[ ] Update success criteria based on flow analysis findings
123
123
124
-
### 4. Select implementation detail template
124
+
### 4. Success Criteria Gate
125
+
126
+
Before selecting a template, derive the plan's success criteria and make each one machine-checkable. This block is the contract `/build` consumes, so it must be precise.
127
+
128
+
**For each criterion, apply one rule — can a command prove this without human judgment?**
-**No, but a human can check it** → attach `verify: manual <numbered steps>`.
132
+
-**Neither (vacuous or unmeasurable, e.g. "make it work", "code is clean")** → reject it and rewrite it into a concrete, provable criterion.
133
+
134
+
Surface every rejected or rewritten criterion to the user with **AskUserQuestion** before writing the plan file — do not silently change the spec they approved.
135
+
136
+
These criteria populate the `success-criteria` block defined in [success-criteria.md](references/success-criteria.md); fill it in when you write the plan file in Step 6. That reference shows the block's shape and the `verify:` convention.
137
+
138
+
`verify:` commands reflect the project's own toolchain. If the project has a companion verification skill available, its gates are the canonical `verify:` commands.
139
+
140
+
### 5. Select implementation detail template
125
141
126
142
**Default to Standard.** Use a different level only when the task clearly warrants it.
127
143
@@ -131,13 +147,13 @@ After planning the issue structure, run the **user-flow-analysis-agent** to anal
131
147
|**Standard** (default) | Most features and bug fixes needing moderate detail |[standard](references/standard.md)|
132
148
|**Extensive**| Major features, architectural changes, significant risk or uncertainty |[extensive](references/extensive.md)|
133
149
134
-
### 4.1. Set up workspace
150
+
### 5.1. Set up workspace
135
151
136
152
Before writing the plan file, ensure the session is on a feature branch:
137
153
138
154
- Call /create-branch to check and optionally create a working branch or worktree.
139
155
140
-
### 5. Issue creation and formatting
156
+
### 6. Issue creation and formatting
141
157
142
158
**Formatting checklist:**
143
159
@@ -147,15 +163,15 @@ Before writing the plan file, ensure the session is on a feature branch:
147
163
-[ ] Include prompts or instructions that worked well during research
148
164
-[ ] Emphasize comprehensive testing given rapid AI-assisted implementation
149
165
150
-
### 6. Final review
166
+
### 7. Final review
151
167
152
168
**Pre-submission Checklist:**
153
169
154
170
-[ ] Title is searchable and descriptive
155
171
-[ ] Labels accurately categorize the issue
156
172
-[ ] All template sections are complete
157
173
-[ ] Links and references are working
158
-
-[ ]Acceptance criteria are measurable
174
+
-[ ]Success criteria each carry a `verify:` command (or `verify: manual <steps>`)
159
175
-[ ] Add names of files in pseudo code examples and todo lists
160
176
-[ ] Add an ERD mermaid diagram if applicable for new model changes
Copy file name to clipboardExpand all lines: skills/shared/references/plan-templates/extensive.md
+5-19Lines changed: 5 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,42 +29,28 @@ date: YYYY-MM-DD
29
29
#### Phase 1: [Foundation]
30
30
31
31
- Tasks and deliverables
32
-
-Success criteria
32
+
-Phase exit condition
33
33
- Estimated effort
34
34
35
35
#### Phase 2: [Core Implementation]
36
36
37
37
- Tasks and deliverables
38
-
-Success criteria
38
+
-Phase exit condition
39
39
- Estimated effort
40
40
41
41
#### Phase 3: [Polish & Optimization]
42
42
43
43
- Tasks and deliverables
44
-
-Success criteria
44
+
-Phase exit condition
45
45
- Estimated effort
46
46
47
47
## Alternative Approaches Considered
48
48
49
49
[Other solutions evaluated and why rejected]
50
50
51
-
## Acceptance Criteria
51
+
## Success Criteria
52
52
53
-
### Functional Requirements
54
-
55
-
-[ ] Detailed functional criteria
56
-
57
-
### Non-Functional Requirements
58
-
59
-
-[ ] Performance targets
60
-
-[ ] Security requirements
61
-
-[ ] Accessibility standards
62
-
63
-
### Quality Gates
64
-
65
-
-[ ] Test coverage requirements
66
-
-[ ] Documentation completeness
67
-
-[ ] Code review approval
53
+
Embed the machine-checkable block defined in [success-criteria.md](success-criteria.md), with the placeholders filled in. For an extensive plan, cover functional, non-functional, and quality-gate requirements as concrete criteria.
The single source for the machine-checkable success-criteria block. Every plan template and the `/plan` Success Criteria Gate reference this file so it is maintained once.
4
+
5
+
Each criterion names the command that proves it. Use `verify: <command>` (exit 0 = pass) when a command can prove it without human judgment, or `verify: manual <steps>` when only a human can. Reject vacuous criteria like "make it work" — rewrite them as something provable. Fold functional, non-functional, and quality-gate requirements into concrete criteria.
6
+
7
+
Embed this block verbatim in the plan's `## Success Criteria` section, filling in the placeholders:
8
+
9
+
```success-criteria
10
+
GOAL: <one sentence describing the intended end state>
0 commit comments