agcel 1.0.4 → 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 (293) hide show
  1. package/README.md +40 -47
  2. package/dist/cli/commands/create.d.ts +4 -0
  3. package/dist/cli/commands/create.d.ts.map +1 -0
  4. package/dist/cli/commands/create.js +68 -0
  5. package/dist/cli/commands/create.js.map +1 -0
  6. package/dist/cli/commands/init.d.ts +3 -0
  7. package/dist/cli/commands/init.d.ts.map +1 -0
  8. package/dist/cli/commands/init.js +98 -0
  9. package/dist/cli/commands/init.js.map +1 -0
  10. package/dist/cli/commands/install.d.ts +3 -0
  11. package/dist/cli/commands/install.d.ts.map +1 -0
  12. package/dist/cli/commands/install.helpers.d.ts +15 -0
  13. package/dist/cli/commands/install.helpers.d.ts.map +1 -0
  14. package/dist/cli/commands/install.helpers.js +47 -0
  15. package/dist/cli/commands/install.helpers.js.map +1 -0
  16. package/dist/cli/commands/install.helpers.test.d.ts +2 -0
  17. package/dist/cli/commands/install.helpers.test.d.ts.map +1 -0
  18. package/dist/cli/commands/install.helpers.test.js +18 -0
  19. package/dist/cli/commands/install.helpers.test.js.map +1 -0
  20. package/dist/cli/commands/install.js +74 -0
  21. package/dist/cli/commands/install.js.map +1 -0
  22. package/dist/cli/commands/pulse.d.ts +4 -0
  23. package/dist/cli/commands/pulse.d.ts.map +1 -0
  24. package/dist/cli/commands/pulse.js +48 -0
  25. package/dist/cli/commands/pulse.js.map +1 -0
  26. package/dist/cli/commands/pulse.test.d.ts +2 -0
  27. package/dist/cli/commands/pulse.test.d.ts.map +1 -0
  28. package/dist/cli/commands/pulse.test.js +19 -0
  29. package/dist/cli/commands/pulse.test.js.map +1 -0
  30. package/dist/cli/commands/suggest.d.ts +3 -0
  31. package/dist/cli/commands/suggest.d.ts.map +1 -0
  32. package/dist/cli/commands/suggest.js +32 -0
  33. package/dist/cli/commands/suggest.js.map +1 -0
  34. package/dist/cli/index.d.ts +3 -0
  35. package/dist/cli/index.d.ts.map +1 -0
  36. package/dist/cli/index.js +20 -0
  37. package/dist/cli/index.js.map +1 -0
  38. package/dist/cli/research-hints.d.ts +5 -0
  39. package/dist/cli/research-hints.d.ts.map +1 -0
  40. package/dist/cli/research-hints.js +109 -0
  41. package/dist/cli/research-hints.js.map +1 -0
  42. package/dist/cli/research-hints.test.d.ts +2 -0
  43. package/dist/cli/research-hints.test.d.ts.map +1 -0
  44. package/dist/cli/research-hints.test.js +50 -0
  45. package/dist/cli/research-hints.test.js.map +1 -0
  46. package/dist/core/agcel-config.d.ts +27 -0
  47. package/dist/core/agcel-config.d.ts.map +1 -0
  48. package/dist/core/agcel-config.js +4 -0
  49. package/dist/core/agcel-config.js.map +1 -0
  50. package/dist/core/build-rag-engine.d.ts +12 -0
  51. package/dist/core/build-rag-engine.d.ts.map +1 -0
  52. package/dist/core/build-rag-engine.js +24 -0
  53. package/dist/core/build-rag-engine.js.map +1 -0
  54. package/dist/core/build-rag-engine.test.d.ts +2 -0
  55. package/dist/core/build-rag-engine.test.d.ts.map +1 -0
  56. package/dist/core/build-rag-engine.test.js +34 -0
  57. package/dist/core/build-rag-engine.test.js.map +1 -0
  58. package/dist/core/chroma-rag.d.ts +20 -0
  59. package/dist/core/chroma-rag.d.ts.map +1 -0
  60. package/dist/core/chroma-rag.js +108 -0
  61. package/dist/core/chroma-rag.js.map +1 -0
  62. package/dist/core/context-hygiene.d.ts +12 -0
  63. package/dist/core/context-hygiene.d.ts.map +1 -0
  64. package/dist/core/context-hygiene.js +43 -0
  65. package/dist/core/context-hygiene.js.map +1 -0
  66. package/dist/core/context-hygiene.test.d.ts +2 -0
  67. package/dist/core/context-hygiene.test.d.ts.map +1 -0
  68. package/dist/core/context-hygiene.test.js +18 -0
  69. package/dist/core/context-hygiene.test.js.map +1 -0
  70. package/dist/core/context.d.ts +44 -0
  71. package/dist/core/context.d.ts.map +1 -0
  72. package/dist/core/context.js +114 -0
  73. package/dist/core/context.js.map +1 -0
  74. package/dist/core/conversation-routing.d.ts +10 -0
  75. package/dist/core/conversation-routing.d.ts.map +1 -0
  76. package/dist/core/conversation-routing.js +27 -0
  77. package/dist/core/conversation-routing.js.map +1 -0
  78. package/dist/core/conversation-routing.test.d.ts +2 -0
  79. package/dist/core/conversation-routing.test.d.ts.map +1 -0
  80. package/dist/core/conversation-routing.test.js +29 -0
  81. package/dist/core/conversation-routing.test.js.map +1 -0
  82. package/dist/core/guardrails.d.ts +26 -0
  83. package/dist/core/guardrails.d.ts.map +1 -0
  84. package/dist/core/guardrails.js +76 -0
  85. package/dist/core/guardrails.js.map +1 -0
  86. package/dist/core/guardrails.test.d.ts +2 -0
  87. package/dist/core/guardrails.test.d.ts.map +1 -0
  88. package/dist/core/guardrails.test.js +35 -0
  89. package/dist/core/guardrails.test.js.map +1 -0
  90. package/dist/core/intent.d.ts +22 -0
  91. package/dist/core/intent.d.ts.map +1 -0
  92. package/dist/core/intent.js +79 -0
  93. package/dist/core/intent.js.map +1 -0
  94. package/dist/core/intent.test.d.ts +2 -0
  95. package/dist/core/intent.test.d.ts.map +1 -0
  96. package/dist/core/intent.test.js +43 -0
  97. package/dist/core/intent.test.js.map +1 -0
  98. package/dist/core/local-rag.d.ts +17 -0
  99. package/dist/core/local-rag.d.ts.map +1 -0
  100. package/dist/core/local-rag.js +74 -0
  101. package/dist/core/local-rag.js.map +1 -0
  102. package/dist/core/local-rag.test.d.ts +2 -0
  103. package/dist/core/local-rag.test.d.ts.map +1 -0
  104. package/dist/core/local-rag.test.js +47 -0
  105. package/dist/core/local-rag.test.js.map +1 -0
  106. package/dist/core/orchestrator.d.ts +47 -0
  107. package/dist/core/orchestrator.d.ts.map +1 -0
  108. package/dist/core/orchestrator.js +138 -0
  109. package/dist/core/orchestrator.js.map +1 -0
  110. package/dist/core/orchestrator.test.d.ts +2 -0
  111. package/dist/core/orchestrator.test.d.ts.map +1 -0
  112. package/dist/core/orchestrator.test.js +118 -0
  113. package/dist/core/orchestrator.test.js.map +1 -0
  114. package/dist/core/pulse.d.ts +13 -0
  115. package/dist/core/pulse.d.ts.map +1 -0
  116. package/dist/core/pulse.js +29 -0
  117. package/dist/core/pulse.js.map +1 -0
  118. package/dist/core/pulse.test.d.ts +2 -0
  119. package/dist/core/pulse.test.d.ts.map +1 -0
  120. package/dist/core/pulse.test.js +18 -0
  121. package/dist/core/pulse.test.js.map +1 -0
  122. package/dist/core/rag-metadata.d.ts +5 -0
  123. package/dist/core/rag-metadata.d.ts.map +1 -0
  124. package/dist/core/rag-metadata.js +13 -0
  125. package/dist/core/rag-metadata.js.map +1 -0
  126. package/dist/core/rag-metadata.test.d.ts +2 -0
  127. package/dist/core/rag-metadata.test.d.ts.map +1 -0
  128. package/dist/core/rag-metadata.test.js +12 -0
  129. package/dist/core/rag-metadata.test.js.map +1 -0
  130. package/dist/core/rag-types.d.ts +18 -0
  131. package/dist/core/rag-types.d.ts.map +1 -0
  132. package/dist/core/rag-types.js +2 -0
  133. package/dist/core/rag-types.js.map +1 -0
  134. package/dist/core/read-agcel-config.d.ts +3 -0
  135. package/dist/core/read-agcel-config.d.ts.map +1 -0
  136. package/dist/core/read-agcel-config.js +13 -0
  137. package/dist/core/read-agcel-config.js.map +1 -0
  138. package/dist/core/registry.d.ts +9 -0
  139. package/dist/core/registry.d.ts.map +1 -0
  140. package/dist/core/registry.js +75 -0
  141. package/dist/core/registry.js.map +1 -0
  142. package/dist/core/registry.test.d.ts +2 -0
  143. package/dist/core/registry.test.d.ts.map +1 -0
  144. package/dist/core/registry.test.js +128 -0
  145. package/dist/core/registry.test.js.map +1 -0
  146. package/dist/core/schema.d.ts +51 -0
  147. package/dist/core/schema.d.ts.map +1 -0
  148. package/dist/core/schema.js +31 -0
  149. package/dist/core/schema.js.map +1 -0
  150. package/dist/core/summarizer.d.ts +23 -0
  151. package/dist/core/summarizer.d.ts.map +1 -0
  152. package/dist/core/summarizer.js +66 -0
  153. package/dist/core/summarizer.js.map +1 -0
  154. package/dist/core/text-similarity.d.ts +7 -0
  155. package/dist/core/text-similarity.d.ts.map +1 -0
  156. package/dist/core/text-similarity.js +35 -0
  157. package/dist/core/text-similarity.js.map +1 -0
  158. package/dist/core/text-similarity.test.d.ts +2 -0
  159. package/dist/core/text-similarity.test.d.ts.map +1 -0
  160. package/dist/core/text-similarity.test.js +11 -0
  161. package/dist/core/text-similarity.test.js.map +1 -0
  162. package/dist/docs-site.test.d.ts +2 -0
  163. package/dist/docs-site.test.d.ts.map +1 -0
  164. package/dist/docs-site.test.js +19 -0
  165. package/dist/docs-site.test.js.map +1 -0
  166. package/dist/index.d.ts +8 -0
  167. package/dist/index.d.ts.map +1 -0
  168. package/dist/index.js +8 -39
  169. package/dist/index.js.map +1 -0
  170. package/dist/providers/adapter.d.ts +23 -0
  171. package/dist/providers/adapter.d.ts.map +1 -0
  172. package/dist/providers/adapter.js +9 -0
  173. package/dist/providers/adapter.js.map +1 -0
  174. package/dist/providers/chatgpt.d.ts +13 -0
  175. package/dist/providers/chatgpt.d.ts.map +1 -0
  176. package/dist/providers/chatgpt.js +33 -0
  177. package/dist/providers/chatgpt.js.map +1 -0
  178. package/dist/providers/chatgpt.test.d.ts +2 -0
  179. package/dist/providers/chatgpt.test.d.ts.map +1 -0
  180. package/dist/providers/chatgpt.test.js +23 -0
  181. package/dist/providers/chatgpt.test.js.map +1 -0
  182. package/dist/providers/claude.d.ts +13 -0
  183. package/dist/providers/claude.d.ts.map +1 -0
  184. package/dist/providers/claude.js +48 -0
  185. package/dist/providers/claude.js.map +1 -0
  186. package/dist/providers/cursor.d.ts +14 -0
  187. package/dist/providers/cursor.d.ts.map +1 -0
  188. package/dist/providers/cursor.js +47 -0
  189. package/dist/providers/cursor.js.map +1 -0
  190. package/dist/providers/gemini.d.ts +13 -0
  191. package/dist/providers/gemini.d.ts.map +1 -0
  192. package/dist/providers/gemini.js +42 -0
  193. package/dist/providers/gemini.js.map +1 -0
  194. package/dist/providers/index.d.ts +5 -0
  195. package/dist/providers/index.d.ts.map +1 -0
  196. package/dist/providers/index.js +18 -0
  197. package/dist/providers/index.js.map +1 -0
  198. package/dist/server/index.d.ts +2 -0
  199. package/dist/server/index.d.ts.map +1 -0
  200. package/dist/server/index.js +288 -154
  201. package/dist/server/index.js.map +1 -0
  202. package/package.json +62 -52
  203. package/.agent/workflows/api-gen.md +0 -63
  204. package/.agent/workflows/architect.md +0 -44
  205. package/.agent/workflows/brainstorm.md +0 -227
  206. package/.agent/workflows/build.md +0 -38
  207. package/.agent/workflows/changelog.md +0 -55
  208. package/.agent/workflows/checkpoint.md +0 -142
  209. package/.agent/workflows/commit.md +0 -227
  210. package/.agent/workflows/debug.md +0 -61
  211. package/.agent/workflows/deploy.md +0 -80
  212. package/.agent/workflows/doc.md +0 -251
  213. package/.agent/workflows/execute-plan.md +0 -229
  214. package/.agent/workflows/feature.md +0 -259
  215. package/.agent/workflows/fix.md +0 -327
  216. package/.agent/workflows/help.md +0 -67
  217. package/.agent/workflows/index.md +0 -152
  218. package/.agent/workflows/load.md +0 -116
  219. package/.agent/workflows/mode.md +0 -174
  220. package/.agent/workflows/optimize.md +0 -57
  221. package/.agent/workflows/plan.md +0 -341
  222. package/.agent/workflows/pr.md +0 -78
  223. package/.agent/workflows/product-plan.md +0 -36
  224. package/.agent/workflows/production-deploy.md +0 -39
  225. package/.agent/workflows/refactor.md +0 -67
  226. package/.agent/workflows/research.md +0 -120
  227. package/.agent/workflows/review.md +0 -348
  228. package/.agent/workflows/security-scan.md +0 -60
  229. package/.agent/workflows/ship.md +0 -225
  230. package/.agent/workflows/spawn.md +0 -181
  231. package/.agent/workflows/status.md +0 -63
  232. package/.agent/workflows/tdd.md +0 -143
  233. package/.agent/workflows/test.md +0 -344
  234. package/.agent/workflows/verify.md +0 -35
  235. package/LICENSE +0 -21
  236. package/dist/commands/init.js +0 -147
  237. package/dist/commands/list.js +0 -43
  238. package/dist/commands/uninstall.js +0 -70
  239. package/dist/utils/index.js +0 -28
  240. package/skills/api-security-best-practices/SKILL.md +0 -291
  241. package/skills/api-security-best-practices/references/examples.md +0 -617
  242. package/skills/architecture/SKILL.md +0 -59
  243. package/skills/architecture/context-discovery.md +0 -43
  244. package/skills/architecture/examples.md +0 -94
  245. package/skills/architecture/pattern-selection.md +0 -68
  246. package/skills/architecture/patterns-reference.md +0 -50
  247. package/skills/architecture/trade-off-analysis.md +0 -77
  248. package/skills/aws-serverless/SKILL.md +0 -327
  249. package/skills/brainstorming/SKILL.md +0 -234
  250. package/skills/c4-context/SKILL.md +0 -154
  251. package/skills/ci-cd-engineer/SKILL.md +0 -50
  252. package/skills/code-auditing/SKILL.md +0 -55
  253. package/skills/copywriting/SKILL.md +0 -248
  254. package/skills/database-engineer/SKILL.md +0 -47
  255. package/skills/doc-coauthoring/SKILL.md +0 -379
  256. package/skills/docker-expert/SKILL.md +0 -412
  257. package/skills/langgraph/SKILL.md +0 -291
  258. package/skills/postgresql/SKILL.md +0 -73
  259. package/skills/pricing-strategy/SKILL.md +0 -360
  260. package/skills/product-manager/SKILL.md +0 -57
  261. package/skills/prompt-engineer/README.md +0 -659
  262. package/skills/prompt-engineer/SKILL.md +0 -256
  263. package/skills/python-patterns/SKILL.md +0 -445
  264. package/skills/qa-engineer/SKILL.md +0 -42
  265. package/skills/rag-engineer/SKILL.md +0 -94
  266. package/skills/react-patterns/SKILL.md +0 -202
  267. package/skills/secure-refactoring/SKILL.md +0 -54
  268. package/skills/security-documentation/SKILL.md +0 -53
  269. package/skills/senior-architect/SKILL.md +0 -213
  270. package/skills/senior-architect/references/architecture_patterns.md +0 -103
  271. package/skills/senior-architect/references/system_design_workflows.md +0 -103
  272. package/skills/senior-architect/references/tech_decision_guide.md +0 -103
  273. package/skills/senior-architect/scripts/architecture_diagram_generator.py +0 -114
  274. package/skills/senior-architect/scripts/dependency_analyzer.py +0 -114
  275. package/skills/senior-architect/scripts/project_architect.py +0 -114
  276. package/skills/seo-audit/SKILL.md +0 -491
  277. package/skills/sql-injection-testing/SKILL.md +0 -452
  278. package/skills/test-driven-development/SKILL.md +0 -375
  279. package/skills/test-driven-development/testing-anti-patterns.md +0 -299
  280. package/skills/test-fixing/SKILL.md +0 -123
  281. package/skills/testing-patterns/SKILL.md +0 -263
  282. package/skills/typescript-expert/SKILL.md +0 -202
  283. package/skills/typescript-expert/references/advanced-topics.md +0 -252
  284. package/skills/typescript-expert/references/tsconfig-strict.json +0 -92
  285. package/skills/typescript-expert/references/typescript-cheatsheet.md +0 -383
  286. package/skills/typescript-expert/references/utility-types.ts +0 -335
  287. package/skills/typescript-expert/scripts/ts_diagnostic.py +0 -203
  288. package/skills/ui-ux-designer/SKILL.md +0 -46
  289. package/skills/vercel-deployment/SKILL.md +0 -83
  290. package/skills/vulnerability-scanner/SKILL.md +0 -280
  291. package/skills/vulnerability-scanner/checklists.md +0 -121
  292. package/skills/vulnerability-scanner/scripts/security_scan.py +0 -458
  293. package/skills/writing-plans/SKILL.md +0 -120
@@ -1,225 +0,0 @@
1
- ---
2
- description: Ship Code
3
- ---
4
-
5
- # /ship - Ship Code Command
6
-
7
- ## Purpose
8
-
9
- Complete workflow to commit changes, run reviews, execute tests, and create a pull request ready for merge.
10
-
11
- ## Usage
12
-
13
- ```
14
- /ship [commit message or 'quick']
15
- ```
16
-
17
- ## Arguments
18
-
19
- - `$ARGUMENTS`:
20
- - Commit message: Use as commit subject
21
- - `quick`: Auto-generate message, skip review
22
-
23
- ---
24
-
25
- Ship the current changes with: **$ARGUMENTS**
26
-
27
- ## Workflow
28
-
29
- ### Phase 1: Pre-Ship Checks
30
-
31
- 1. **Check Repository Status**
32
- ```bash
33
- git status
34
- git diff --staged
35
- ```
36
-
37
- 2. **Identify Changes**
38
- - Files modified
39
- - Files added
40
- - Files deleted
41
-
42
- 3. **Quick Validation**
43
- - No secrets in changes
44
- - No debug statements
45
- - No commented-out code
46
-
47
- ### Phase 2: Code Review (unless 'quick')
48
-
49
- 1. **Run Self-Review**
50
- - Check code quality
51
- - Verify style compliance
52
- - Identify security issues
53
-
54
- 2. **Address Critical Issues**
55
- - Fix any critical problems
56
- - Note recommendations
57
-
58
- ### Phase 3: Run Tests
59
-
60
- 1. **Execute Test Suite**
61
- ```bash
62
- # Python
63
- pytest -v
64
-
65
- # TypeScript
66
- pnpm test
67
- ```
68
-
69
- 2. **Verify All Pass**
70
- - No failing tests
71
- - No new warnings
72
-
73
- 3. **Check Coverage**
74
- - Coverage not decreased
75
- - New code is tested
76
-
77
- ### Phase 4: Create Commit
78
-
79
- 1. **Stage Changes**
80
- ```bash
81
- git add -A
82
- ```
83
-
84
- 2. **Generate Commit Message**
85
- - Follow conventional commit format
86
- - Reference issues if applicable
87
-
88
- 3. **Create Commit**
89
- ```bash
90
- git commit -m "$(cat <<'EOF'
91
- type(scope): subject
92
-
93
- body
94
-
95
- 🤖 Generated with [Claude Code](https://claude.com/claude-code)
96
-
97
- Co-Authored-By: Claude <noreply@anthropic.com>
98
- EOF
99
- )"
100
- ```
101
-
102
- ### Phase 5: Push and Create PR
103
-
104
- 1. **Push to Remote**
105
- ```bash
106
- git push -u origin [branch-name]
107
- ```
108
-
109
- 2. **Create Pull Request**
110
- ```bash
111
- gh pr create --title "type(scope): description" --body "$(cat <<'EOF'
112
- ## Summary
113
- - Change 1
114
- - Change 2
115
-
116
- ## Test Plan
117
- - [ ] Tests pass
118
- - [ ] Manual testing
119
-
120
- 🤖 Generated with [Claude Code](https://claude.com/claude-code)
121
- EOF
122
- )"
123
- ```
124
-
125
- ## Output
126
-
127
- ### Ship Report
128
-
129
- ```markdown
130
- ## Ship Complete
131
-
132
- ### Commit
133
- **Hash**: `abc1234`
134
- **Message**: `feat(auth): add password reset functionality`
135
-
136
- ### Changes
137
- | File | Change |
138
- |------|--------|
139
- | `src/auth/reset.ts` | Added |
140
- | `src/auth/routes.ts` | Modified |
141
- | `tests/auth/reset.test.ts` | Added |
142
-
143
- ### Checks
144
- - [x] Code review passed
145
- - [x] Tests passing (42 tests)
146
- - [x] Coverage: 85% (+3%)
147
- - [x] No security issues
148
-
149
- ### Pull Request
150
- **URL**: https://github.com/org/repo/pull/123
151
- **Title**: feat(auth): add password reset functionality
152
- **Base**: main
153
- **Status**: Ready for review
154
-
155
- ### Next Steps
156
- 1. Request review from team
157
- 2. Address any feedback
158
- 3. Merge when approved
159
- ```
160
-
161
- ## Quick Ship Mode
162
-
163
- When using `/ship quick`:
164
- - Skip detailed code review
165
- - Auto-generate commit message
166
- - Minimal output
167
-
168
- ```bash
169
- # Quick ship for small changes
170
- /ship quick
171
- ```
172
-
173
- ## Commit Message Generation
174
-
175
- Based on changes, generate appropriate message:
176
-
177
- ### Feature
178
- ```
179
- feat(scope): add [feature]
180
-
181
- - Added [component/function]
182
- - Implemented [functionality]
183
- - Added tests for [scenarios]
184
- ```
185
-
186
- ### Bug Fix
187
- ```
188
- fix(scope): resolve [issue]
189
-
190
- - Fixed [bug description]
191
- - Added null check for [case]
192
- - Updated tests
193
- ```
194
-
195
- ### Refactor
196
- ```
197
- refactor(scope): improve [area]
198
-
199
- - Extracted [logic] to [location]
200
- - Renamed [old] to [new]
201
- - Simplified [complex code]
202
- ```
203
-
204
- ## Pre-Ship Checklist
205
-
206
- - [ ] All changes staged
207
- - [ ] No unintended files included
208
- - [ ] Tests pass
209
- - [ ] No secrets in code
210
- - [ ] No debug statements
211
- - [ ] Commit message is descriptive
212
- - [ ] PR description is complete
213
-
214
- <!-- CUSTOMIZATION POINT -->
215
- ## Variations
216
-
217
- Modify behavior via CLAUDE.md:
218
- - Required checks before ship
219
- - Commit message format
220
- - PR template requirements
221
- - Auto-merge settings
222
-
223
-
224
- ## Gap Analysis Rule
225
- Always identify gaps and suggest next steps to users. In case there is no gaps anymore, then AI should clearly state that there is no gap left.
@@ -1,181 +0,0 @@
1
- ---
2
- description: Spawn Subagent
3
- ---
4
-
5
- # /spawn
6
-
7
- ## Purpose
8
-
9
- Launch background tasks for parallel execution. Enables concurrent work on independent tasks with result aggregation.
10
-
11
- ---
12
-
13
- Launch a background task or manage running tasks.
14
-
15
- ## Spawn Operations
16
-
17
- ### Launch Task
18
-
19
- Start a new background task:
20
-
21
- ```bash
22
- /spawn "[task description]"
23
- ```
24
-
25
- **Process:**
26
- 1. Analyze task for parallelizability
27
- 2. Launch subagent with task
28
- 3. Return task ID for tracking
29
- 4. Continue main conversation
30
-
31
- **Output:**
32
- ```markdown
33
- Spawned: Task #1
34
- - Description: Research authentication patterns
35
- - Status: Running
36
- - Agent: researcher
37
-
38
- Continue working. Use `/spawn --list` to check status.
39
- ```
40
-
41
- ### List Tasks
42
-
43
- Show running and completed tasks:
44
-
45
- ```bash
46
- /spawn --list
47
- ```
48
-
49
- **Output:**
50
- ```markdown
51
- ## Active Tasks
52
-
53
- | ID | Description | Status | Duration |
54
- |----|-------------|--------|----------|
55
- | #1 | Research auth patterns | Running | 2m |
56
- | #2 | Analyze security | Complete | 5m |
57
-
58
- ## Completed Tasks (last hour)
59
- | #2 | Analyze security | ✅ Complete | Results ready |
60
- ```
61
-
62
- ### Collect Results
63
-
64
- Gather results from completed tasks:
65
-
66
- ```bash
67
- /spawn --collect
68
- ```
69
-
70
- **Output:**
71
- ```markdown
72
- ## Collected Results
73
-
74
- ### Task #1: Research auth patterns
75
- **Status**: Complete
76
- **Findings**:
77
- - Pattern A: JWT with refresh tokens
78
- - Pattern B: Session-based with Redis
79
- - Recommendation: JWT for stateless API
80
-
81
- ### Task #2: Analyze security
82
- **Status**: Complete
83
- **Findings**:
84
- - 2 high-priority issues found
85
- - See detailed report below
86
- ```
87
-
88
- ### Cancel Task
89
-
90
- Stop a running task:
91
-
92
- ```bash
93
- /spawn --cancel [id]
94
- ```
95
-
96
- ## Task Types
97
-
98
- | Type | Best For | Agent Used |
99
- |------|----------|------------|
100
- | Research | Information gathering | researcher |
101
- | Analysis | Code analysis | scout |
102
- | Review | Code review | code-reviewer |
103
- | Test | Test generation | tester |
104
- | Scan | Security scanning | security-auditor |
105
-
106
- ## Flags
107
-
108
- | Flag | Description |
109
- |------|-------------|
110
- | `--list` | Show all tasks |
111
- | `--collect` | Gather completed results |
112
- | `--cancel [id]` | Cancel running task |
113
- | `--wait` | Wait for all tasks to complete |
114
- | `--agent=[type]` | Specify agent type |
115
- | `--priority=[high\|normal]` | Task priority |
116
-
117
- ## Usage Examples
118
-
119
- ```bash
120
- /spawn "Research OAuth2 best practices"
121
- /spawn "Analyze user service for performance issues"
122
- /spawn "Review security of auth module" --agent=security-auditor
123
- /spawn --list
124
- /spawn --collect
125
- /spawn --wait # Block until all complete
126
- ```
127
-
128
- ## Arguments
129
-
130
- $ARGUMENTS
131
-
132
- If quoted text: spawn that task
133
- If flag: execute that operation
134
-
135
- ---
136
-
137
- ## Parallel Workflow
138
-
139
- ### Pattern: Research Phase
140
- ```bash
141
- /spawn "Research authentication approaches"
142
- /spawn "Analyze current auth implementation"
143
- /spawn "Review competitor auth patterns"
144
- # Continue other work...
145
- /spawn --wait
146
- /spawn --collect
147
- # Synthesize findings
148
- ```
149
-
150
- ### Pattern: Multi-File Review
151
- ```bash
152
- /spawn "Review src/auth/ for security"
153
- /spawn "Review src/api/ for performance"
154
- /spawn "Review src/db/ for SQL injection"
155
- /spawn --collect
156
- # Address findings
157
- ```
158
-
159
- ## Best Practices
160
-
161
- 1. **Independent Tasks**: Only spawn truly independent work
162
- 2. **Clear Descriptions**: Specific task descriptions get better results
163
- 3. **Regular Collection**: Don't let results pile up
164
- 4. **Resource Awareness**: Don't spawn too many concurrent tasks
165
-
166
- ## Limitations
167
-
168
- - Tasks cannot communicate with each other
169
- - Results are collected, not streamed
170
- - Heavy tasks may take time
171
- - Some tasks benefit from sequential execution
172
-
173
- ## Combines With
174
-
175
- - Orchestration mode: Manages multiple spawned tasks
176
- - `/plan`: Plan tasks, then spawn parallel execution
177
- - `/execute-plan`: Orchestrated task execution
178
-
179
-
180
- ## Gap Analysis Rule
181
- Always identify gaps and suggest next steps to users. In case there is no gaps anymore, then AI should clearly state that there is no gap left.
@@ -1,63 +0,0 @@
1
- ---
2
- description: Project Status
3
- ---
4
-
5
- # /status - Project Status Command
6
-
7
- ## Purpose
8
-
9
- Get current project status including tasks, git state, and recent activity.
10
-
11
- ## Usage
12
-
13
- ```
14
- /status
15
- ```
16
-
17
- ---
18
-
19
- Show current project status.
20
-
21
- ## Workflow
22
-
23
- 1. **Check Git Status**
24
- ```bash
25
- git status
26
- git log --oneline -5
27
- ```
28
-
29
- 2. **Review Todos**
30
- - In progress
31
- - Pending
32
- - Completed today
33
-
34
- 3. **Recent Activity**
35
- - Recent commits
36
- - Open PRs
37
- - Open issues
38
-
39
- ## Output
40
-
41
- ```markdown
42
- ## Project Status
43
-
44
- ### Git
45
- - Branch: `feature/xyz`
46
- - Status: Clean / X modified files
47
-
48
- ### Tasks
49
- - In Progress: X
50
- - Pending: Y
51
- - Completed: Z
52
-
53
- ### Recent Commits
54
- 1. [commit message]
55
- 2. [commit message]
56
-
57
- ### Open PRs
58
- - #123: [title]
59
- ```
60
-
61
-
62
- ## Gap Analysis Rule
63
- Always identify gaps and suggest next steps to users. In case there is no gaps anymore, then AI should clearly state that there is no gap left.
@@ -1,143 +0,0 @@
1
- ---
2
- description: Test-Driven Development
3
- ---
4
-
5
- # /tdd - Test-Driven Development Workflow
6
-
7
- ## Purpose
8
-
9
- Start a TDD workflow: write failing tests first, then implement to make them pass.
10
-
11
- ## Usage
12
-
13
- ```
14
- /tdd [feature or function description]
15
- ```
16
-
17
- ---
18
-
19
- Start TDD workflow for: **$ARGUMENTS**
20
-
21
- ## Workflow
22
-
23
- ### Phase 1: Red - Write Failing Tests
24
-
25
- 1. **Understand Requirements**
26
- - What should the code do?
27
- - What are the inputs/outputs?
28
- - What edge cases exist?
29
-
30
- 2. **Write Tests First**
31
- ```python
32
- def test_feature_does_expected_thing():
33
- result = feature("input")
34
- assert result == "expected"
35
- ```
36
-
37
- 3. **Run Tests (Expect Failure)**
38
- ```bash
39
- pytest -v # Should fail
40
- ```
41
-
42
- ### Phase 2: Green - Make Tests Pass
43
-
44
- 1. **Implement Minimal Code**
45
- - Just enough to pass tests
46
- - No premature optimization
47
-
48
- 2. **Run Tests (Expect Success)**
49
- ```bash
50
- pytest -v # Should pass
51
- ```
52
-
53
- ### Phase 3: Refactor
54
-
55
- 1. **Improve Code Quality**
56
- - Clean up implementation
57
- - Remove duplication
58
- - Improve naming
59
-
60
- 2. **Run Tests (Ensure Still Passing)**
61
- ```bash
62
- pytest -v # Should still pass
63
- ```
64
-
65
- ### Phase 4: Repeat
66
-
67
- Add more test cases and repeat the cycle.
68
-
69
- ## TDD Best Practices
70
-
71
- - Write one test at a time
72
- - Tests should be specific and focused
73
- - Keep the red-green-refactor cycle short
74
- - Commit after each green phase
75
-
76
- ## Superpowers TDD Methodology
77
-
78
- **Reference**: `.claude/skills/methodology/test-driven-development/SKILL.md`
79
-
80
- ### Non-Negotiable Rule
81
-
82
- **NO PRODUCTION CODE WITHOUT A FAILING TEST FIRST**
83
-
84
- This is not a guideline - it's a rule.
85
-
86
- ### If You Already Wrote Code
87
-
88
- Delete it. Completely. Don't keep it as reference.
89
-
90
- ```
91
- WRONG: "I'll keep this code as reference while writing tests"
92
- RIGHT: Delete the code, write test, rewrite implementation
93
- ```
94
-
95
- ### Verification Before Completion
96
-
97
- **Reference**: `.claude/skills/methodology/verification-before-completion/SKILL.md`
98
-
99
- Before claiming tests pass:
100
- 1. **Identify** the command that proves assertion
101
- 2. **Execute** it fully and freshly
102
- 3. **Read** complete output
103
- 4. **Verify** output matches claim
104
- 5. **Only then** make the claim
105
-
106
- ### Forbidden Language
107
-
108
- Never use without verification:
109
- - "should work"
110
- - "probably fixed"
111
- - "seems to pass"
112
-
113
- ### Testing Anti-Patterns to Avoid
114
-
115
- **Reference**: `.claude/skills/methodology/testing-anti-patterns/SKILL.md`
116
-
117
- 1. Testing mock behavior instead of real code
118
- 2. Polluting production with test-only methods
119
- 3. Mocking without understanding dependencies
120
- 4. Creating incomplete mocks
121
- 5. Writing tests as afterthoughts
122
-
123
- ## Output
124
-
125
- ```markdown
126
- ## TDD Session: [Feature]
127
-
128
- ### Tests Written
129
- 1. `test_basic_functionality` - [description]
130
- 2. `test_edge_case` - [description]
131
-
132
- ### Implementation
133
- `src/feature.py` - [description]
134
-
135
- ### Cycle Summary
136
- - Red: 3 tests written
137
- - Green: All passing
138
- - Refactor: Extracted helper function
139
- ```
140
-
141
-
142
- ## Gap Analysis Rule
143
- Always identify gaps and suggest next steps to users. In case there is no gaps anymore, then AI should clearly state that there is no gap left.