projecta-rrr 1.5.26
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/LICENSE +21 -0
- package/README.md +446 -0
- package/agents/rrr-codebase-mapper.md +738 -0
- package/agents/rrr-debugger.md +1184 -0
- package/agents/rrr-executor.md +756 -0
- package/agents/rrr-integration-checker.md +423 -0
- package/agents/rrr-phase-researcher.md +630 -0
- package/agents/rrr-plan-checker.md +744 -0
- package/agents/rrr-planner.md +1363 -0
- package/agents/rrr-project-researcher.md +864 -0
- package/agents/rrr-research-synthesizer.md +247 -0
- package/agents/rrr-roadmapper.md +711 -0
- package/agents/rrr-verifier.md +778 -0
- package/bin/install.js +525 -0
- package/commands/rrr/add-phase.md +207 -0
- package/commands/rrr/add-todo.md +182 -0
- package/commands/rrr/audit-milestone.md +254 -0
- package/commands/rrr/check-todos.md +217 -0
- package/commands/rrr/complete-milestone.md +137 -0
- package/commands/rrr/create-roadmap.md +147 -0
- package/commands/rrr/debug.md +149 -0
- package/commands/rrr/define-requirements.md +135 -0
- package/commands/rrr/discuss-milestone.md +48 -0
- package/commands/rrr/discuss-phase.md +72 -0
- package/commands/rrr/execute-phase.md +294 -0
- package/commands/rrr/execute-plan.md +400 -0
- package/commands/rrr/help.md +410 -0
- package/commands/rrr/insert-phase.md +227 -0
- package/commands/rrr/list-phase-assumptions.md +50 -0
- package/commands/rrr/map-codebase.md +71 -0
- package/commands/rrr/new-milestone.md +139 -0
- package/commands/rrr/new-project.md +894 -0
- package/commands/rrr/pause-work.md +123 -0
- package/commands/rrr/plan-milestone-gaps.md +285 -0
- package/commands/rrr/plan-phase.md +459 -0
- package/commands/rrr/progress.md +365 -0
- package/commands/rrr/remove-phase.md +338 -0
- package/commands/rrr/research-phase.md +174 -0
- package/commands/rrr/research-project.md +323 -0
- package/commands/rrr/resume-work.md +40 -0
- package/commands/rrr/update.md +165 -0
- package/commands/rrr/verify-work.md +65 -0
- package/commands/rrr/whats-new.md +124 -0
- package/hooks/rrr-check-update.sh +20 -0
- package/hooks/rrr-notify.sh +59 -0
- package/hooks/statusline.sh +58 -0
- package/package.json +32 -0
- package/rrr/references/checkpoints.md +788 -0
- package/rrr/references/continuation-format.md +255 -0
- package/rrr/references/debugging/debugging-mindset.md +11 -0
- package/rrr/references/debugging/hypothesis-testing.md +11 -0
- package/rrr/references/debugging/investigation-techniques.md +11 -0
- package/rrr/references/debugging/verification-patterns.md +11 -0
- package/rrr/references/debugging/when-to-research.md +11 -0
- package/rrr/references/git-integration.md +254 -0
- package/rrr/references/goal-backward.md +33 -0
- package/rrr/references/plan-format.md +32 -0
- package/rrr/references/principles.md +29 -0
- package/rrr/references/questioning.md +140 -0
- package/rrr/references/research-pitfalls.md +233 -0
- package/rrr/references/scope-estimation.md +32 -0
- package/rrr/references/tdd.md +263 -0
- package/rrr/references/ui-brand.md +160 -0
- package/rrr/references/verification-patterns.md +595 -0
- package/rrr/templates/DEBUG.md +159 -0
- package/rrr/templates/UAT.md +247 -0
- package/rrr/templates/codebase/architecture.md +255 -0
- package/rrr/templates/codebase/concerns.md +310 -0
- package/rrr/templates/codebase/conventions.md +307 -0
- package/rrr/templates/codebase/integrations.md +280 -0
- package/rrr/templates/codebase/stack.md +186 -0
- package/rrr/templates/codebase/structure.md +285 -0
- package/rrr/templates/codebase/testing.md +480 -0
- package/rrr/templates/config.json +26 -0
- package/rrr/templates/context.md +161 -0
- package/rrr/templates/continue-here.md +78 -0
- package/rrr/templates/debug-subagent-prompt.md +91 -0
- package/rrr/templates/discovery.md +146 -0
- package/rrr/templates/milestone-archive.md +123 -0
- package/rrr/templates/milestone-context.md +93 -0
- package/rrr/templates/milestone.md +115 -0
- package/rrr/templates/phase-prompt.md +577 -0
- package/rrr/templates/planner-subagent-prompt.md +117 -0
- package/rrr/templates/project.md +184 -0
- package/rrr/templates/requirements.md +231 -0
- package/rrr/templates/research-project/ARCHITECTURE.md +204 -0
- package/rrr/templates/research-project/FEATURES.md +147 -0
- package/rrr/templates/research-project/PITFALLS.md +200 -0
- package/rrr/templates/research-project/STACK.md +120 -0
- package/rrr/templates/research-project/SUMMARY.md +170 -0
- package/rrr/templates/research-subagent-prompt.md +92 -0
- package/rrr/templates/research.md +529 -0
- package/rrr/templates/roadmap.md +202 -0
- package/rrr/templates/state.md +206 -0
- package/rrr/templates/summary.md +269 -0
- package/rrr/templates/user-setup.md +323 -0
- package/rrr/templates/verification-report.md +322 -0
- package/rrr/workflows/complete-milestone.md +759 -0
- package/rrr/workflows/create-milestone.md +203 -0
- package/rrr/workflows/create-roadmap.md +632 -0
- package/rrr/workflows/debug.md +14 -0
- package/rrr/workflows/define-requirements.md +330 -0
- package/rrr/workflows/diagnose-issues.md +243 -0
- package/rrr/workflows/discovery-phase.md +293 -0
- package/rrr/workflows/discuss-milestone.md +227 -0
- package/rrr/workflows/discuss-phase.md +362 -0
- package/rrr/workflows/execute-phase.md +544 -0
- package/rrr/workflows/execute-plan.md +1831 -0
- package/rrr/workflows/list-phase-assumptions.md +178 -0
- package/rrr/workflows/map-codebase.md +289 -0
- package/rrr/workflows/plan-phase.md +41 -0
- package/rrr/workflows/research-phase.md +17 -0
- package/rrr/workflows/research-project.md +23 -0
- package/rrr/workflows/resume-project.md +313 -0
- package/rrr/workflows/transition.md +564 -0
- package/rrr/workflows/verify-phase.md +629 -0
- package/rrr/workflows/verify-work.md +406 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Lex Christopherson
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,446 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
|
+
# RRR
|
|
4
|
+
|
|
5
|
+
**A light-weight and powerful meta-prompting, context engineering and spec-driven development system for Claude Code by Projecta.ai**
|
|
6
|
+
|
|
7
|
+
**Solves context rot — the quality degradation that happens as Claude fills its context window.**
|
|
8
|
+
|
|
9
|
+
[](https://www.npmjs.com/package/projecta-rrr)
|
|
10
|
+
[](https://www.npmjs.com/package/projecta-rrr)
|
|
11
|
+
[](LICENSE)
|
|
12
|
+
[](https://github.com/PA-Ai-Team/projecta-rrr)
|
|
13
|
+
|
|
14
|
+
<br>
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npx projecta-rrr
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
**Works on Mac, Windows, and Linux.**
|
|
21
|
+
|
|
22
|
+
<br>
|
|
23
|
+
|
|
24
|
+

|
|
25
|
+
|
|
26
|
+
<br>
|
|
27
|
+
|
|
28
|
+
*"If you know clearly what you want, this WILL build it for you. No bs."*
|
|
29
|
+
|
|
30
|
+
*"I've done SpecKit, OpenSpec and Taskmaster — this has produced the best results for me."*
|
|
31
|
+
|
|
32
|
+
*"By far the most powerful addition to my Claude Code. Nothing over-engineered. Literally just gets shit done."*
|
|
33
|
+
|
|
34
|
+
<br>
|
|
35
|
+
|
|
36
|
+
**Trusted by engineers at Amazon, Google, Shopify, and Webflow.**
|
|
37
|
+
|
|
38
|
+
[Why I Built This](#why-i-built-this) · [How It Works](#how-it-works) · [Commands](#commands) · [Why It Works](#why-it-works)
|
|
39
|
+
|
|
40
|
+
</div>
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## Why I Built This
|
|
45
|
+
|
|
46
|
+
I'm a solo developer. I don't write code — Claude Code does.
|
|
47
|
+
|
|
48
|
+
Other spec-driven development tools exist; BMAD, Speckit... But they all seem to make things way more complicated than they need to be (sprint ceremonies, story points, stakeholder syncs, retrospectives, Jira workflows) or lack real big picture understanding of what you're building. I'm not a 50-person software company. I don't want to play enterprise theater. I'm just a creative person trying to build great things that work.
|
|
49
|
+
|
|
50
|
+
So I built RRR. The complexity is in the system, not in your workflow. Behind the scenes: context engineering, XML prompt formatting, subagent orchestration, state management. What you see: a few commands that just work.
|
|
51
|
+
|
|
52
|
+
The system gives Claude everything it needs to do the work *and* verify it. I trust the workflow. It just does a good job.
|
|
53
|
+
|
|
54
|
+
That's what this is. No enterprise roleplay bullshit. Just an incredibly effective system for building cool stuff consistently using Claude Code.
|
|
55
|
+
|
|
56
|
+
— **Projecta.ai**
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
Vibecoding has a bad reputation. You describe what you want, AI generates code, and you get inconsistent garbage that falls apart at scale.
|
|
61
|
+
|
|
62
|
+
RRR fixes that. It's the context engineering layer that makes Claude Code reliable. Describe your idea, let the system extract everything it needs to know, and let Claude Code get to work.
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## Who This Is For
|
|
67
|
+
|
|
68
|
+
People who want to describe what they want and have it built correctly — without pretending they're running a 50-person engineering org.
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## Getting Started
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
npx projecta-rrr
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
That's it. Verify with `/rrr:help` inside your Claude Code interface.
|
|
79
|
+
|
|
80
|
+
### Staying Updated
|
|
81
|
+
|
|
82
|
+
RRR evolves fast. Check for updates periodically:
|
|
83
|
+
|
|
84
|
+
```
|
|
85
|
+
/rrr:whats-new
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
Update with:
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
npx projecta-rrr@latest
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
<details>
|
|
95
|
+
<summary><strong>Non-interactive Install (Docker, CI, Scripts)</strong></summary>
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
npx projecta-rrr --global # Install to ~/.claude/
|
|
99
|
+
npx projecta-rrr --local # Install to ./.claude/
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
Use `--global` (`-g`) or `--local` (`-l`) to skip the interactive prompt.
|
|
103
|
+
|
|
104
|
+
</details>
|
|
105
|
+
|
|
106
|
+
<details>
|
|
107
|
+
<summary><strong>Development Installation</strong></summary>
|
|
108
|
+
|
|
109
|
+
Clone the repository and run the installer locally:
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
git clone https://github.com/PA-Ai-Team/projecta-rrr.git
|
|
113
|
+
cd projecta-rrr
|
|
114
|
+
node bin/install.js --local
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
Installs to `./.claude/` for testing modifications before contributing.
|
|
118
|
+
|
|
119
|
+
</details>
|
|
120
|
+
|
|
121
|
+
### Recommended: Skip Permissions Mode
|
|
122
|
+
|
|
123
|
+
RRR is designed for frictionless automation. Run Claude Code with:
|
|
124
|
+
|
|
125
|
+
```bash
|
|
126
|
+
claude --dangerously-skip-permissions
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
> [!TIP]
|
|
130
|
+
> This is how RRR is intended to be used — stopping to approve `date` and `git commit` 50 times defeats the purpose.
|
|
131
|
+
|
|
132
|
+
<details>
|
|
133
|
+
<summary><strong>Alternative: Granular Permissions</strong></summary>
|
|
134
|
+
|
|
135
|
+
If you prefer not to use that flag, add this to your project's `.claude/settings.json`:
|
|
136
|
+
|
|
137
|
+
```json
|
|
138
|
+
{
|
|
139
|
+
"permissions": {
|
|
140
|
+
"allow": [
|
|
141
|
+
"Bash(date:*)",
|
|
142
|
+
"Bash(echo:*)",
|
|
143
|
+
"Bash(cat:*)",
|
|
144
|
+
"Bash(ls:*)",
|
|
145
|
+
"Bash(mkdir:*)",
|
|
146
|
+
"Bash(wc:*)",
|
|
147
|
+
"Bash(head:*)",
|
|
148
|
+
"Bash(tail:*)",
|
|
149
|
+
"Bash(sort:*)",
|
|
150
|
+
"Bash(grep:*)",
|
|
151
|
+
"Bash(tr:*)",
|
|
152
|
+
"Bash(git add:*)",
|
|
153
|
+
"Bash(git commit:*)",
|
|
154
|
+
"Bash(git status:*)",
|
|
155
|
+
"Bash(git log:*)",
|
|
156
|
+
"Bash(git diff:*)",
|
|
157
|
+
"Bash(git tag:*)"
|
|
158
|
+
]
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
</details>
|
|
164
|
+
|
|
165
|
+
---
|
|
166
|
+
|
|
167
|
+
## How It Works
|
|
168
|
+
|
|
169
|
+
### 1. Initialize Project (~10 minutes)
|
|
170
|
+
|
|
171
|
+
```
|
|
172
|
+
/rrr:new-project
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
One command, one flow. The system:
|
|
176
|
+
|
|
177
|
+
1. **Questions** — Asks until it understands your idea completely (goals, constraints, tech preferences, edge cases)
|
|
178
|
+
2. **Research** — Spawns parallel agents to investigate the domain (optional but recommended)
|
|
179
|
+
3. **Requirements** — Extracts what's v1, v2, and out of scope
|
|
180
|
+
4. **Roadmap** — Creates phases mapped to requirements
|
|
181
|
+
|
|
182
|
+
You approve the roadmap. Now you're ready to build.
|
|
183
|
+
|
|
184
|
+
**Creates:** `PROJECT.md`, `REQUIREMENTS.md`, `ROADMAP.md`, `STATE.md`, `.planning/research/`
|
|
185
|
+
|
|
186
|
+
### 2. Plan Phase
|
|
187
|
+
|
|
188
|
+
```
|
|
189
|
+
/rrr:discuss-phase 1 # Optional: clarify UI/UX/behavior decisions first
|
|
190
|
+
/rrr:plan-phase 1
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
**discuss-phase** (optional) — If the phase has gray areas (UI choices, UX flows, behavior decisions), discuss them first. Creates `CONTEXT.md` that guides planning. Skip if you trust the system's defaults.
|
|
194
|
+
|
|
195
|
+
**plan-phase** — The system:
|
|
196
|
+
|
|
197
|
+
1. **Researches** — Investigates how to implement this specific phase
|
|
198
|
+
2. **Plans** — Creates 2-3 atomic task plans with XML structure
|
|
199
|
+
3. **Verifies** — Checks plans against requirements, loops if needed
|
|
200
|
+
|
|
201
|
+
Ready when plans pass verification.
|
|
202
|
+
|
|
203
|
+
### 3. Execute Phase
|
|
204
|
+
|
|
205
|
+
```
|
|
206
|
+
/rrr:execute-phase 1
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
The system:
|
|
210
|
+
|
|
211
|
+
1. **Runs plans in waves** — Parallel where possible, sequential when dependent
|
|
212
|
+
2. **Fresh context per plan** — 200k tokens purely for implementation, zero degradation
|
|
213
|
+
3. **Verifies code** — Checks against phase goals when complete
|
|
214
|
+
|
|
215
|
+
### 4. Repeat
|
|
216
|
+
|
|
217
|
+
```
|
|
218
|
+
/rrr:plan-phase 2
|
|
219
|
+
/rrr:execute-phase 2
|
|
220
|
+
...
|
|
221
|
+
/rrr:complete-milestone # When all phases done
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
Loop plan → execute until milestone complete. Ship your MVP. Start next milestone.
|
|
225
|
+
|
|
226
|
+
---
|
|
227
|
+
|
|
228
|
+
## Existing Projects (Brownfield)
|
|
229
|
+
|
|
230
|
+
Already have code? Start here instead.
|
|
231
|
+
|
|
232
|
+
### 1. Map the codebase
|
|
233
|
+
|
|
234
|
+
```
|
|
235
|
+
/rrr:map-codebase
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
Spawns parallel agents to analyze your code. Creates `.planning/codebase/` with structured analysis of your stack, architecture, conventions, and concerns.
|
|
239
|
+
|
|
240
|
+
### 2. Initialize and build
|
|
241
|
+
|
|
242
|
+
```
|
|
243
|
+
/rrr:new-project
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
Same flow as greenfield, but the system knows your codebase. Questions focus on what you're adding/changing. Then plan → execute as normal.
|
|
247
|
+
|
|
248
|
+
The codebase docs load automatically during planning. Claude knows your patterns, conventions, and where to put things.
|
|
249
|
+
|
|
250
|
+
---
|
|
251
|
+
|
|
252
|
+
## Why It Works
|
|
253
|
+
|
|
254
|
+
### Context Engineering
|
|
255
|
+
|
|
256
|
+
Claude Code is incredibly powerful *if* you give it the context it needs. Most people don't.
|
|
257
|
+
|
|
258
|
+
RRR handles it for you:
|
|
259
|
+
|
|
260
|
+
| File | What it does |
|
|
261
|
+
|------|--------------|
|
|
262
|
+
| `PROJECT.md` | Project vision, always loaded |
|
|
263
|
+
| `research/` | Ecosystem knowledge (stack, features, architecture, pitfalls) |
|
|
264
|
+
| `REQUIREMENTS.md` | Scoped v1/v2 requirements with phase traceability |
|
|
265
|
+
| `ROADMAP.md` | Where you're going, what's done |
|
|
266
|
+
| `STATE.md` | Decisions, blockers, position — memory across sessions |
|
|
267
|
+
| `PLAN.md` | Atomic task with XML structure, verification steps |
|
|
268
|
+
| `SUMMARY.md` | What happened, what changed, committed to history |
|
|
269
|
+
| `todos/` | Captured ideas and tasks for later work |
|
|
270
|
+
|
|
271
|
+
Size limits based on where Claude's quality degrades. Stay under, get consistent excellence.
|
|
272
|
+
|
|
273
|
+
### XML Prompt Formatting
|
|
274
|
+
|
|
275
|
+
Every plan is structured XML optimized for Claude:
|
|
276
|
+
|
|
277
|
+
```xml
|
|
278
|
+
<task type="auto">
|
|
279
|
+
<name>Create login endpoint</name>
|
|
280
|
+
<files>src/app/api/auth/login/route.ts</files>
|
|
281
|
+
<action>
|
|
282
|
+
Use jose for JWT (not jsonwebtoken - CommonJS issues).
|
|
283
|
+
Validate credentials against users table.
|
|
284
|
+
Return httpOnly cookie on success.
|
|
285
|
+
</action>
|
|
286
|
+
<verify>curl -X POST localhost:3000/api/auth/login returns 200 + Set-Cookie</verify>
|
|
287
|
+
<done>Valid credentials return cookie, invalid return 401</done>
|
|
288
|
+
</task>
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
Precise instructions. No guessing. Verification built in.
|
|
292
|
+
|
|
293
|
+
### Subagent Execution
|
|
294
|
+
|
|
295
|
+
As Claude fills its context window, quality degrades. You've seen it: *"Due to context limits, I'll be more concise now."* That "concision" is code for cutting corners.
|
|
296
|
+
|
|
297
|
+
RRR prevents this. Each plan is maximum 3 tasks. Each plan runs in a fresh subagent — 200k tokens purely for implementation, zero accumulated garbage.
|
|
298
|
+
|
|
299
|
+
| Task | Context | Quality |
|
|
300
|
+
|------|---------|---------|
|
|
301
|
+
| Task 1 | Fresh | Full |
|
|
302
|
+
| Task 2 | Fresh | Full |
|
|
303
|
+
| Task 3 | Fresh | Full |
|
|
304
|
+
|
|
305
|
+
No degradation. Walk away, come back to completed work.
|
|
306
|
+
|
|
307
|
+
### Atomic Git Commits
|
|
308
|
+
|
|
309
|
+
Each task gets its own commit immediately after completion:
|
|
310
|
+
|
|
311
|
+
```bash
|
|
312
|
+
abc123f docs(08-02): complete user registration plan
|
|
313
|
+
def456g feat(08-02): add email confirmation flow
|
|
314
|
+
hij789k feat(08-02): implement password hashing
|
|
315
|
+
lmn012o feat(08-02): create registration endpoint
|
|
316
|
+
```
|
|
317
|
+
|
|
318
|
+
> [!NOTE]
|
|
319
|
+
> **Benefits:** Git bisect finds exact failing task. Each task independently revertable. Clear history for Claude in future sessions. Better observability in AI-automated workflow.
|
|
320
|
+
|
|
321
|
+
Every commit is surgical, traceable, and meaningful.
|
|
322
|
+
|
|
323
|
+
### Modular by Design
|
|
324
|
+
|
|
325
|
+
- Add phases to current milestone
|
|
326
|
+
- Insert urgent work between phases
|
|
327
|
+
- Complete milestones and start fresh
|
|
328
|
+
- Adjust plans without rebuilding everything
|
|
329
|
+
|
|
330
|
+
You're never locked in. The system adapts.
|
|
331
|
+
|
|
332
|
+
---
|
|
333
|
+
|
|
334
|
+
## Commands
|
|
335
|
+
|
|
336
|
+
### Core Workflow
|
|
337
|
+
|
|
338
|
+
| Command | What it does |
|
|
339
|
+
|---------|--------------|
|
|
340
|
+
| `/rrr:new-project` | Full initialization: questions → research → requirements → roadmap |
|
|
341
|
+
| `/rrr:plan-phase [N]` | Research + plan + verify for a phase |
|
|
342
|
+
| `/rrr:execute-phase <N>` | Execute all plans in parallel waves, verify when complete |
|
|
343
|
+
| `/rrr:complete-milestone` | Ship it, prep next version |
|
|
344
|
+
|
|
345
|
+
### Navigation
|
|
346
|
+
|
|
347
|
+
| Command | What it does |
|
|
348
|
+
|---------|--------------|
|
|
349
|
+
| `/rrr:progress` | Where am I? What's next? |
|
|
350
|
+
| `/rrr:help` | Show all commands and usage guide |
|
|
351
|
+
|
|
352
|
+
### Verification
|
|
353
|
+
|
|
354
|
+
| Command | What it does |
|
|
355
|
+
|---------|--------------|
|
|
356
|
+
| `/rrr:verify-work [N]` | Manual user acceptance testing |
|
|
357
|
+
|
|
358
|
+
### Brownfield
|
|
359
|
+
|
|
360
|
+
| Command | What it does |
|
|
361
|
+
|---------|--------------|
|
|
362
|
+
| `/rrr:map-codebase` | Analyze existing codebase before new-project |
|
|
363
|
+
|
|
364
|
+
### Phase Management
|
|
365
|
+
|
|
366
|
+
| Command | What it does |
|
|
367
|
+
|---------|--------------|
|
|
368
|
+
| `/rrr:add-phase` | Append phase to roadmap |
|
|
369
|
+
| `/rrr:insert-phase [N]` | Insert urgent work between phases |
|
|
370
|
+
| `/rrr:remove-phase [N]` | Remove future phase, renumber |
|
|
371
|
+
| `/rrr:discuss-phase [N]` | Gather context before planning |
|
|
372
|
+
|
|
373
|
+
### Milestones
|
|
374
|
+
|
|
375
|
+
| Command | What it does |
|
|
376
|
+
|---------|--------------|
|
|
377
|
+
| `/rrr:new-milestone [name]` | Start next milestone |
|
|
378
|
+
| `/rrr:discuss-milestone` | Gather context for next milestone |
|
|
379
|
+
|
|
380
|
+
### Session
|
|
381
|
+
|
|
382
|
+
| Command | What it does |
|
|
383
|
+
|---------|--------------|
|
|
384
|
+
| `/rrr:pause-work` | Create handoff when stopping mid-phase |
|
|
385
|
+
| `/rrr:resume-work` | Restore from last session |
|
|
386
|
+
|
|
387
|
+
### Utilities
|
|
388
|
+
|
|
389
|
+
| Command | What it does |
|
|
390
|
+
|---------|--------------|
|
|
391
|
+
| `/rrr:add-todo [desc]` | Capture idea for later |
|
|
392
|
+
| `/rrr:check-todos` | List pending todos |
|
|
393
|
+
| `/rrr:debug [desc]` | Systematic debugging with persistent state |
|
|
394
|
+
|
|
395
|
+
---
|
|
396
|
+
|
|
397
|
+
## Troubleshooting
|
|
398
|
+
|
|
399
|
+
**Commands not found after install?**
|
|
400
|
+
- Restart Claude Code to reload slash commands
|
|
401
|
+
- Verify files exist in `~/.claude/commands/rrr/` (global) or `./.claude/commands/rrr/` (local)
|
|
402
|
+
|
|
403
|
+
**Commands not working as expected?**
|
|
404
|
+
- Run `/rrr:help` to verify installation
|
|
405
|
+
- Re-run `npx projecta-rrr` to reinstall
|
|
406
|
+
|
|
407
|
+
**Updating to the latest version?**
|
|
408
|
+
```bash
|
|
409
|
+
npx projecta-rrr@latest
|
|
410
|
+
```
|
|
411
|
+
|
|
412
|
+
**Using Docker or containerized environments?**
|
|
413
|
+
|
|
414
|
+
If file reads fail with tilde paths (`~/.claude/...`), set `CLAUDE_CONFIG_DIR` before installing:
|
|
415
|
+
```bash
|
|
416
|
+
CLAUDE_CONFIG_DIR=/home/youruser/.claude npx projecta-rrr --global
|
|
417
|
+
```
|
|
418
|
+
This ensures absolute paths are used instead of `~` which may not expand correctly in containers.
|
|
419
|
+
|
|
420
|
+
---
|
|
421
|
+
|
|
422
|
+
## Star History
|
|
423
|
+
|
|
424
|
+
<a href="https://star-history.com/#PA-Ai-Team/projecta-rrr&Date">
|
|
425
|
+
<picture>
|
|
426
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=PA-Ai-Team/projecta-rrr&type=Date&theme=dark" />
|
|
427
|
+
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=PA-Ai-Team/projecta-rrr&type=Date" />
|
|
428
|
+
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=PA-Ai-Team/projecta-rrr&type=Date" />
|
|
429
|
+
</picture>
|
|
430
|
+
</a>
|
|
431
|
+
|
|
432
|
+
---
|
|
433
|
+
|
|
434
|
+
## License
|
|
435
|
+
|
|
436
|
+
MIT License. See [LICENSE](LICENSE) for details.
|
|
437
|
+
|
|
438
|
+
---
|
|
439
|
+
|
|
440
|
+
<div align="center">
|
|
441
|
+
|
|
442
|
+
**Claude Code is powerful. RRR makes it reliable.**
|
|
443
|
+
|
|
444
|
+
**Built by [Projecta.ai](https://projecta.ai)**
|
|
445
|
+
|
|
446
|
+
</div>
|