kodelyth-ecc 1.5.10 → 1.7.1

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 (273) hide show
  1. package/.github/workflows/publish.yml +19 -0
  2. package/AGENTS.md +1 -1
  3. package/CHANGELOG.md +475 -0
  4. package/CLAUDE.md +48 -16
  5. package/README.md +285 -81
  6. package/VERSION +1 -1
  7. package/actions/ecc-review/README.md +243 -0
  8. package/actions/ecc-review/action.yml +158 -0
  9. package/actions/ecc-review/post-comment.js +171 -0
  10. package/actions/ecc-review/run-review.js +285 -0
  11. package/agents/backdoor-hunter.md +260 -0
  12. package/agents/chaos-engineer.md +251 -0
  13. package/agents/code-stealer-detector.md +228 -0
  14. package/agents/jailbreak-tester.md +222 -0
  15. package/agents/license-violation-finder.md +212 -0
  16. package/agents/prompt-injection-hunter.md +126 -0
  17. package/agents/secret-hunter.md +209 -0
  18. package/agents/supply-chain-auditor.md +195 -0
  19. package/bin/kodelyth-ecc.js +875 -1
  20. package/bundles/enterprise.md +172 -0
  21. package/bundles/indie-hacker.md +106 -0
  22. package/bundles/red-team.md +138 -0
  23. package/cat +0 -0
  24. package/commands/dashboard.md +67 -0
  25. package/commands/devil-mode.md +121 -0
  26. package/commands/memory-evolve.md +71 -0
  27. package/commands/replay.md +61 -0
  28. package/commands/route-model.md +48 -0
  29. package/commands/swarm.md +68 -0
  30. package/commands/verify-supply-chain.md +59 -0
  31. package/docs/dashboard.md +211 -0
  32. package/docs/evolve.md +303 -0
  33. package/docs/mcp-clients.md +167 -0
  34. package/docs/mcp.md +178 -0
  35. package/docs/replay.md +244 -0
  36. package/docs/supply-chain.md +207 -0
  37. package/docs/swarm.md +243 -0
  38. package/hooks/hooks.json +52 -0
  39. package/hooks/memory/auto-recall.js +29 -1
  40. package/hooks/safety/README.md +124 -0
  41. package/hooks/safety/lib/patterns.js +179 -0
  42. package/hooks/safety/prompt-injection-guard.js +179 -0
  43. package/hooks/safety/token-budget.js +229 -0
  44. package/install.ps1 +199 -2
  45. package/install.sh +285 -3
  46. package/package.json +30 -4
  47. package/rules/common/agent-intent-routing.md +182 -0
  48. package/rules/common/cost-aware-model-routing.md +152 -0
  49. package/scripts/dashboard/data.js +353 -0
  50. package/scripts/dashboard/server.js +324 -0
  51. package/scripts/dashboard/static/index.html +645 -0
  52. package/scripts/evolve/analyze.js +303 -0
  53. package/scripts/evolve/proposals.js +162 -0
  54. package/scripts/evolve/stats.js +219 -0
  55. package/scripts/mcp/catalog.js +244 -0
  56. package/scripts/mcp/client.js +181 -0
  57. package/scripts/mcp/prompts.js +133 -0
  58. package/scripts/mcp/resources.js +94 -0
  59. package/scripts/mcp/server.js +153 -0
  60. package/scripts/mcp/tools.js +465 -0
  61. package/scripts/replay/bundle.js +191 -0
  62. package/scripts/replay/replay.js +107 -0
  63. package/scripts/router/classify.js +232 -0
  64. package/scripts/supply-chain/manifest.js +155 -0
  65. package/scripts/supply-chain/sbom.js +202 -0
  66. package/scripts/supply-chain/verify.js +102 -0
  67. package/scripts/swarm/build-plan.js +193 -0
  68. package/skills/cost-aware-model-routing/SKILL.md +153 -0
  69. package/skills/kodelyth-quickstart/SKILL.md +7 -0
  70. package/skills/observability-dashboard/SKILL.md +119 -0
  71. package/skills/self-evolving-memory/SKILL.md +175 -0
  72. package/skills/session-replay/SKILL.md +199 -0
  73. package/skills/supply-chain-verification/SKILL.md +201 -0
  74. package/skills/swarm-orchestrator/SKILL.md +177 -0
  75. package/social/card-install.svg +1 -1
  76. package/social/facebook-group/POST.md +121 -0
  77. package/social/facebook-group/fb-1-3am-debug.png +0 -0
  78. package/social/facebook-group/fb-1-3am-debug.svg +97 -0
  79. package/social/facebook-group/fb-2-cpu-upgrade.png +0 -0
  80. package/social/facebook-group/fb-2-cpu-upgrade.svg +132 -0
  81. package/social/facebook-group/fb-3-before-after.png +0 -0
  82. package/social/facebook-group/fb-3-before-after.svg +94 -0
  83. package/social/facebook-v150.svg +6 -6
  84. package/social/github-social-preview.svg +119 -100
  85. package/social/readme-hero.svg +12 -12
  86. package/social/section-agents.svg +57 -0
  87. package/social/section-author.svg +54 -0
  88. package/social/section-dashboard.svg +59 -0
  89. package/social/section-devil.svg +54 -0
  90. package/social/section-hooks.svg +51 -0
  91. package/social/section-install.svg +42 -0
  92. package/social/section-learning.svg +52 -0
  93. package/social/section-mcp.svg +46 -0
  94. package/social/section-memory.svg +57 -0
  95. package/social/section-parallel.svg +72 -0
  96. package/social/section-routing.svg +51 -0
  97. package/social/x-card-agents-grid.svg +6 -6
  98. package/tests/dashboard/data.test.js +235 -0
  99. package/tests/dashboard/server.test.js +240 -0
  100. package/tests/evolve/analyze.test.js +169 -0
  101. package/tests/evolve/proposals.test.js +173 -0
  102. package/tests/evolve/stats.test.js +167 -0
  103. package/tests/mcp/catalog.test.js +98 -0
  104. package/tests/mcp/client.test.js +113 -0
  105. package/tests/mcp/resources-prompts.test.js +70 -0
  106. package/tests/mcp/tools.test.js +159 -0
  107. package/tests/replay/bundle.test.js +181 -0
  108. package/tests/replay/replay.test.js +131 -0
  109. package/tests/router/classify.test.js +164 -0
  110. package/tests/safety/patterns.test.js +94 -0
  111. package/tests/safety/prompt-injection-guard.test.js +111 -0
  112. package/tests/safety/token-budget.test.js +119 -0
  113. package/tests/supply-chain/manifest.test.js +147 -0
  114. package/tests/supply-chain/sbom.test.js +170 -0
  115. package/tests/supply-chain/verify.test.js +146 -0
  116. package/tests/swarm/build-plan.test.js +188 -0
  117. package/wiki/Agent-Reference.md +58 -7
  118. package/wiki/FAQ.md +204 -7
  119. package/wiki/Home.md +104 -29
  120. package/wiki/Hook-Reference.md +1 -1
  121. package/wiki/Installation-Guide.md +109 -6
  122. package/wiki/Platform-Support.md +189 -72
  123. package/wiki/Skill-Reference.md +101 -6
  124. package/.agent/rules/README.md +0 -108
  125. package/.agent/rules/agents.md +0 -94
  126. package/.agent/rules/code-review.md +0 -124
  127. package/.agent/rules/coding-style.md +0 -122
  128. package/.agent/rules/design-quality.md +0 -63
  129. package/.agent/rules/development-workflow.md +0 -44
  130. package/.agent/rules/git-mastery.md +0 -366
  131. package/.agent/rules/git-workflow.md +0 -24
  132. package/.agent/rules/hooks.md +0 -25
  133. package/.agent/rules/kodelyth-always-on.md +0 -63
  134. package/.agent/rules/kodelyth-quickstart.md +0 -207
  135. package/.agent/rules/observability.md +0 -390
  136. package/.agent/rules/patterns.md +0 -50
  137. package/.agent/rules/performance.md +0 -178
  138. package/.agent/rules/security.md +0 -58
  139. package/.agent/rules/smart-debug.md +0 -241
  140. package/.agent/rules/soul.md +0 -32
  141. package/.agent/rules/testing.md +0 -46
  142. package/.agent/skills/api-guardian.md +0 -279
  143. package/.agent/skills/architect.md +0 -211
  144. package/.agent/skills/build-error-resolver.md +0 -114
  145. package/.agent/skills/chief-of-staff.md +0 -151
  146. package/.agent/skills/code-architect.md +0 -71
  147. package/.agent/skills/code-explorer.md +0 -69
  148. package/.agent/skills/code-reviewer.md +0 -237
  149. package/.agent/skills/code-simplifier.md +0 -47
  150. package/.agent/skills/comment-analyzer.md +0 -45
  151. package/.agent/skills/conversation-analyzer.md +0 -52
  152. package/.agent/skills/cpp-build-resolver.md +0 -90
  153. package/.agent/skills/cpp-reviewer.md +0 -72
  154. package/.agent/skills/csharp-reviewer.md +0 -101
  155. package/.agent/skills/dart-build-resolver.md +0 -201
  156. package/.agent/skills/database-reviewer.md +0 -91
  157. package/.agent/skills/debug-detective.md +0 -409
  158. package/.agent/skills/doc-updater.md +0 -107
  159. package/.agent/skills/docs-lookup.md +0 -68
  160. package/.agent/skills/e2e-runner.md +0 -107
  161. package/.agent/skills/flutter-reviewer.md +0 -243
  162. package/.agent/skills/gan-evaluator.md +0 -209
  163. package/.agent/skills/gan-generator.md +0 -131
  164. package/.agent/skills/gan-planner.md +0 -99
  165. package/.agent/skills/go-build-resolver.md +0 -94
  166. package/.agent/skills/go-reviewer.md +0 -76
  167. package/.agent/skills/harness-optimizer.md +0 -35
  168. package/.agent/skills/healthcare-reviewer.md +0 -83
  169. package/.agent/skills/java-build-resolver.md +0 -153
  170. package/.agent/skills/java-reviewer.md +0 -92
  171. package/.agent/skills/kodelyth-advisor.md +0 -172
  172. package/.agent/skills/kotlin-build-resolver.md +0 -118
  173. package/.agent/skills/kotlin-reviewer.md +0 -159
  174. package/.agent/skills/loop-operator.md +0 -36
  175. package/.agent/skills/migration-guide.md +0 -368
  176. package/.agent/skills/opensource-forker.md +0 -198
  177. package/.agent/skills/opensource-packager.md +0 -249
  178. package/.agent/skills/opensource-sanitizer.md +0 -188
  179. package/.agent/skills/pair-programmer.md +0 -260
  180. package/.agent/skills/performance-optimizer.md +0 -446
  181. package/.agent/skills/planner.md +0 -212
  182. package/.agent/skills/pr-test-analyzer.md +0 -45
  183. package/.agent/skills/python-reviewer.md +0 -98
  184. package/.agent/skills/pytorch-build-resolver.md +0 -120
  185. package/.agent/skills/refactor-cleaner.md +0 -85
  186. package/.agent/skills/rust-build-resolver.md +0 -148
  187. package/.agent/skills/rust-reviewer.md +0 -94
  188. package/.agent/skills/security-reviewer.md +0 -108
  189. package/.agent/skills/seo-specialist.md +0 -62
  190. package/.agent/skills/silent-failure-hunter.md +0 -50
  191. package/.agent/skills/tdd-guide.md +0 -91
  192. package/.agent/skills/type-design-analyzer.md +0 -41
  193. package/.agent/skills/typescript-reviewer.md +0 -112
  194. package/.agent/skills/ux-reviewer.md +0 -483
  195. package/.agent/workflows/agent-sort.md +0 -23
  196. package/.agent/workflows/aside.md +0 -164
  197. package/.agent/workflows/build-fix.md +0 -62
  198. package/.agent/workflows/checkpoint.md +0 -74
  199. package/.agent/workflows/claw.md +0 -23
  200. package/.agent/workflows/code-review.md +0 -289
  201. package/.agent/workflows/context-budget.md +0 -23
  202. package/.agent/workflows/cpp-build.md +0 -173
  203. package/.agent/workflows/cpp-review.md +0 -132
  204. package/.agent/workflows/cpp-test.md +0 -251
  205. package/.agent/workflows/devfleet.md +0 -23
  206. package/.agent/workflows/docs.md +0 -23
  207. package/.agent/workflows/e2e.md +0 -268
  208. package/.agent/workflows/eval.md +0 -23
  209. package/.agent/workflows/evolve.md +0 -178
  210. package/.agent/workflows/feature-dev.md +0 -49
  211. package/.agent/workflows/flutter-build.md +0 -164
  212. package/.agent/workflows/flutter-review.md +0 -116
  213. package/.agent/workflows/flutter-test.md +0 -144
  214. package/.agent/workflows/gan-build.md +0 -99
  215. package/.agent/workflows/gan-design.md +0 -35
  216. package/.agent/workflows/go-build.md +0 -183
  217. package/.agent/workflows/go-review.md +0 -148
  218. package/.agent/workflows/go-test.md +0 -268
  219. package/.agent/workflows/gradle-build.md +0 -70
  220. package/.agent/workflows/harness-audit.md +0 -73
  221. package/.agent/workflows/hookify-configure.md +0 -14
  222. package/.agent/workflows/hookify-help.md +0 -46
  223. package/.agent/workflows/hookify-list.md +0 -21
  224. package/.agent/workflows/hookify.md +0 -50
  225. package/.agent/workflows/instinct-export.md +0 -66
  226. package/.agent/workflows/instinct-import.md +0 -114
  227. package/.agent/workflows/instinct-status.md +0 -59
  228. package/.agent/workflows/jira.md +0 -106
  229. package/.agent/workflows/kotlin-build.md +0 -174
  230. package/.agent/workflows/kotlin-review.md +0 -140
  231. package/.agent/workflows/kotlin-test.md +0 -312
  232. package/.agent/workflows/learn-eval.md +0 -116
  233. package/.agent/workflows/learn.md +0 -70
  234. package/.agent/workflows/loop-start.md +0 -32
  235. package/.agent/workflows/loop-status.md +0 -24
  236. package/.agent/workflows/model-route.md +0 -26
  237. package/.agent/workflows/multi-backend.md +0 -158
  238. package/.agent/workflows/multi-execute.md +0 -315
  239. package/.agent/workflows/multi-frontend.md +0 -158
  240. package/.agent/workflows/multi-plan.md +0 -268
  241. package/.agent/workflows/multi-workflow.md +0 -191
  242. package/.agent/workflows/orchestrate.md +0 -135
  243. package/.agent/workflows/plan.md +0 -117
  244. package/.agent/workflows/pm2.md +0 -272
  245. package/.agent/workflows/projects.md +0 -39
  246. package/.agent/workflows/promote.md +0 -41
  247. package/.agent/workflows/prompt-optimize.md +0 -23
  248. package/.agent/workflows/prp-commit.md +0 -112
  249. package/.agent/workflows/prp-implement.md +0 -385
  250. package/.agent/workflows/prp-plan.md +0 -502
  251. package/.agent/workflows/prp-pr.md +0 -184
  252. package/.agent/workflows/prp-prd.md +0 -447
  253. package/.agent/workflows/prune.md +0 -31
  254. package/.agent/workflows/python-review.md +0 -297
  255. package/.agent/workflows/quality-gate.md +0 -29
  256. package/.agent/workflows/refactor-clean.md +0 -80
  257. package/.agent/workflows/resume-session.md +0 -156
  258. package/.agent/workflows/review-pr.md +0 -37
  259. package/.agent/workflows/rules-distill.md +0 -20
  260. package/.agent/workflows/rust-build.md +0 -187
  261. package/.agent/workflows/rust-review.md +0 -142
  262. package/.agent/workflows/rust-test.md +0 -308
  263. package/.agent/workflows/santa-loop.md +0 -175
  264. package/.agent/workflows/save-session.md +0 -275
  265. package/.agent/workflows/sessions.md +0 -333
  266. package/.agent/workflows/setup-pm.md +0 -80
  267. package/.agent/workflows/skill-create.md +0 -174
  268. package/.agent/workflows/skill-health.md +0 -54
  269. package/.agent/workflows/tdd.md +0 -231
  270. package/.agent/workflows/test-coverage.md +0 -69
  271. package/.agent/workflows/update-codemaps.md +0 -72
  272. package/.agent/workflows/update-docs.md +0 -84
  273. package/.agent/workflows/verify.md +0 -23
@@ -1,447 +0,0 @@
1
- ---
2
- description: Interactive PRD generator - problem-first, hypothesis-driven product spec with back-and-forth questioning
3
- argument-hint: [feature/product idea] (blank = start with questions)
4
- ---
5
-
6
- # Product Requirements Document Generator
7
-
8
- > Adapted from PRPs-agentic-eng by Wirasm. Part of the PRP workflow series.
9
-
10
- **Input**: $ARGUMENTS
11
-
12
- ---
13
-
14
- ## Your Role
15
-
16
- You are a sharp product manager who:
17
- - Starts with PROBLEMS, not solutions
18
- - Demands evidence before building
19
- - Thinks in hypotheses, not specs
20
- - Asks clarifying questions before assuming
21
- - Acknowledges uncertainty honestly
22
-
23
- **Anti-pattern**: Don't fill sections with fluff. If info is missing, write "TBD - needs research" rather than inventing plausible-sounding requirements.
24
-
25
- ---
26
-
27
- ## Process Overview
28
-
29
- ```
30
- QUESTION SET 1 → GROUNDING → QUESTION SET 2 → RESEARCH → QUESTION SET 3 → GENERATE
31
- ```
32
-
33
- Each question set builds on previous answers. Grounding phases validate assumptions.
34
-
35
- ---
36
-
37
- ## Phase 1: INITIATE - Core Problem
38
-
39
- **If no input provided**, ask:
40
-
41
- > **What do you want to build?**
42
- > Describe the product, feature, or capability in a few sentences.
43
-
44
- **If input provided**, confirm understanding by restating:
45
-
46
- > I understand you want to build: {restated understanding}
47
- > Is this correct, or should I adjust my understanding?
48
-
49
- **GATE**: Wait for user response before proceeding.
50
-
51
- ---
52
-
53
- ## Phase 2: FOUNDATION - Problem Discovery
54
-
55
- Ask these questions (present all at once, user can answer together):
56
-
57
- > **Foundation Questions:**
58
- >
59
- > 1. **Who** has this problem? Be specific - not just "users" but what type of person/role?
60
- >
61
- > 2. **What** problem are they facing? Describe the observable pain, not the assumed need.
62
- >
63
- > 3. **Why** can't they solve it today? What alternatives exist and why do they fail?
64
- >
65
- > 4. **Why now?** What changed that makes this worth building?
66
- >
67
- > 5. **How** will you know if you solved it? What would success look like?
68
-
69
- **GATE**: Wait for user responses before proceeding.
70
-
71
- ---
72
-
73
- ## Phase 3: GROUNDING - Market & Context Research
74
-
75
- After foundation answers, conduct research:
76
-
77
- **Research market context:**
78
-
79
- 1. Find similar products/features in the market
80
- 2. Identify how competitors solve this problem
81
- 3. Note common patterns and anti-patterns
82
- 4. Check for recent trends or changes in this space
83
-
84
- Compile findings with direct links, key insights, and any gaps in available information.
85
-
86
- **If a codebase exists, explore it in parallel:**
87
-
88
- 1. Find existing functionality relevant to the product/feature idea
89
- 2. Identify patterns that could be leveraged
90
- 3. Note technical constraints or opportunities
91
-
92
- Record file locations, code patterns, and conventions observed.
93
-
94
- **Summarize findings to user:**
95
-
96
- > **What I found:**
97
- > - {Market insight 1}
98
- > - {Competitor approach}
99
- > - {Relevant pattern from codebase, if applicable}
100
- >
101
- > Does this change or refine your thinking?
102
-
103
- **GATE**: Brief pause for user input (can be "continue" or adjustments).
104
-
105
- ---
106
-
107
- ## Phase 4: DEEP DIVE - Vision & Users
108
-
109
- Based on foundation + research, ask:
110
-
111
- > **Vision & Users:**
112
- >
113
- > 1. **Vision**: In one sentence, what's the ideal end state if this succeeds wildly?
114
- >
115
- > 2. **Primary User**: Describe your most important user - their role, context, and what triggers their need.
116
- >
117
- > 3. **Job to Be Done**: Complete this: "When [situation], I want to [motivation], so I can [outcome]."
118
- >
119
- > 4. **Non-Users**: Who is explicitly NOT the target? Who should we ignore?
120
- >
121
- > 5. **Constraints**: What limitations exist? (time, budget, technical, regulatory)
122
-
123
- **GATE**: Wait for user responses before proceeding.
124
-
125
- ---
126
-
127
- ## Phase 5: GROUNDING - Technical Feasibility
128
-
129
- **If a codebase exists, perform two parallel investigations:**
130
-
131
- Investigation 1 — Explore feasibility:
132
- 1. Identify existing infrastructure that can be leveraged
133
- 2. Find similar patterns already implemented
134
- 3. Map integration points and dependencies
135
- 4. Locate relevant configuration and type definitions
136
-
137
- Record file locations, code patterns, and conventions observed.
138
-
139
- Investigation 2 — Analyze constraints:
140
- 1. Trace how existing related features are implemented end-to-end
141
- 2. Map data flow through potential integration points
142
- 3. Identify architectural patterns and boundaries
143
- 4. Estimate complexity based on similar features
144
-
145
- Document what exists with precise file:line references. No suggestions.
146
-
147
- **If no codebase, research technical approaches:**
148
-
149
- 1. Find technical approaches others have used
150
- 2. Identify common implementation patterns
151
- 3. Note known technical challenges and pitfalls
152
-
153
- Compile findings with citations and gap analysis.
154
-
155
- **Summarize to user:**
156
-
157
- > **Technical Context:**
158
- > - Feasibility: {HIGH/MEDIUM/LOW} because {reason}
159
- > - Can leverage: {existing patterns/infrastructure}
160
- > - Key technical risk: {main concern}
161
- >
162
- > Any technical constraints I should know about?
163
-
164
- **GATE**: Brief pause for user input.
165
-
166
- ---
167
-
168
- ## Phase 6: DECISIONS - Scope & Approach
169
-
170
- Ask final clarifying questions:
171
-
172
- > **Scope & Approach:**
173
- >
174
- > 1. **MVP Definition**: What's the absolute minimum to test if this works?
175
- >
176
- > 2. **Must Have vs Nice to Have**: What 2-3 things MUST be in v1? What can wait?
177
- >
178
- > 3. **Key Hypothesis**: Complete this: "We believe [capability] will [solve problem] for [users]. We'll know we're right when [measurable outcome]."
179
- >
180
- > 4. **Out of Scope**: What are you explicitly NOT building (even if users ask)?
181
- >
182
- > 5. **Open Questions**: What uncertainties could change the approach?
183
-
184
- **GATE**: Wait for user responses before generating.
185
-
186
- ---
187
-
188
- ## Phase 7: GENERATE - Write PRD
189
-
190
- **Output path**: `.claude/PRPs/prds/{kebab-case-name}.prd.md`
191
-
192
- Create directory if needed: `mkdir -p .claude/PRPs/prds`
193
-
194
- ### PRD Template
195
-
196
- ```markdown
197
- # {Product/Feature Name}
198
-
199
- ## Problem Statement
200
-
201
- {2-3 sentences: Who has what problem, and what's the cost of not solving it?}
202
-
203
- ## Evidence
204
-
205
- - {User quote, data point, or observation that proves this problem exists}
206
- - {Another piece of evidence}
207
- - {If none: "Assumption - needs validation through [method]"}
208
-
209
- ## Proposed Solution
210
-
211
- {One paragraph: What we're building and why this approach over alternatives}
212
-
213
- ## Key Hypothesis
214
-
215
- We believe {capability} will {solve problem} for {users}.
216
- We'll know we're right when {measurable outcome}.
217
-
218
- ## What We're NOT Building
219
-
220
- - {Out of scope item 1} - {why}
221
- - {Out of scope item 2} - {why}
222
-
223
- ## Success Metrics
224
-
225
- | Metric | Target | How Measured |
226
- |--------|--------|--------------|
227
- | {Primary metric} | {Specific number} | {Method} |
228
- | {Secondary metric} | {Specific number} | {Method} |
229
-
230
- ## Open Questions
231
-
232
- - [ ] {Unresolved question 1}
233
- - [ ] {Unresolved question 2}
234
-
235
- ---
236
-
237
- ## Users & Context
238
-
239
- **Primary User**
240
- - **Who**: {Specific description}
241
- - **Current behavior**: {What they do today}
242
- - **Trigger**: {What moment triggers the need}
243
- - **Success state**: {What "done" looks like}
244
-
245
- **Job to Be Done**
246
- When {situation}, I want to {motivation}, so I can {outcome}.
247
-
248
- **Non-Users**
249
- {Who this is NOT for and why}
250
-
251
- ---
252
-
253
- ## Solution Detail
254
-
255
- ### Core Capabilities (MoSCoW)
256
-
257
- | Priority | Capability | Rationale |
258
- |----------|------------|-----------|
259
- | Must | {Feature} | {Why essential} |
260
- | Must | {Feature} | {Why essential} |
261
- | Should | {Feature} | {Why important but not blocking} |
262
- | Could | {Feature} | {Nice to have} |
263
- | Won't | {Feature} | {Explicitly deferred and why} |
264
-
265
- ### MVP Scope
266
-
267
- {What's the minimum to validate the hypothesis}
268
-
269
- ### User Flow
270
-
271
- {Critical path - shortest journey to value}
272
-
273
- ---
274
-
275
- ## Technical Approach
276
-
277
- **Feasibility**: {HIGH/MEDIUM/LOW}
278
-
279
- **Architecture Notes**
280
- - {Key technical decision and why}
281
- - {Dependency or integration point}
282
-
283
- **Technical Risks**
284
-
285
- | Risk | Likelihood | Mitigation |
286
- |------|------------|------------|
287
- | {Risk} | {H/M/L} | {How to handle} |
288
-
289
- ---
290
-
291
- ## Implementation Phases
292
-
293
- <!--
294
- STATUS: pending | in-progress | complete
295
- PARALLEL: phases that can run concurrently (e.g., "with 3" or "-")
296
- DEPENDS: phases that must complete first (e.g., "1, 2" or "-")
297
- PRP: link to generated plan file once created
298
- -->
299
-
300
- | # | Phase | Description | Status | Parallel | Depends | PRP Plan |
301
- |---|-------|-------------|--------|----------|---------|----------|
302
- | 1 | {Phase name} | {What this phase delivers} | pending | - | - | - |
303
- | 2 | {Phase name} | {What this phase delivers} | pending | - | 1 | - |
304
- | 3 | {Phase name} | {What this phase delivers} | pending | with 4 | 2 | - |
305
- | 4 | {Phase name} | {What this phase delivers} | pending | with 3 | 2 | - |
306
- | 5 | {Phase name} | {What this phase delivers} | pending | - | 3, 4 | - |
307
-
308
- ### Phase Details
309
-
310
- **Phase 1: {Name}**
311
- - **Goal**: {What we're trying to achieve}
312
- - **Scope**: {Bounded deliverables}
313
- - **Success signal**: {How we know it's done}
314
-
315
- **Phase 2: {Name}**
316
- - **Goal**: {What we're trying to achieve}
317
- - **Scope**: {Bounded deliverables}
318
- - **Success signal**: {How we know it's done}
319
-
320
- {Continue for each phase...}
321
-
322
- ### Parallelism Notes
323
-
324
- {Explain which phases can run in parallel and why}
325
-
326
- ---
327
-
328
- ## Decisions Log
329
-
330
- | Decision | Choice | Alternatives | Rationale |
331
- |----------|--------|--------------|-----------|
332
- | {Decision} | {Choice} | {Options considered} | {Why this one} |
333
-
334
- ---
335
-
336
- ## Research Summary
337
-
338
- **Market Context**
339
- {Key findings from market research}
340
-
341
- **Technical Context**
342
- {Key findings from technical exploration}
343
-
344
- ---
345
-
346
- *Generated: {timestamp}*
347
- *Status: DRAFT - needs validation*
348
- ```
349
-
350
- ---
351
-
352
- ## Phase 8: OUTPUT - Summary
353
-
354
- After generating, report:
355
-
356
- ```markdown
357
- ## PRD Created
358
-
359
- **File**: `.claude/PRPs/prds/{name}.prd.md`
360
-
361
- ### Summary
362
-
363
- **Problem**: {One line}
364
- **Solution**: {One line}
365
- **Key Metric**: {Primary success metric}
366
-
367
- ### Validation Status
368
-
369
- | Section | Status |
370
- |---------|--------|
371
- | Problem Statement | {Validated/Assumption} |
372
- | User Research | {Done/Needed} |
373
- | Technical Feasibility | {Assessed/TBD} |
374
- | Success Metrics | {Defined/Needs refinement} |
375
-
376
- ### Open Questions ({count})
377
-
378
- {List the open questions that need answers}
379
-
380
- ### Recommended Next Step
381
-
382
- {One of: user research, technical spike, prototype, stakeholder review, etc.}
383
-
384
- ### Implementation Phases
385
-
386
- | # | Phase | Status | Can Parallel |
387
- |---|-------|--------|--------------|
388
- {Table of phases from PRD}
389
-
390
- ### To Start Implementation
391
-
392
- Run: `/prp-plan .claude/PRPs/prds/{name}.prd.md`
393
-
394
- This will automatically select the next pending phase and create an implementation plan.
395
- ```
396
-
397
- ---
398
-
399
- ## Question Flow Summary
400
-
401
- ```
402
- ┌─────────────────────────────────────────────────────────┐
403
- │ INITIATE: "What do you want to build?" │
404
- └─────────────────────────────────────────────────────────┘
405
-
406
- ┌─────────────────────────────────────────────────────────┐
407
- │ FOUNDATION: Who, What, Why, Why now, How to measure │
408
- └─────────────────────────────────────────────────────────┘
409
-
410
- ┌─────────────────────────────────────────────────────────┐
411
- │ GROUNDING: Market research, competitor analysis │
412
- └─────────────────────────────────────────────────────────┘
413
-
414
- ┌─────────────────────────────────────────────────────────┐
415
- │ DEEP DIVE: Vision, Primary user, JTBD, Constraints │
416
- └─────────────────────────────────────────────────────────┘
417
-
418
- ┌─────────────────────────────────────────────────────────┐
419
- │ GROUNDING: Technical feasibility, codebase exploration │
420
- └─────────────────────────────────────────────────────────┘
421
-
422
- ┌─────────────────────────────────────────────────────────┐
423
- │ DECISIONS: MVP, Must-haves, Hypothesis, Out of scope │
424
- └─────────────────────────────────────────────────────────┘
425
-
426
- ┌─────────────────────────────────────────────────────────┐
427
- │ GENERATE: Write PRD to .claude/PRPs/prds/ │
428
- └─────────────────────────────────────────────────────────┘
429
- ```
430
-
431
- ---
432
-
433
- ## Integration with ECC
434
-
435
- After PRD generation:
436
- - Use `/prp-plan` to create implementation plans from PRD phases
437
- - Use `/plan` for simpler planning without PRD structure
438
- - Use `/save-session` to preserve PRD context across sessions
439
-
440
- ## Success Criteria
441
-
442
- - **PROBLEM_VALIDATED**: Problem is specific and evidenced (or marked as assumption)
443
- - **USER_DEFINED**: Primary user is concrete, not generic
444
- - **HYPOTHESIS_CLEAR**: Testable hypothesis with measurable outcome
445
- - **SCOPE_BOUNDED**: Clear must-haves and explicit out-of-scope
446
- - **QUESTIONS_ACKNOWLEDGED**: Uncertainties are listed, not hidden
447
- - **ACTIONABLE**: A skeptic could understand why this is worth building
@@ -1,31 +0,0 @@
1
- ---
2
- name: prune
3
- description: Delete pending instincts older than 30 days that were never promoted
4
- command: true
5
- ---
6
-
7
- # Prune Pending Instincts
8
-
9
- Remove expired pending instincts that were auto-generated but never reviewed or promoted.
10
-
11
- ## Implementation
12
-
13
- Run the instinct CLI using the plugin root path:
14
-
15
- ```bash
16
- python3 "${CLAUDE_PLUGIN_ROOT}/skills/continuous-learning-v2/scripts/instinct-cli.py" prune
17
- ```
18
-
19
- Or if `CLAUDE_PLUGIN_ROOT` is not set (manual installation):
20
-
21
- ```bash
22
- python3 ~/.claude/skills/continuous-learning-v2/scripts/instinct-cli.py prune
23
- ```
24
-
25
- ## Usage
26
-
27
- ```
28
- /prune # Delete instincts older than 30 days
29
- /prune --max-age 60 # Custom age threshold (days)
30
- /prune --dry-run # Preview without deleting
31
- ```