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: .claude/skills/prd/SKILL.md
+5-10Lines changed: 5 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,13 +74,11 @@ Each story should be small enough to implement in one focused session.
74
74
**Acceptance Criteria:**
75
75
-[ ] Specific verifiable criterion
76
76
-[ ] Another criterion
77
-
-[ ] Typecheck/lint passes
78
-
-[ ]**[UI stories only]** Verify in browser using dev-browser skill
77
+
-[ ] Lint/Static analysis passes
79
78
```
80
79
81
80
**Important:**
82
81
- Acceptance criteria must be verifiable, not vague. "Works correctly" is bad. "Button shows confirmation dialog before deleting" is good.
83
-
-**For any story with UI changes:** Always include "Verify in browser using dev-browser skill" as acceptance criteria. This ensures visual verification of frontend work.
84
82
85
83
### 4. Functional Requirements
86
84
Numbered list of specific functionalities:
@@ -150,16 +148,15 @@ Add priority levels to tasks so users can focus on what matters most. Tasks can
Copy file name to clipboardExpand all lines: .claude/skills/ralph/SKILL.md
+19-24Lines changed: 19 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ Take a PRD (markdown file or text) and convert it to `prd.json` in your ralph di
25
25
"acceptanceCriteria": [
26
26
"Criterion 1",
27
27
"Criterion 2",
28
-
"Typecheck passes"
28
+
"Lint/Static analysis passes"
29
29
],
30
30
"priority": 1,
31
31
"passes": false,
@@ -76,7 +76,7 @@ Each criterion must be something Ralph can CHECK, not something vague.
76
76
- "Add `status` column to tasks table with default 'pending'"
77
77
- "Filter dropdown has options: All, Active, Completed"
78
78
- "Clicking delete shows confirmation dialog"
79
-
- "Typecheck passes"
79
+
- "Lint/Static analysis passes"
80
80
- "Tests pass"
81
81
82
82
### Bad criteria (vague):
@@ -87,20 +87,19 @@ Each criterion must be something Ralph can CHECK, not something vague.
87
87
88
88
### Always include as final criterion:
89
89
```
90
-
"Typecheck passes"
90
+
"Lint/Static analysis passes"
91
91
```
92
92
93
-
For stories with testable logic, also include:
93
+
For stories with testable logic, include:
94
94
```
95
95
"Tests pass"
96
96
```
97
97
98
-
### For stories that change UI, also include:
98
+
For code quality, include:
99
99
```
100
-
"Verify in browser using dev-browser skill"
100
+
"Lint/Static analysis passes"
101
101
```
102
102
103
-
Frontend stories are NOT complete until visually verified. Ralph will use the dev-browser skill to navigate to the page, interact with the UI, and confirm changes work.
104
103
105
104
## Conversion Rules
106
105
@@ -109,25 +108,25 @@ Frontend stories are NOT complete until visually verified. Ralph will use the de
109
108
3.**Priority**: Based on dependency order, then document order
110
109
4.**All stories**: `passes: false` and empty `notes`
111
110
5.**branchName**: Derive from feature name, kebab-case, prefixed with `ralph/`
112
-
6.**Always add**: "Typecheck passes" to every story's acceptance criteria
113
-
7.**Final Story**: Always include a final story for documentation (README, Makefile) and verification.
111
+
6.**Always add**: "Lint/Static analysis passes" to every story's acceptance criteria
112
+
7.**Final Story**: Always include a final story for documentation (README, build configuration) and verification.
114
113
115
114
## The Final Documentation Story
116
115
117
116
**Every** prd.json must end with a story dedicated to documentation and cleanup.
118
117
119
118
**Requirements for the final story:**
120
119
- Update `README.md` (if necessary) to document new features
121
-
- Update `Makefile` (if necessary) with new commands
120
+
- Update build/test configuration (if necessary) with new commands
122
121
- Document how to execute and test the new code
123
122
- Verify all tests and typechecks pass
124
123
125
124
**Example acceptance criteria:**
126
125
```
127
126
"Update README.md with instructions for [feature]",
128
-
"Update Makefile if new build/test steps are needed",
127
+
"Update build/test configuration if needed",
129
128
"Document how to run and test the changes",
130
-
"Typecheck passes",
129
+
"Lint/Static analysis passes",
131
130
"All tests pass"
132
131
```
133
132
@@ -177,7 +176,7 @@ Add ability to mark tasks with different statuses.
177
176
"acceptanceCriteria": [
178
177
"Add status column: 'pending' | 'in_progress' | 'done' (default 'pending')",
179
178
"Generate and run migration successfully",
180
-
"Typecheck passes"
179
+
"Lint/Static analysis passes"
181
180
],
182
181
"priority": 1,
183
182
"passes": false,
@@ -190,8 +189,7 @@ Add ability to mark tasks with different statuses.
0 commit comments