rpi-kit 1.4.0 → 2.0.0

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.
Files changed (53) hide show
  1. package/.claude-plugin/marketplace.json +9 -6
  2. package/.claude-plugin/plugin.json +4 -4
  3. package/AGENTS.md +2016 -117
  4. package/CHANGELOG.md +83 -0
  5. package/README.md +116 -169
  6. package/agents/atlas.md +61 -0
  7. package/agents/clara.md +49 -0
  8. package/agents/forge.md +38 -0
  9. package/agents/hawk.md +54 -0
  10. package/agents/luna.md +50 -0
  11. package/agents/mestre.md +61 -0
  12. package/agents/nexus.md +63 -0
  13. package/agents/pixel.md +48 -0
  14. package/agents/quill.md +40 -0
  15. package/agents/razor.md +41 -0
  16. package/agents/sage.md +52 -0
  17. package/agents/scout.md +49 -0
  18. package/agents/shield.md +51 -0
  19. package/bin/cli.js +160 -53
  20. package/bin/onboarding.js +46 -28
  21. package/commands/rpi/archive.md +149 -0
  22. package/commands/rpi/docs.md +106 -168
  23. package/commands/rpi/implement.md +163 -401
  24. package/commands/rpi/init.md +150 -67
  25. package/commands/rpi/learn.md +114 -0
  26. package/commands/rpi/new.md +85 -155
  27. package/commands/rpi/onboarding.md +157 -336
  28. package/commands/rpi/party.md +212 -0
  29. package/commands/rpi/plan.md +241 -205
  30. package/commands/rpi/research.md +162 -104
  31. package/commands/rpi/review.md +350 -104
  32. package/commands/rpi/rpi.md +125 -0
  33. package/commands/rpi/simplify.md +156 -93
  34. package/commands/rpi/status.md +91 -114
  35. package/package.json +7 -3
  36. package/skills/rpi-agents/SKILL.md +63 -39
  37. package/skills/rpi-workflow/SKILL.md +160 -186
  38. package/agents/code-reviewer.md +0 -108
  39. package/agents/code-simplifier.md +0 -82
  40. package/agents/cto-advisor.md +0 -61
  41. package/agents/doc-synthesizer.md +0 -67
  42. package/agents/doc-writer.md +0 -37
  43. package/agents/explore-codebase.md +0 -88
  44. package/agents/plan-executor.md +0 -95
  45. package/agents/product-manager.md +0 -59
  46. package/agents/requirement-parser.md +0 -51
  47. package/agents/senior-engineer.md +0 -61
  48. package/agents/test-engineer.md +0 -23
  49. package/agents/ux-designer.md +0 -58
  50. package/codex.md +0 -72
  51. package/commands/rpi/add-todo.md +0 -83
  52. package/commands/rpi/set-profile.md +0 -124
  53. package/commands/rpi/test.md +0 -198
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: rpi:simplify
3
- description: Run code simplification on a feature's implementation. Checks for reuse opportunities, quality issues, and efficiency problems, then fixes them.
4
- argument-hint: "<feature-slug>"
3
+ description: Razor analyzes the implementation for reuse, quality, and efficiency improvements.
4
+ argument-hint: "<feature-name>"
5
5
  allowed-tools:
6
6
  - Read
7
7
  - Write
@@ -12,120 +12,183 @@ allowed-tools:
12
12
  - Agent
13
13
  ---
14
14
 
15
- <objective>
16
- Run 3 parallel code review sub-agents (reuse, quality, efficiency) on the implementation changes, aggregate findings, and fix issues directly.
17
- </objective>
15
+ # /rpi:simplify — Simplify Phase
18
16
 
19
- <process>
17
+ Razor analyzes the full implementation diff across 3 dimensions — reuse, quality, and efficiency — and applies improvements directly. Tests must pass before and after.
20
18
 
21
- ## 1. Load config, resolve path, and identify changes
22
-
23
- Read `.rpi.yaml` for folder path. Also read `profile` and `models` keys.
24
-
25
- Parse `{feature-slug}` from arguments.
26
-
27
- **Resolution order:**
28
- 1. Check if `{folder}/{feature-slug}/` exists → type = "feature", path = `{folder}/{feature-slug}`
29
- 2. If not, Glob `{folder}/*/changes/{feature-slug}/` → if found, type = "change", path = matched path, parent_path = parent directory
30
- 3. If multiple matches → AskUserQuestion listing all matches with full paths
31
- 4. If no match → error: `Feature not found: {feature-slug}`
19
+ ---
32
20
 
33
- Read `{path}/implement/IMPLEMENT.md` to identify what was implemented.
21
+ ## Step 1: Load config and validate
22
+
23
+ 1. Read `.rpi.yaml` for config. Apply defaults if missing:
24
+ - `folder`: `rpi/features`
25
+ - `context_file`: `rpi/context.md`
26
+ - `commit_style`: `conventional`
27
+ 2. Parse `$ARGUMENTS` to extract `{slug}`.
28
+ 3. Validate `rpi/features/{slug}/implement/IMPLEMENT.md` exists. If not:
29
+ ```
30
+ IMPLEMENT.md not found for '{slug}'. Run /rpi:implement {slug} first.
31
+ ```
32
+ Stop.
33
+ 4. Read `rpi/features/{slug}/implement/IMPLEMENT.md`. Verify all tasks are marked `[x]` (done). If any task is `[ ]` (pending) or `BLOCKED`:
34
+ ```
35
+ Implementation is not complete for '{slug}'. {N} tasks remaining.
36
+ Complete all tasks before simplifying: /rpi:implement {slug}
37
+ ```
38
+ Stop.
39
+
40
+ ## Step 2: Get implementation diff
41
+
42
+ 1. Read `rpi/features/{slug}/implement/IMPLEMENT.md` — extract all commit hashes from the Execution Log.
43
+ 2. Use git to get the combined diff of all implementation commits:
44
+ ```bash
45
+ git diff {first_commit}^..{last_commit}
46
+ ```
47
+ 3. Store the diff as `$IMPL_DIFF`.
48
+ 4. Collect the list of all files changed — store as `$CHANGED_FILES`.
49
+
50
+ ## Step 3: Gather context
51
+
52
+ 1. Read `rpi/features/{slug}/plan/eng.md` if it exists — store as `$ENG`.
53
+ 2. Read `rpi/context.md` (project context) if it exists — store as `$CONTEXT`.
54
+
55
+ ## Step 4: Run tests (baseline)
56
+
57
+ 1. Run the project's test suite to establish baseline:
58
+ ```bash
59
+ npm test # or whatever the project uses
60
+ ```
61
+ 2. If tests fail before simplification:
62
+ ```
63
+ Tests are already failing before simplification. Fix failing tests first.
64
+ ```
65
+ Stop.
66
+ 3. Store the test output as `$BASELINE_TESTS`.
67
+
68
+ ## Step 5: Launch Razor with 3 parallel sub-checks
69
+
70
+ Launch Razor agent with this prompt:
34
71
 
35
- Get the diff of all implementation changes:
36
- ```bash
37
- git diff HEAD~{number_of_commits}
38
72
  ```
73
+ You are Razor. Simplify the implementation for feature: {slug}
39
74
 
40
- If no git history, use the files listed in IMPLEMENT.md tasks and read them directly.
41
-
42
- ## 1b. Resolve model
43
-
44
- Resolve the model for the `implement` phase following the Model Resolution Algorithm in the rpi-workflow skill. Store as `{resolved_model}`. If a model is resolved, output the status message before agent spawns.
75
+ ## Implementation Diff
76
+ {$IMPL_DIFF}
45
77
 
46
- ## 2. Launch 3 parallel sub-agents
78
+ ## Changed Files
79
+ {$CHANGED_FILES}
47
80
 
48
- Use the Agent tool to launch all 3 concurrently in a single message. If a model was resolved in Step 1b, include `model: "{resolved_model}"` in each Agent tool call.
81
+ ## Engineering Spec
82
+ {$ENG}
49
83
 
50
- ### Agent 1: Reuse Checker
84
+ ## Project Context
85
+ {$CONTEXT}
51
86
 
52
- ```
53
- You are checking code for reuse opportunities.
54
-
55
- Here is the diff of recent changes:
56
- {diff}
57
-
58
- For each change:
59
- 1. Search the codebase for existing utilities and helpers that could replace newly written code. Use Grep to find similar patterns — check utility directories, shared modules, and adjacent files.
60
- 2. Flag any new function that duplicates existing functionality. Cite the existing function.
61
- 3. Flag inline logic that could use an existing utility — hand-rolled string manipulation, manual path handling, custom type guards.
62
-
63
- Output format:
64
- ## Reuse Findings
65
- - {file}:{line} — {description} → Use existing `{function}` from `{path}`
66
- ```
87
+ Your task — analyze the implementation across 3 dimensions IN PARALLEL:
67
88
 
68
- ### Agent 2: Quality Checker
89
+ ### 1. Reuse
90
+ - Scan for duplicated code within the changed files
91
+ - Scan for duplication against existing codebase utilities
92
+ - Identify extraction opportunities (shared functions, constants, types)
93
+ - Check for reimplemented functionality that already exists in the project
69
94
 
70
- ```
71
- You are checking code quality in recent changes.
95
+ ### 2. Quality
96
+ - Naming: unclear variable/function names, inconsistent conventions
97
+ - Complexity: functions doing too much, deep nesting, long parameter lists
98
+ - Code smells: magic numbers, dead code, commented-out code, unnecessary abstractions
99
+ - Consistency: does the new code match the patterns in context.md?
72
100
 
73
- Here is the diff of recent changes:
74
- {diff}
101
+ ### 3. Efficiency
102
+ - Algorithm choices: O(n^2) where O(n) is possible, unnecessary iterations
103
+ - Database/API queries: N+1 problems, missing batching, redundant calls
104
+ - Imports: unused imports, heavy imports where lighter alternatives exist
105
+ - Memory: unnecessary copies, large objects held in scope too long
75
106
 
76
- Check for:
77
- 1. Redundant state state that duplicates existing state, cached values that could be derived
78
- 2. Parameter sprawladding parameters instead of restructuring
79
- 3. Copy-paste with slight variation near-duplicate blocks that should be unified
80
- 4. Leaky abstractions exposing internals, breaking abstraction boundaries
81
- 5. Stringly-typed code raw strings where constants or enums exist
107
+ RULES:
108
+ 1. Read ALL changed files before making any modifications
109
+ 2. Apply fixes directly to the code do not just list suggestions
110
+ 3. Each fix must preserve existing behavior (no functional changes)
111
+ 4. Match the project's existing style and patterns
112
+ 5. Do NOT over-abstractonly extract if there are 3+ duplications
113
+ 6. After all fixes, list what you changed and why
82
114
 
83
115
  Output format:
84
- ## Quality Findings
85
- - {file}:{line} — {pattern}: {description}
116
+ ## Changes Applied
117
+ - {file}: {what changed} — {why}
118
+
119
+ ## Metrics
120
+ - Reuse: {N} fixes
121
+ - Quality: {N} fixes
122
+ - Efficiency: {N} fixes
123
+ - Lines removed: {N}
124
+ - Lines added: {N}
86
125
  ```
87
126
 
88
- ### Agent 3: Efficiency Checker
89
-
127
+ Store Razor's output as `$RAZOR_OUTPUT`.
128
+
129
+ ## Step 6: Run tests (verification)
130
+
131
+ 1. Run the project's test suite again:
132
+ ```bash
133
+ npm test
134
+ ```
135
+ 2. If tests fail after Razor's changes:
136
+ - Show the failing tests to the user.
137
+ - Revert Razor's changes: `git checkout -- .`
138
+ - Inform the user:
139
+ ```
140
+ Razor's changes broke {N} tests. Changes have been reverted.
141
+ Review the failures and re-run: /rpi:simplify {slug}
142
+ ```
143
+ - Stop.
144
+ 3. If all tests pass: continue.
145
+
146
+ ## Step 7: Commit simplification changes
147
+
148
+ 1. Stage all modified files:
149
+ ```bash
150
+ git add {list of files Razor modified}
151
+ ```
152
+ 2. Commit with a descriptive message following `commit_style` from config:
153
+ ```bash
154
+ git commit -m "refactor({slug}): simplify implementation — Razor"
155
+ ```
156
+ 3. Store the commit hash as `$SIMPLIFY_COMMIT`.
157
+
158
+ ## Step 8: Update IMPLEMENT.md
159
+
160
+ Append a simplification results section to `rpi/features/{slug}/implement/IMPLEMENT.md`:
161
+
162
+ ```markdown
163
+ ## Simplify
164
+
165
+ Agent: Razor
166
+ Date: {YYYY-MM-DD}
167
+ Commit: {$SIMPLIFY_COMMIT}
168
+
169
+ ### Changes
170
+ {list of changes from $RAZOR_OUTPUT}
171
+
172
+ ### Metrics
173
+ - Reuse fixes: {N}
174
+ - Quality fixes: {N}
175
+ - Efficiency fixes: {N}
176
+ - Net lines: {+/-N}
90
177
  ```
91
- You are checking code efficiency in recent changes.
92
178
 
93
- Here is the diff of recent changes:
94
- {diff}
179
+ ## Step 9: Output summary
95
180
 
96
- Check for:
97
- 1. Unnecessary work — redundant computations, repeated reads, duplicate API calls, N+1 patterns
98
- 2. Missed concurrency — independent operations run sequentially
99
- 3. Hot-path bloat — blocking work on startup or per-request paths
100
- 4. Unnecessary existence checks — TOCTOU anti-pattern
101
- 5. Memory — unbounded structures, missing cleanup, listener leaks
102
- 6. Overly broad operations — reading entire files when portion needed
103
-
104
- Output format:
105
- ## Efficiency Findings
106
- - {file}:{line} — {pattern}: {description}
107
181
  ```
182
+ Simplify complete: {slug}
108
183
 
109
- ## 3. Aggregate and fix
110
-
111
- After all 3 agents complete:
184
+ Razor applied {total} fixes:
185
+ - Reuse: {N}
186
+ - Quality: {N}
187
+ - Efficiency: {N}
112
188
 
113
- 1. Collect all findings
114
- 2. Skip false positives — if a finding doesn't apply or isn't worth fixing, skip silently
115
- 3. Fix each valid issue directly using Edit tool
116
- 4. For each fix, note what was changed
189
+ Tests: all passing
190
+ Commit: {$SIMPLIFY_COMMIT}
117
191
 
118
- ## 4. Output summary
119
-
120
- ```
121
- Simplify complete for {feature-slug}:
122
- - Reuse: {N} findings, {M} fixed
123
- - Quality: {N} findings, {M} fixed
124
- - Efficiency: {N} findings, {M} fixed
125
-
126
- {Or: "Code was already clean — no issues found."}
192
+ Next: /rpi {slug}
193
+ Or explicitly: /rpi:review {slug}
127
194
  ```
128
-
129
- After finishing, update IMPLEMENT.md `## Simplify Findings` section with the results.
130
-
131
- </process>
@@ -1,154 +1,131 @@
1
1
  ---
2
2
  name: rpi:status
3
- description: Show all RPI features and their current phase, progress, and status.
4
- argument-hint: "[feature-slug]"
3
+ description: Show all features, their current phase, and progress.
4
+ argument-hint: "[feature-name]"
5
5
  allowed-tools:
6
6
  - Read
7
7
  - Glob
8
8
  - Bash
9
9
  ---
10
10
 
11
- <objective>
12
- Display detailed status cards for all features (or a specific feature) in the RPI workflow.
13
- </objective>
11
+ # /rpi:status — Feature Status Dashboard
14
12
 
15
- <process>
13
+ Show all active features with their current phase, verdict, and progress. Optionally show detailed view for a specific feature.
16
14
 
17
- ## 1. Load config
18
-
19
- Read `.rpi.yaml` for folder path. Default to `rpi/` if not found. Also read `profile` and `models` keys.
20
-
21
- ## 2. Discover features and changes
15
+ ---
22
16
 
23
- Use Glob to find all top-level `REQUEST.md` files:
24
- ```
25
- {folder}/*/REQUEST.md
26
- ```
17
+ ## Step 1: Load config
27
18
 
28
- Each parent directory is a feature slug.
19
+ Read `.rpi.yaml` for config. Apply defaults if missing:
20
+ - `folder`: `rpi/features`
29
21
 
30
- Also find all change `REQUEST.md` files:
31
- ```
32
- {folder}/*/changes/*/REQUEST.md
33
- ```
22
+ Parse `$ARGUMENTS` to extract optional `{slug}` for detailed view.
34
23
 
35
- Parse each match to extract parent_slug and change_slug.
24
+ ## Step 2: Find all features
36
25
 
37
- If `$ARGUMENTS` specifies a slug:
38
- 1. Check if it matches a top-level feature → show that feature and its changes
39
- 2. If not, check if it matches a change slug → show just that change (with parent context)
40
- 3. Resolution follows the shared Resolve Feature Path logic:
41
- - Check `{folder}/{slug}/` exists → type = "feature"
42
- - Glob `{folder}/*/changes/{slug}/` → type = "change"
43
- - Multiple matches → AskUserQuestion
26
+ Glob `{folder}/*/REQUEST.md` to find all active features.
44
27
 
45
28
  If no features found:
46
29
  ```
47
- No RPI features found in {folder}/.
48
- Run /rpi:new to start your first feature.
30
+ No features found. Run /rpi:new to start.
49
31
  ```
32
+ Stop.
50
33
 
51
- ## 3. Determine phase for each feature
52
-
53
- For each feature slug, check which files exist:
34
+ ## Step 3: Detect phase for each feature
54
35
 
55
- - `REQUEST.md` exists, no `research/RESEARCH.md` Phase: **new**
56
- - `research/RESEARCH.md` exists, no `plan/PLAN.md` → Phase: **researched**
57
- - `plan/PLAN.md` exists, no `implement/IMPLEMENT.md` → Phase: **planned**
58
- - `implement/IMPLEMENT.md` exists → Phase: **implementing** or **complete**
36
+ For each feature directory found, determine the current phase by checking which artifacts exist:
59
37
 
60
- For each change, determine phase using the same logic as features,
61
- but looking in `{folder}/{parent_slug}/changes/{change_slug}/` instead.
38
+ 1. Has `REQUEST.md`, no `research/RESEARCH.md` phase = **request** (next: research)
39
+ 2. Has `research/RESEARCH.md`, no `plan/PLAN.md` → phase = **research** (next: plan)
40
+ 3. Has `plan/PLAN.md`, no `implement/IMPLEMENT.md` → phase = **plan** (next: implement)
41
+ 4. Has `implement/IMPLEMENT.md` with unchecked tasks (`- [ ]`) → phase = **implement** (in progress)
42
+ 5. Has `implement/IMPLEMENT.md` with all tasks checked, no "## Simplify" section → phase = **implement** (next: simplify)
43
+ 6. Has "## Simplify" section, no "## Review Verdict" section → phase = **simplify** (next: review)
44
+ 7. Has "## Review Verdict" with PASS → phase = **review** (next: docs)
45
+ 8. Everything done → phase = **complete**
62
46
 
63
- ## 4. Gather details per feature
47
+ ## Step 4: Gather metadata per feature
64
48
 
65
- For each feature, read the relevant files to extract:
49
+ For each feature:
66
50
 
67
- **If researched or later:**
68
- - Read RESEARCH.md executive summary for verdict and complexity
51
+ ### Verdict
52
+ - Read `research/RESEARCH.md` if it exists. Look for `## Verdict` section. Extract: GO | GO with concerns | NO-GO.
53
+ - If no RESEARCH.md: verdict = "pending"
69
54
 
70
- **If planned or later:**
71
- - Read PLAN.md to count total tasks and phases
55
+ ### Complexity
56
+ - Read `REQUEST.md`. Look for `## Complexity Estimate` section. Extract: S | M | L | XL.
57
+ - If not found: complexity = "unknown"
72
58
 
73
- **If implementing:**
74
- - Check for checkpoint files in `{folder}/{slug}/implement/checkpoints/`
75
- - If checkpoints exist:
76
- - Read each checkpoint file, parse status and task_id
77
- - Count done / blocked / deviated / rolled_back
78
- - Identify current task (first unchecked in PLAN.md order that has no checkpoint)
79
- - Read latest session file in `sessions/` for session count and tier
80
- - If no checkpoints (old-style):
81
- - Fall back to reading IMPLEMENT.md for `[x]` vs `[ ]` counts
82
- - Check for review verdict in IMPLEMENT.md
59
+ ### Task progress (if plan/implement exists)
60
+ - Read `plan/PLAN.md` if it exists. Count total tasks (lines matching `- [ ]` or `- [x]` pattern).
61
+ - Read `implement/IMPLEMENT.md` if it exists. Count completed tasks (`- [x]`) vs total.
62
+ - Express as: `{completed}/{total} tasks`
83
63
 
84
- **If complete:**
85
- - Read IMPLEMENT.md for final review verdict and completion timestamp
64
+ ## Step 5: Display status
86
65
 
87
- ## 5. Display detailed cards
66
+ ### If no specific feature requested (overview mode)
88
67
 
89
- First, display the active profile at the top of the output. Resolve the effective model for each phase using the Model Resolution Algorithm in the rpi-workflow skill:
90
- - With profile: `Profile: {profile} (research: {model}, plan: {model}, implement: {model}, review: {model})`
91
- - With overrides, mark overridden phases with `*`: `Profile: balanced (research: opus, plan: opus, implement: opus*, review: opus)`
92
- - No profile: `Profile: none (inheriting parent model)`
68
+ Output a status card per feature, sorted by phase (most advanced first):
93
69
 
94
- Then output a card per feature:
95
-
96
- ```markdown
97
- ## {feature-slug}
98
- Phase: {phase} ({progress details})
99
- Verdict: {GO|GO with concerns|NO-GO|—}
100
- {Complexity: S|M|L|XL (if known)}
101
- {Tier: 1|2|3 (context weight: {weight}) (if implementing)}
102
- {Sessions: {count} (if implementing with checkpoints)}
103
- {Current: Task {id} — {name} (if implementing)}
104
- {Blocked: Task {id} — {reason} (if any blocked)}
105
- {Review: PASS|FAIL (if reviewed)}
106
70
  ```
71
+ # RPI Status
107
72
 
108
- ### Example output:
73
+ ## {feature-slug}
74
+ Phase: {phase} {task_progress if applicable}
75
+ Verdict: {verdict}
76
+ Complexity: {complexity}
109
77
 
110
- ```markdown
111
- # RPI Status
78
+ ## {feature-slug-2}
79
+ Phase: {phase}
80
+ Verdict: {verdict}
81
+ Complexity: {complexity}
112
82
 
113
- Profile: balanced (research: opus, plan: opus, implement: sonnet, review: opus)
114
-
115
- ## oauth2-auth
116
- Phase: implement (6/9 tasks)
117
- Verdict: GO
118
- Complexity: M
119
- Tier: 2 (context weight: 14.5)
120
- Sessions: 2
121
- Current: Task 2.1 — Login component
122
- └─ add-social-login [research: GO]
123
- └─ fix-token-refresh [new]
124
-
125
- ## payment-system
126
- Phase: research
127
- Verdict: pending
128
- Complexity: —
129
-
130
- ## dark-mode
131
- Phase: plan (ready to implement)
132
- Verdict: GO
133
- Complexity: S
134
-
135
- ## csv-export
136
- Phase: new
137
- Verdict: —
83
+ ---
84
+ {total_count} feature(s) active
138
85
  ```
139
86
 
140
- Changes are displayed indented under their parent feature with `└─` prefix.
141
- Each change shows its own phase status using the same rules as features.
87
+ Phase display format:
88
+ - `request` "request (awaiting research)"
89
+ - `research` → "research (awaiting plan)"
90
+ - `plan` → "plan (awaiting implement)"
91
+ - `implement` → "implement ({completed}/{total} tasks)"
92
+ - `simplify` → "simplify (awaiting review)"
93
+ - `review` → "review (awaiting docs)"
94
+ - `complete` → "complete"
142
95
 
143
- ## 6. Suggest next action
96
+ ### If specific feature requested (detailed mode)
144
97
 
145
- For each feature, suggest the logical next command:
146
- - **new** → `/rpi:research {slug}`
147
- - **researched (GO)** → `/rpi:plan {slug}`
148
- - **researched (NO-GO)** → Review alternatives or `/rpi:plan {slug} --force`
149
- - **planned** → `/rpi:implement {slug}`
150
- - **implementing** → `/rpi:implement {slug} --resume`
151
- - **complete (PASS)** → Done
152
- - **complete (FAIL)** → `/rpi:review {slug}`
98
+ If `{slug}` was provided in arguments, show detailed view for that feature:
153
99
 
154
- </process>
100
+ ```
101
+ # RPI Status: {slug}
102
+
103
+ Phase: {phase} {task_progress}
104
+ Verdict: {verdict}
105
+ Complexity: {complexity}
106
+
107
+ ## Artifacts
108
+ - REQUEST.md: {exists/missing}
109
+ - research/RESEARCH.md: {exists/missing}
110
+ - plan/PLAN.md: {exists/missing}
111
+ - plan/eng.md: {exists/missing}
112
+ - plan/pm.md: {exists/missing}
113
+ - plan/ux.md: {exists/missing}
114
+ - implement/IMPLEMENT.md: {exists/missing}
115
+ - delta/: {count of files in ADDED + MODIFIED + REMOVED}
116
+
117
+ ## Tasks
118
+ {If PLAN.md exists, list all tasks with their status: [x] or [ ]}
119
+
120
+ ## Review
121
+ {If Review Verdict exists in IMPLEMENT.md, show verdict and finding counts}
122
+
123
+ ## Next
124
+ {Suggest the next command to run, e.g. "/rpi {slug}" or "/rpi:archive {slug}" if complete}
125
+ ```
126
+
127
+ If the requested feature does not exist:
128
+ ```
129
+ Feature '{slug}' not found. Available features:
130
+ - {list of existing feature slugs}
131
+ ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "rpi-kit",
3
- "version": "1.4.0",
4
- "description": "Research → Plan → Implement. A systematic feature development workflow for Claude Code.",
3
+ "version": "2.0.0",
4
+ "description": "Research → Plan → Implement. AI-assisted feature development with 13 named agents, delta specs, and knowledge compounding.",
5
5
  "license": "MIT",
6
6
  "author": "Daniel Mendes",
7
7
  "repository": {
@@ -28,12 +28,16 @@
28
28
  "agents/",
29
29
  "skills/",
30
30
  "AGENTS.md",
31
- "codex.md",
31
+ "CHANGELOG.md",
32
32
  "README.md",
33
33
  "LICENSE"
34
34
  ],
35
35
  "scripts": {
36
36
  "test": "node --test test/cli.test.js test/commands.test.js",
37
37
  "postinstall": "node bin/cli.js install --silent"
38
+ },
39
+ "dependencies": {
40
+ "@clack/prompts": "^1.1.0",
41
+ "picocolors": "^1.1.1"
38
42
  }
39
43
  }