@arvorco/relentless 0.1.0 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -13
- package/bin/relentless.ts +1 -1
- package/package.json +3 -2
- package/.claude/commands/relentless.plan.old.md +0 -89
- package/.claude/settings.local.json +0 -23
- package/.claude/skills/analyze/SKILL.md +0 -149
- package/.claude/skills/checklist/SKILL.md +0 -173
- package/.claude/skills/checklist/templates/checklist-template.md +0 -40
- package/.claude/skills/clarify/SKILL.md +0 -174
- package/.claude/skills/constitution/SKILL.md +0 -150
- package/.claude/skills/constitution/templates/constitution-template.md +0 -228
- package/.claude/skills/implement/SKILL.md +0 -141
- package/.claude/skills/plan/SKILL.md +0 -179
- package/.claude/skills/plan/templates/plan-template.md +0 -104
- package/.claude/skills/prd/SKILL.md +0 -242
- package/.claude/skills/relentless/SKILL.md +0 -265
- package/.claude/skills/specify/SKILL.md +0 -220
- package/.claude/skills/specify/scripts/bash/check-prerequisites.sh +0 -166
- package/.claude/skills/specify/scripts/bash/common.sh +0 -156
- package/.claude/skills/specify/scripts/bash/create-new-feature.sh +0 -305
- package/.claude/skills/specify/scripts/bash/setup-plan.sh +0 -61
- package/.claude/skills/specify/scripts/bash/update-agent-context.sh +0 -799
- package/.claude/skills/specify/templates/spec-template.md +0 -115
- package/.claude/skills/tasks/SKILL.md +0 -202
- package/.claude/skills/tasks/templates/tasks-template.md +0 -251
- package/.claude/skills/taskstoissues/SKILL.md +0 -97
- package/.specify/memory/constitution.md +0 -50
- package/.specify/scripts/bash/check-prerequisites.sh +0 -166
- package/.specify/scripts/bash/common.sh +0 -156
- package/.specify/scripts/bash/create-new-feature.sh +0 -297
- package/.specify/scripts/bash/setup-plan.sh +0 -61
- package/.specify/scripts/bash/update-agent-context.sh +0 -799
- package/.specify/templates/agent-file-template.md +0 -28
- package/.specify/templates/checklist-template.md +0 -40
- package/.specify/templates/plan-template.md +0 -104
- package/.specify/templates/spec-template.md +0 -115
- package/.specify/templates/tasks-template.md +0 -251
- package/CHANGES_SUMMARY.md +0 -255
- package/CLAUDE.md +0 -92
- package/GEMINI_SETUP.md +0 -256
- package/REFACTOR_SUMMARY.md +0 -267
- package/bun.lock +0 -352
- package/prompt.md +0 -108
- package/ralph.sh +0 -80
- package/relentless/features/ghsk-ideas/prd.json +0 -229
- package/relentless/features/ghsk-ideas/prd.md +0 -191
- package/relentless/features/ghsk-ideas/progress.txt +0 -408
- package/relentless/prompt.md +0 -79
- package/skills/checklist/SKILL.md +0 -349
- package/skills/clarify/SKILL.md +0 -476
- package/skills/prd/SKILL.md +0 -242
- package/skills/relentless/SKILL.md +0 -268
- package/skills/tasks/SKILL.md +0 -577
|
@@ -1,268 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: relentless
|
|
3
|
-
description: "Convert PRDs to prd.json format for the Relentless autonomous agent system. Use when you have an existing PRD and need to convert it to Relentless JSON format. Triggers on: convert this prd, turn this into relentless format, create prd.json from this, relentless json."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Relentless PRD Converter
|
|
7
|
-
|
|
8
|
-
Converts existing PRDs to the prd.json format that Relentless uses for autonomous execution with any AI coding agent.
|
|
9
|
-
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
## The Job
|
|
13
|
-
|
|
14
|
-
Take a PRD (markdown file or text) and convert it to `relentless/prd.json` in your project directory.
|
|
15
|
-
|
|
16
|
-
**Important:** All relentless files are stored in the `relentless/` subdirectory.
|
|
17
|
-
|
|
18
|
-
---
|
|
19
|
-
|
|
20
|
-
## Output Format
|
|
21
|
-
|
|
22
|
-
```json
|
|
23
|
-
{
|
|
24
|
-
"project": "[Project Name]",
|
|
25
|
-
"branchName": "relentless/[feature-name-kebab-case]",
|
|
26
|
-
"description": "[Feature description from PRD title/intro]",
|
|
27
|
-
"userStories": [
|
|
28
|
-
{
|
|
29
|
-
"id": "US-001",
|
|
30
|
-
"title": "[Story title]",
|
|
31
|
-
"description": "As a [user], I want [feature] so that [benefit]",
|
|
32
|
-
"acceptanceCriteria": [
|
|
33
|
-
"Criterion 1",
|
|
34
|
-
"Criterion 2",
|
|
35
|
-
"Typecheck passes"
|
|
36
|
-
],
|
|
37
|
-
"priority": 1,
|
|
38
|
-
"passes": false,
|
|
39
|
-
"notes": ""
|
|
40
|
-
}
|
|
41
|
-
]
|
|
42
|
-
}
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
---
|
|
46
|
-
|
|
47
|
-
## Story Size: The Number One Rule
|
|
48
|
-
|
|
49
|
-
**Each story must be completable in ONE Relentless iteration (one context window).**
|
|
50
|
-
|
|
51
|
-
Relentless spawns a fresh AI agent instance per iteration with no memory of previous work. If a story is too big, the LLM runs out of context before finishing and produces broken code.
|
|
52
|
-
|
|
53
|
-
### Right-sized stories:
|
|
54
|
-
- Add a database column and migration
|
|
55
|
-
- Add a UI component to an existing page
|
|
56
|
-
- Update a server action with new logic
|
|
57
|
-
- Add a filter dropdown to a list
|
|
58
|
-
|
|
59
|
-
### Too big (split these):
|
|
60
|
-
- "Build the entire dashboard" - Split into: schema, queries, UI components, filters
|
|
61
|
-
- "Add authentication" - Split into: schema, middleware, login UI, session handling
|
|
62
|
-
- "Refactor the API" - Split into one story per endpoint or pattern
|
|
63
|
-
|
|
64
|
-
**Rule of thumb:** If you cannot describe the change in 2-3 sentences, it is too big.
|
|
65
|
-
|
|
66
|
-
---
|
|
67
|
-
|
|
68
|
-
## Story Ordering: Dependencies First
|
|
69
|
-
|
|
70
|
-
Stories execute in priority order. Earlier stories must not depend on later ones.
|
|
71
|
-
|
|
72
|
-
**Correct order:**
|
|
73
|
-
1. Schema/database changes (migrations)
|
|
74
|
-
2. Server actions / backend logic
|
|
75
|
-
3. UI components that use the backend
|
|
76
|
-
4. Dashboard/summary views that aggregate data
|
|
77
|
-
|
|
78
|
-
**Wrong order:**
|
|
79
|
-
1. UI component (depends on schema that does not exist yet)
|
|
80
|
-
2. Schema change
|
|
81
|
-
|
|
82
|
-
---
|
|
83
|
-
|
|
84
|
-
## Acceptance Criteria: Must Be Verifiable
|
|
85
|
-
|
|
86
|
-
Each criterion must be something the agent can CHECK, not something vague.
|
|
87
|
-
|
|
88
|
-
### Good criteria (verifiable):
|
|
89
|
-
- "Add `status` column to tasks table with default 'pending'"
|
|
90
|
-
- "Filter dropdown has options: All, Active, Completed"
|
|
91
|
-
- "Clicking delete shows confirmation dialog"
|
|
92
|
-
- "Typecheck passes"
|
|
93
|
-
- "Tests pass"
|
|
94
|
-
|
|
95
|
-
### Bad criteria (vague):
|
|
96
|
-
- "Works correctly"
|
|
97
|
-
- "User can do X easily"
|
|
98
|
-
- "Good UX"
|
|
99
|
-
- "Handles edge cases"
|
|
100
|
-
|
|
101
|
-
### Always include as final criterion:
|
|
102
|
-
```
|
|
103
|
-
"Typecheck passes"
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
For stories with testable logic, also include:
|
|
107
|
-
```
|
|
108
|
-
"Tests pass"
|
|
109
|
-
```
|
|
110
|
-
|
|
111
|
-
### For stories that change UI, also include:
|
|
112
|
-
```
|
|
113
|
-
"Verify in browser"
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
Frontend stories are NOT complete until visually verified.
|
|
117
|
-
|
|
118
|
-
---
|
|
119
|
-
|
|
120
|
-
## Conversion Rules
|
|
121
|
-
|
|
122
|
-
1. **Each user story becomes one JSON entry**
|
|
123
|
-
2. **IDs**: Sequential (US-001, US-002, etc.)
|
|
124
|
-
3. **Priority**: Based on dependency order, then document order
|
|
125
|
-
4. **All stories**: `passes: false` and empty `notes`
|
|
126
|
-
5. **branchName**: Derive from feature name, kebab-case, prefixed with `relentless/`
|
|
127
|
-
6. **Always add**: "Typecheck passes" to every story's acceptance criteria
|
|
128
|
-
|
|
129
|
-
---
|
|
130
|
-
|
|
131
|
-
## Splitting Large PRDs
|
|
132
|
-
|
|
133
|
-
If a PRD has big features, split them:
|
|
134
|
-
|
|
135
|
-
**Original:**
|
|
136
|
-
> "Add user notification system"
|
|
137
|
-
|
|
138
|
-
**Split into:**
|
|
139
|
-
1. US-001: Add notifications table to database
|
|
140
|
-
2. US-002: Create notification service for sending notifications
|
|
141
|
-
3. US-003: Add notification bell icon to header
|
|
142
|
-
4. US-004: Create notification dropdown panel
|
|
143
|
-
5. US-005: Add mark-as-read functionality
|
|
144
|
-
6. US-006: Add notification preferences page
|
|
145
|
-
|
|
146
|
-
Each is one focused change that can be completed and verified independently.
|
|
147
|
-
|
|
148
|
-
---
|
|
149
|
-
|
|
150
|
-
## Example
|
|
151
|
-
|
|
152
|
-
**Input PRD:**
|
|
153
|
-
```markdown
|
|
154
|
-
# Task Status Feature
|
|
155
|
-
|
|
156
|
-
Add ability to mark tasks with different statuses.
|
|
157
|
-
|
|
158
|
-
## Requirements
|
|
159
|
-
- Toggle between pending/in-progress/done on task list
|
|
160
|
-
- Filter list by status
|
|
161
|
-
- Show status badge on each task
|
|
162
|
-
- Persist status in database
|
|
163
|
-
```
|
|
164
|
-
|
|
165
|
-
**Output prd.json:**
|
|
166
|
-
```json
|
|
167
|
-
{
|
|
168
|
-
"project": "TaskApp",
|
|
169
|
-
"branchName": "relentless/task-status",
|
|
170
|
-
"description": "Task Status Feature - Track task progress with status indicators",
|
|
171
|
-
"userStories": [
|
|
172
|
-
{
|
|
173
|
-
"id": "US-001",
|
|
174
|
-
"title": "Add status field to tasks table",
|
|
175
|
-
"description": "As a developer, I need to store task status in the database.",
|
|
176
|
-
"acceptanceCriteria": [
|
|
177
|
-
"Add status column: 'pending' | 'in_progress' | 'done' (default 'pending')",
|
|
178
|
-
"Generate and run migration successfully",
|
|
179
|
-
"Typecheck passes"
|
|
180
|
-
],
|
|
181
|
-
"priority": 1,
|
|
182
|
-
"passes": false,
|
|
183
|
-
"notes": ""
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
"id": "US-002",
|
|
187
|
-
"title": "Display status badge on task cards",
|
|
188
|
-
"description": "As a user, I want to see task status at a glance.",
|
|
189
|
-
"acceptanceCriteria": [
|
|
190
|
-
"Each task card shows colored status badge",
|
|
191
|
-
"Badge colors: gray=pending, blue=in_progress, green=done",
|
|
192
|
-
"Typecheck passes",
|
|
193
|
-
"Verify in browser"
|
|
194
|
-
],
|
|
195
|
-
"priority": 2,
|
|
196
|
-
"passes": false,
|
|
197
|
-
"notes": ""
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
"id": "US-003",
|
|
201
|
-
"title": "Add status toggle to task list rows",
|
|
202
|
-
"description": "As a user, I want to change task status directly from the list.",
|
|
203
|
-
"acceptanceCriteria": [
|
|
204
|
-
"Each row has status dropdown or toggle",
|
|
205
|
-
"Changing status saves immediately",
|
|
206
|
-
"UI updates without page refresh",
|
|
207
|
-
"Typecheck passes",
|
|
208
|
-
"Verify in browser"
|
|
209
|
-
],
|
|
210
|
-
"priority": 3,
|
|
211
|
-
"passes": false,
|
|
212
|
-
"notes": ""
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
"id": "US-004",
|
|
216
|
-
"title": "Filter tasks by status",
|
|
217
|
-
"description": "As a user, I want to filter the list to see only certain statuses.",
|
|
218
|
-
"acceptanceCriteria": [
|
|
219
|
-
"Filter dropdown: All | Pending | In Progress | Done",
|
|
220
|
-
"Filter persists in URL params",
|
|
221
|
-
"Typecheck passes",
|
|
222
|
-
"Verify in browser"
|
|
223
|
-
],
|
|
224
|
-
"priority": 4,
|
|
225
|
-
"passes": false,
|
|
226
|
-
"notes": ""
|
|
227
|
-
}
|
|
228
|
-
]
|
|
229
|
-
}
|
|
230
|
-
```
|
|
231
|
-
|
|
232
|
-
---
|
|
233
|
-
|
|
234
|
-
## Running Relentless
|
|
235
|
-
|
|
236
|
-
After creating relentless/prd.json, run the orchestrator:
|
|
237
|
-
|
|
238
|
-
```bash
|
|
239
|
-
# With Claude Code (default)
|
|
240
|
-
relentless run --feature <feature-name>
|
|
241
|
-
|
|
242
|
-
# With a specific agent
|
|
243
|
-
relentless run --feature <feature-name> --agent amp
|
|
244
|
-
relentless run --feature <feature-name> --agent codex
|
|
245
|
-
relentless run --feature <feature-name> --agent gemini
|
|
246
|
-
|
|
247
|
-
# Smart routing (auto-select best agent per story)
|
|
248
|
-
relentless run --feature <feature-name> --agent auto
|
|
249
|
-
|
|
250
|
-
# Custom max iterations
|
|
251
|
-
relentless run --feature <feature-name> --max-iterations 30
|
|
252
|
-
|
|
253
|
-
# With beautiful TUI
|
|
254
|
-
relentless run --feature <feature-name> --tui
|
|
255
|
-
```
|
|
256
|
-
|
|
257
|
-
---
|
|
258
|
-
|
|
259
|
-
## Checklist Before Saving
|
|
260
|
-
|
|
261
|
-
Before writing prd.json, verify:
|
|
262
|
-
|
|
263
|
-
- [ ] Each story is completable in one iteration (small enough)
|
|
264
|
-
- [ ] Stories are ordered by dependency (schema to backend to UI)
|
|
265
|
-
- [ ] Every story has "Typecheck passes" as criterion
|
|
266
|
-
- [ ] UI stories have "Verify in browser" as criterion
|
|
267
|
-
- [ ] Acceptance criteria are verifiable (not vague)
|
|
268
|
-
- [ ] No story depends on a later story
|