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,174 +0,0 @@
1
- ---
2
- description: Switch Mode
3
- ---
4
-
5
- # /mode
6
-
7
- ## Purpose
8
-
9
- Switch between behavioral modes to optimize responses for different task types. Modes adjust communication style, output format, and problem-solving approach.
10
-
11
- ---
12
-
13
- Switch to the specified behavioral mode.
14
-
15
- ## Available Modes
16
-
17
- | Mode | Description | Best For |
18
- |------|-------------|----------|
19
- | `default` | Balanced standard behavior | General tasks |
20
- | `brainstorm` | Creative exploration, more questions | Design, ideation |
21
- | `token-efficient` | Compressed, concise output | High-volume, cost savings |
22
- | `deep-research` | Thorough analysis, citations | Investigation, audits |
23
- | `implementation` | Code-focused, minimal prose | Executing plans |
24
- | `review` | Critical analysis, finding issues | Code review, QA |
25
- | `orchestration` | Multi-task coordination | Complex parallel work |
26
-
27
- ## Mode Switching
28
-
29
- ### Activate Mode
30
- ```bash
31
- /mode [mode-name]
32
- ```
33
-
34
- ### Check Current Mode
35
- ```bash
36
- /mode
37
- ```
38
- (Shows current active mode)
39
-
40
- ### Reset to Default
41
- ```bash
42
- /mode default
43
- ```
44
-
45
- ## Mode Details
46
-
47
- ### Default Mode
48
- - Standard balanced responses
49
- - Mix of explanation and code
50
- - Normal verification steps
51
-
52
- ### Brainstorm Mode
53
- - Ask more clarifying questions
54
- - Present multiple alternatives
55
- - Explore trade-offs explicitly
56
- - Delay convergence on solutions
57
-
58
- ### Token-Efficient Mode
59
- - Minimal explanations
60
- - Code-only responses where possible
61
- - Skip obvious context
62
- - 30-70% token savings
63
-
64
- ### Deep-Research Mode
65
- - Thorough investigation
66
- - Evidence and citations
67
- - Confidence levels stated
68
- - Comprehensive analysis
69
-
70
- ### Implementation Mode
71
- - Jump straight to code
72
- - Progress indicators
73
- - Minimal discussion
74
- - Execute don't deliberate
75
-
76
- ### Review Mode
77
- - Look for issues first
78
- - Categorized findings
79
- - Severity levels
80
- - Actionable feedback
81
-
82
- ### Orchestration Mode
83
- - Task breakdown
84
- - Parallel execution planning
85
- - Result aggregation
86
- - Coordination focus
87
-
88
- ## Flags
89
-
90
- | Flag | Description |
91
- |------|-------------|
92
- | `--info` | Show detailed mode description |
93
- | `--list` | List all available modes |
94
-
95
- ## Usage Examples
96
-
97
- ```bash
98
- /mode brainstorm # Switch to brainstorm mode
99
- /mode token-efficient # Switch to efficient mode
100
- /mode # Show current mode
101
- /mode --list # List all modes
102
- /mode default # Reset to default
103
- ```
104
-
105
- ## Arguments
106
-
107
- $ARGUMENTS
108
-
109
- If mode name provided: switch to that mode
110
- If no arguments: show current mode
111
- If `--list`: show all modes
112
-
113
- ---
114
-
115
- ## Mode Persistence
116
-
117
- - Modes persist for the session
118
- - Explicitly switch when task type changes
119
- - Mode affects all subsequent responses
120
- - Can be overridden per-command with flags
121
-
122
- ## Command Flag Override
123
-
124
- Override mode for single command:
125
- ```bash
126
- /feature --mode=implementation [desc]
127
- /review --mode=deep-research [file]
128
- /plan --mode=brainstorm [task]
129
- ```
130
-
131
- ## Recommended Workflows
132
-
133
- ### Feature Development
134
- ```
135
- /mode brainstorm # Explore approaches
136
- [discuss design]
137
- /mode implementation # Execute plan
138
- [write code]
139
- /mode review # Check quality
140
- [review code]
141
- ```
142
-
143
- ### Bug Investigation
144
- ```
145
- /mode deep-research # Investigate thoroughly
146
- [analyze bug]
147
- /mode implementation # Apply fix
148
- [fix bug]
149
- /mode default # Return to normal
150
- ```
151
-
152
- ### Cost-Conscious Session
153
- ```
154
- /mode token-efficient # Set for session
155
- [work on multiple tasks]
156
- /mode default # Reset when done
157
- ```
158
-
159
- ## Mode Files
160
-
161
- Mode definitions are in `.claude/modes/`:
162
- - `default.md`
163
- - `brainstorm.md`
164
- - `token-efficient.md`
165
- - `deep-research.md`
166
- - `implementation.md`
167
- - `review.md`
168
- - `orchestration.md`
169
-
170
- Customize modes by editing these files.
171
-
172
-
173
- ## Gap Analysis Rule
174
- 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,57 +0,0 @@
1
- ---
2
- description: Performance Optimization
3
- ---
4
-
5
- # /optimize - Performance Optimization Command
6
-
7
- ## Purpose
8
-
9
- Analyze and optimize code performance.
10
-
11
- ## Usage
12
-
13
- ```
14
- /optimize [file or function]
15
- ```
16
-
17
- ---
18
-
19
- Optimize: **$ARGUMENTS**
20
-
21
- ## Workflow
22
-
23
- 1. **Analyze Current Performance**
24
- - Identify bottlenecks
25
- - Check complexity
26
- - Profile if possible
27
-
28
- 2. **Identify Opportunities**
29
- - Algorithm improvements
30
- - Caching opportunities
31
- - Async optimizations
32
-
33
- 3. **Implement Optimizations**
34
- - Make targeted changes
35
- - Verify improvements
36
- - Ensure correctness
37
-
38
- ## Output
39
-
40
- ```markdown
41
- ## Optimization Report
42
-
43
- ### Before
44
- - Time complexity: O(n²)
45
- - Estimated time: 500ms
46
-
47
- ### After
48
- - Time complexity: O(n log n)
49
- - Estimated time: 50ms
50
-
51
- ### Changes Made
52
- - [Description of optimizations]
53
- ```
54
-
55
-
56
- ## Gap Analysis Rule
57
- 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,341 +0,0 @@
1
- ---
2
- description: Task Planning
3
- ---
4
-
5
- # /plan - Task Planning Command
6
-
7
- ## Purpose
8
-
9
- Create structured implementation plans with task breakdown, dependencies, and time estimates for complex work.
10
-
11
- ## Usage
12
-
13
- ```
14
- /plan [task description or feature request]
15
- ```
16
-
17
- ## Arguments
18
-
19
- - `$ARGUMENTS`: Description of the task, feature, or work to plan
20
-
21
- ---
22
-
23
- Create a detailed implementation plan for: **$ARGUMENTS**
24
-
25
- ## Workflow
26
-
27
- ### Phase 1: Understanding
28
-
29
- 1. **Parse Requirements**
30
- - Identify core functionality needed
31
- - List explicit requirements
32
- - Note implicit requirements
33
- - Identify acceptance criteria
34
-
35
- 2. **Clarify Ambiguities**
36
- - Ask questions if unclear
37
- - List assumptions made
38
- - Note dependencies on decisions
39
-
40
- ### Phase 2: Research
41
-
42
- 1. **Explore Codebase**
43
- - Find related implementations
44
- - Identify patterns to follow
45
- - Locate integration points
46
- - Note conventions
47
-
48
- 2. **Technical Research** (if needed)
49
- - Research unfamiliar technologies
50
- - Find best practices
51
- - Identify potential pitfalls
52
-
53
- ### Phase 3: Task Breakdown
54
-
55
- 1. **Decompose Work**
56
- - Break into atomic tasks
57
- - Each task: 15-60 minutes
58
- - Clear completion criteria
59
-
60
- 2. **Order by Dependencies**
61
- - What blocks what
62
- - Parallel opportunities
63
- - Critical path
64
-
65
- 3. **Add Estimates**
66
- - S: <30 min
67
- - M: 30-60 min
68
- - L: 1-2 hours
69
- - XL: 2-4 hours
70
-
71
- ### Phase 4: Documentation
72
-
73
- 1. **Create Plan Document**
74
- - Summary
75
- - Task list
76
- - Files to modify
77
- - Risks
78
-
79
- 2. **Track with TodoWrite**
80
- - Add all tasks
81
- - Set initial status
82
-
83
- ## Output
84
-
85
- ### Implementation Plan
86
-
87
- ```markdown
88
- ## Plan: [Feature/Task Name]
89
-
90
- ### Summary
91
- [2-3 sentence overview of what will be built]
92
-
93
- ### Scope
94
-
95
- **In Scope**
96
- - [What will be done]
97
-
98
- **Out of Scope**
99
- - [What won't be done]
100
-
101
- **Assumptions**
102
- - [Key assumptions made]
103
-
104
- ---
105
-
106
- ### Tasks
107
-
108
- #### Phase 1: Setup [Total: Xh]
109
- | # | Task | Size | Depends On |
110
- |---|------|------|------------|
111
- | 1 | Create data model | M | - |
112
- | 2 | Set up database migration | S | 1 |
113
- | 3 | Add model tests | M | 1 |
114
-
115
- #### Phase 2: Core Implementation [Total: Xh]
116
- | # | Task | Size | Depends On |
117
- |---|------|------|------------|
118
- | 4 | Implement service layer | L | 1 |
119
- | 5 | Add business logic | M | 4 |
120
- | 6 | Write service tests | M | 5 |
121
-
122
- #### Phase 3: API Layer [Total: Xh]
123
- | # | Task | Size | Depends On |
124
- |---|------|------|------------|
125
- | 7 | Create API endpoints | M | 5 |
126
- | 8 | Add validation | S | 7 |
127
- | 9 | Write API tests | M | 8 |
128
-
129
- #### Phase 4: Integration [Total: Xh]
130
- | # | Task | Size | Depends On |
131
- |---|------|------|------------|
132
- | 10 | Integrate with frontend | M | 7 |
133
- | 11 | End-to-end testing | M | 10 |
134
- | 12 | Update documentation | S | 11 |
135
-
136
- ---
137
-
138
- ### Files to Create/Modify
139
-
140
- **Create**
141
- - `src/models/feature.py` - Data model
142
- - `src/services/feature.py` - Business logic
143
- - `src/api/feature.py` - API endpoints
144
- - `tests/test_feature.py` - Tests
145
-
146
- **Modify**
147
- - `src/api/__init__.py` - Register routes
148
- - `docs/api.md` - API documentation
149
-
150
- ---
151
-
152
- ### Dependencies
153
-
154
- **External**
155
- - [Package X] - For [purpose]
156
-
157
- **Internal**
158
- - Requires [existing feature] to be complete
159
-
160
- ---
161
-
162
- ### Risks
163
-
164
- | Risk | Impact | Mitigation |
165
- |------|--------|------------|
166
- | [Risk 1] | High | [How to mitigate] |
167
- | [Risk 2] | Medium | [How to mitigate] |
168
-
169
- ---
170
-
171
- ### Questions for Stakeholders
172
- 1. [Question about requirement]
173
- 2. [Question about edge case]
174
-
175
- ---
176
-
177
- ### Success Criteria
178
- - [ ] All tasks completed
179
- - [ ] Tests passing with 80%+ coverage
180
- - [ ] API documentation updated
181
- - [ ] Code reviewed and approved
182
- ```
183
-
184
- ## Plan Templates
185
-
186
- ### Feature Plan
187
- For new functionality
188
-
189
- ### Bug Fix Plan
190
- For debugging and fixing issues
191
-
192
- ### Refactor Plan
193
- For code improvements
194
-
195
- ### Migration Plan
196
- For data or system migrations
197
-
198
- ## Detailed Mode (Superpowers Methodology)
199
-
200
- Use `--detailed` flag for superpowers-style plans with 2-5 minute tasks:
201
-
202
- ```
203
- /plan --detailed [task description]
204
- ```
205
-
206
- ### Detailed Mode Features
207
-
208
- **Reference**: `.claude/skills/methodology/writing-plans/SKILL.md`
209
-
210
- When `--detailed` is specified:
211
- - **Bite-sized tasks**: 2-5 minutes each (vs standard 15-60 min)
212
- - **Exact file paths**: Always include full paths
213
- - **Complete code samples**: Actual code, not descriptions
214
- - **TDD steps per task**: Write test → verify fail → implement → verify pass → commit
215
- - **Expected command outputs**: Specify what success looks like
216
-
217
- ### Detailed Task Template
218
-
219
- ```markdown
220
- ## Task [N]: [Task Name]
221
-
222
- **Files**:
223
- - Create: `path/to/new-file.ts`
224
- - Modify: `path/to/existing-file.ts`
225
- - Test: `path/to/test-file.test.ts`
226
-
227
- **Steps**:
228
-
229
- 1. Write failing test
230
- ```typescript
231
- // Exact test code
232
- ```
233
-
234
- 2. Verify test fails
235
- ```bash
236
- npm test -- --grep "test name"
237
- # Expected: 1 failing
238
- ```
239
-
240
- 3. Implement minimally
241
- ```typescript
242
- // Exact implementation code
243
- ```
244
-
245
- 4. Verify test passes
246
- ```bash
247
- npm test -- --grep "test name"
248
- # Expected: 1 passing
249
- ```
250
-
251
- 5. Commit
252
- ```bash
253
- git commit -m "feat: add [feature]"
254
- ```
255
- ```
256
-
257
- ### Execution After Planning
258
-
259
- Use `/execute-plan [plan-file]` for subagent-driven execution with code review gates.
260
-
261
- **Reference**: `.claude/skills/methodology/executing-plans/SKILL.md`
262
-
263
- ## Flags
264
-
265
- | Flag | Description | Example |
266
- |------|-------------|---------|
267
- | `--mode=[mode]` | Use specific behavioral mode | `--mode=brainstorm` |
268
- | `--detailed` | Use superpowers methodology (2-5 min tasks) | `--detailed` |
269
- | `--depth=[1-5]` | Planning thoroughness level | `--depth=4` |
270
- | `--format=[fmt]` | Output format (concise/detailed/json) | `--format=detailed` |
271
- | `--save=[path]` | Save plan to file | `--save=plans/auth.md` |
272
- | `--checkpoint` | Create checkpoint after planning | `--checkpoint` |
273
-
274
- ### Flag Usage Examples
275
-
276
- ```bash
277
- /plan --detailed "implement user authentication"
278
- /plan --mode=brainstorm "redesign checkout flow"
279
- /plan --depth=5 --save=plans/migration.md "database migration"
280
- /plan --format=json "api endpoint structure"
281
- ```
282
-
283
- ### Mode Recommendations
284
-
285
- | Mode | Best For |
286
- |------|----------|
287
- | `default` | Standard planning |
288
- | `brainstorm` | Exploratory planning, multiple approaches |
289
- | `deep-research` | Complex features needing investigation |
290
- | `implementation` | Quick plans for clear tasks |
291
-
292
- ## MCP Integration
293
-
294
- This command leverages MCP servers for enhanced planning:
295
-
296
- ### Reasoning - Structured Planning (Primary)
297
- ```
298
- ALWAYS use Reasoning for task decomposition:
299
- - Break complex tasks into logical thought sequences
300
- - Track dependencies between steps
301
- - Revise plan as understanding deepens
302
- - Use for risk identification and mitigation planning
303
- ```
304
-
305
- ### Memory - Decision Persistence
306
- ```
307
- Store and recall planning context:
308
- - Remember decisions from previous planning sessions
309
- - Recall user preferences for task sizing
310
- - Store architectural patterns for reuse
311
- - Create entities for major features/components
312
- ```
313
-
314
- ### Web Search - Technology Research
315
- ```
316
- When planning involves unfamiliar technologies:
317
- - Fetch current documentation for accurate estimates
318
- - Understand API patterns before estimating complexity
319
- - Identify potential integration challenges
320
- ```
321
-
322
- ### Filesystem - Codebase Analysis
323
- ```
324
- For accurate file identification:
325
- - Use list_dir to understand project structure
326
- - Use grep_search to find existing patterns
327
- - Identify files to create vs modify
328
- ```
329
-
330
- <!-- CUSTOMIZATION POINT -->
331
- ## Variations
332
-
333
- Modify behavior via CLAUDE.md:
334
- - Task size definitions (standard: 15-60 min, detailed: 2-5 min)
335
- - Required plan sections
336
- - Estimation approach
337
- - Risk assessment criteria
338
-
339
-
340
- ## Gap Analysis Rule
341
- 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,78 +0,0 @@
1
- ---
2
- description: Create Pull Request
3
- ---
4
-
5
- # /pr - Create Pull Request
6
-
7
- ## Purpose
8
-
9
- Create a well-documented pull request with proper description and checks.
10
-
11
- ## Usage
12
-
13
- ```
14
- /pr [title or 'auto']
15
- ```
16
-
17
- ---
18
-
19
- Create a pull request: **$ARGUMENTS**
20
-
21
- ## Workflow
22
-
23
- ### Step 1: Prepare Changes
24
-
25
- ```bash
26
- git status
27
- git diff main...HEAD
28
- ```
29
-
30
- ### Step 2: Verify Ready
31
-
32
- - [ ] All tests passing
33
- - [ ] Code reviewed
34
- - [ ] No merge conflicts
35
- - [ ] Branch pushed
36
-
37
- ### Step 3: Create PR
38
-
39
- ```bash
40
- gh pr create --title "type(scope): description" --body "$(cat <<'EOF'
41
- ## Summary
42
- - [Change 1]
43
- - [Change 2]
44
-
45
- ## Test Plan
46
- - [ ] Unit tests
47
- - [ ] Manual testing
48
-
49
- ## Screenshots
50
- [If applicable]
51
-
52
- ## Checklist
53
- - [ ] Tests added/updated
54
- - [ ] Documentation updated
55
- - [ ] No breaking changes
56
-
57
- 🤖 Generated with [Claude Code](https://claude.com/claude-code)
58
- EOF
59
- )"
60
- ```
61
-
62
- ## Output
63
-
64
- ```markdown
65
- ## Pull Request Created
66
-
67
- **URL**: https://github.com/org/repo/pull/123
68
- **Title**: feat(auth): add OAuth support
69
- **Base**: main ← feature/oauth
70
-
71
- ### Changes
72
- - 5 files changed
73
- - +234 -12 lines
74
- ```
75
-
76
-
77
- ## Gap Analysis Rule
78
- 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,36 +0,0 @@
1
- ---
2
- description: Ideation and Requirements Planning
3
- ---
4
-
5
- # /product-plan Workflow
6
-
7
- This workflow transforms a rough idea into a concrete product plan and requirements document.
8
-
9
- ## Steps
10
-
11
- 1. **Brainstorming & Ideation**
12
- - Use key: `brainstorming`
13
- - Goal: Generate feature ideas, explore alternatives, and define the core value proposition.
14
- - Output: A list of prioritized features and concepts.
15
-
16
- 2. **Feasibility Check**
17
- - Use key: `senior-architect`
18
- - Goal: Assess technical feasibility and high-level constraints.
19
- - Output: Technical risk assessment.
20
-
21
- 3. **Requirements Definition**
22
- - Use key: `product-manager` (New Skill)
23
- - Goal: Write detailed User Stories and Acceptance Criteria.
24
- - Output: A draft Product Requirements Document (PRD).
25
-
26
- 4. **Finalize Plan**
27
- - Use key: `writing-plans`
28
- - Goal: Synthesize all inputs into a final `PRD.md` artifact.
29
- - Instruction: Create a file named `PRD.md` in the current directory with the full plan.
30
-
31
- ## Iron Rules
32
- 1. If there is anything unclear, ask the user instead of inventing new stuff. Unless the user explicitly tells the AI to invent or suggest ideas.
33
-
34
-
35
- ## Gap Analysis Rule
36
- 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,39 +0,0 @@
1
- ---
2
- description: Production Deployment
3
- ---
4
-
5
- # /production-deploy Workflow
6
-
7
- This workflow prepares the application for production deployment.
8
-
9
- ## Steps
10
-
11
- 1. **Containerization**
12
- - Use key: `docker-expert`
13
- - Goal: Create or optimize `Dockerfile` and `docker-compose.yml`.
14
- - Output: Production-ready container configuration.
15
-
16
- 2. **Infrastructure as Code**
17
- - Use key: `aws-serverless` / `vercel-deployment`
18
- - Goal: Generate deployment configuration (Terraform, CDK, or Vercel/Netlify config).
19
- - Instruction: Choose the provider based on user preference or project type.
20
-
21
- 3. **CI/CD Pipeline**
22
- - Use key: `ci-cd-engineer`
23
- - Goal: Create GitHub Actions or GitLab CI pipeline files.
24
- - Output: `.github/workflows/deploy.yml` or equivalent.
25
-
26
- 4. **Pre-Flight Checks**
27
- - Use key: `seo-audit`
28
- - Goal: Check public-facing pages for SEO if applicable.
29
-
30
- 5. **Documentation**
31
- - Use key: `security-documentation`
32
- - Goal: Update `README.md` and security docs with deployment instructions.
33
-
34
- ## Iron Rules
35
- 1. If there is anything unclear, ask the user instead of inventing new stuff. Unless the user explicitly tells the AI to invent or suggest ideas.
36
-
37
-
38
- ## Gap Analysis Rule
39
- 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.