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,63 +0,0 @@
1
- ---
2
- description: API Generation
3
- ---
4
-
5
- # /api-gen - API Generation Command
6
-
7
- ## Purpose
8
-
9
- Generate API endpoints, documentation, or client code from specifications.
10
-
11
- ## Usage
12
-
13
- ```
14
- /api-gen [resource name or OpenAPI spec path]
15
- ```
16
-
17
- ---
18
-
19
- Generate API for: **$ARGUMENTS**
20
-
21
- ## Workflow
22
-
23
- ### Step 1: Define Resource
24
-
25
- 1. Identify resource properties
26
- 2. Define relationships
27
- 3. Determine operations
28
-
29
- ### Step 2: Generate
30
-
31
- 1. Create model/schema
32
- 2. Create routes/endpoints
33
- 3. Add validation
34
- 4. Generate tests
35
-
36
- ### Step 3: Document
37
-
38
- 1. Create OpenAPI spec
39
- 2. Add examples
40
- 3. Document errors
41
-
42
- ## Output
43
-
44
- ```markdown
45
- ## API Generated
46
-
47
- ### Endpoints
48
- | Method | Path | Description |
49
- |--------|------|-------------|
50
- | GET | /resources | List all |
51
- | POST | /resources | Create |
52
- | GET | /resources/:id | Get one |
53
-
54
- ### Files Created
55
- - `src/models/resource.ts`
56
- - `src/routes/resource.ts`
57
- - `tests/resource.test.ts`
58
- - `docs/api/resource.md`
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,44 +0,0 @@
1
- ---
2
- description: System Architecture and Design
3
- ---
4
-
5
- # /architect Workflow
6
-
7
- This workflow defines the technical architecture based on the PRD.
8
-
9
- ## Prerequisites
10
- - A `PRD.md` file should exist or the user should provide detailed requirements.
11
-
12
- ## Steps
13
-
14
- 1. **System Design**
15
- - Use key: `senior-architect`
16
- - Goal: Define system components, data flow, and technology choices.
17
- - Output: High-level architecture description.
18
-
19
- 2. **Visual Context**
20
- - Use key: `c4-context`
21
- - Goal: Generate a C4 Context diagram to visualize system boundaries.
22
- - Instruction: Use Mermaid.js syntax for diagrams.
23
-
24
- 3. **Database Design**
25
- - Use key: `database-engineer` (New Skill)
26
- - Goal: Design the database schema (ERD or JSON structure).
27
- - Output: SQL schema or collection design.
28
-
29
- 4. **Security Review**
30
- - Use key: `api-security-best-practices`
31
- - Goal: Review the proposed architecture for potential security flaws early.
32
- - Output: Security recommendations.
33
-
34
- 5. **Documentation**
35
- - Use key: `architecture`
36
- - Goal: Document the Architecture Decision Records (ADRs) and final design.
37
- - Instruction: Create `ARCHITECTURE.md` with the full design.
38
-
39
- ## Iron Rules
40
- 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.
41
-
42
-
43
- ## Gap Analysis Rule
44
- 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,227 +0,0 @@
1
- ---
2
- description: Interactive Brainstorming Session
3
- ---
4
-
5
- # /brainstorm - Interactive Design Session
6
-
7
- ## Purpose
8
-
9
- Start an interactive brainstorming session using the one-question-at-a-time methodology. Refine rough ideas into fully-formed designs through collaborative dialogue.
10
-
11
- ## Usage
12
-
13
- ```
14
- /brainstorm [topic or feature to design]
15
- ```
16
-
17
- ## Arguments
18
-
19
- - `$ARGUMENTS`: The topic, feature, or problem to brainstorm about
20
-
21
- ---
22
-
23
- Start interactive brainstorming session for: **$ARGUMENTS**
24
-
25
- ## Methodology
26
-
27
- **Reference**: `.claude/skills/methodology/brainstorming/SKILL.md`
28
-
29
- This command uses the superpowers brainstorming methodology for optimal results.
30
-
31
- ## Workflow
32
-
33
- ### Phase 1: Understanding
34
-
35
- **Goal**: Clarify requirements through sequential questioning.
36
-
37
- **Rules**:
38
- 1. Ask **ONE question per message**
39
- 2. Wait for user response before next question
40
- 3. Prefer **multiple-choice** over open-ended questions
41
- 4. Break complex topics into multiple questions
42
-
43
- **Example interaction**:
44
- ```
45
- Claude: "What type of authentication should we support?
46
- a) Username/password only
47
- b) OAuth providers (Google, GitHub)
48
- c) Both options
49
- d) Magic link (passwordless)"
50
-
51
- User: "b"
52
-
53
- Claude: "Which OAuth providers should we integrate?
54
- a) Google only
55
- b) GitHub only
56
- c) Both Google and GitHub
57
- d) Let me specify others..."
58
- ```
59
-
60
- ### Phase 2: Exploration
61
-
62
- **Goal**: Present alternatives with clear trade-offs.
63
-
64
- Present 2-3 approaches:
65
- - Lead with recommended option
66
- - Explain trade-offs for each
67
- - Let user choose direction
68
-
69
- ```markdown
70
- ## Approach 1: JWT-based (Recommended)
71
- - Stateless, scalable
72
- - Cons: Can't revoke instantly
73
-
74
- ## Approach 2: Session-based
75
- - Easy revocation
76
- - Cons: Requires session store
77
-
78
- Which approach aligns better with your goals?
79
- ```
80
-
81
- ### Phase 3: Design Presentation
82
-
83
- **Goal**: Present validated design incrementally.
84
-
85
- **Rules**:
86
- - Break into **200-300 word sections**
87
- - Validate after each section
88
- - Cover: architecture, components, data flow, error handling, testing
89
-
90
- **Sections to present**:
91
- 1. Architecture overview
92
- 2. Component breakdown
93
- 3. Data flow
94
- 4. Error handling
95
- 5. Testing considerations
96
-
97
- ## Core Principles
98
-
99
- ### YAGNI Ruthlessly
100
-
101
- Remove unnecessary features aggressively:
102
- - Question every "nice to have"
103
- - Start with minimal viable design
104
- - "We might need this later" = remove it
105
-
106
- ### One Question at a Time
107
-
108
- Sequential questioning produces better results:
109
- - Gives user time to think deeply
110
- - Prevents overwhelming with choices
111
- - Creates natural conversation flow
112
-
113
- ### Multiple-Choice Preference
114
-
115
- When possible, provide structured options:
116
- - Reduces cognitive load
117
- - Surfaces your understanding
118
- - Makes decisions concrete
119
-
120
- ## Output
121
-
122
- After design is validated, create design document:
123
-
124
- ```markdown
125
- # Design: [Feature Name]
126
- Date: [YYYY-MM-DD]
127
-
128
- ## Summary
129
- [2-3 sentences]
130
-
131
- ## Architecture
132
- [Architecture decisions]
133
-
134
- ## Components
135
- [Component breakdown]
136
-
137
- ## Data Flow
138
- [How data moves through system]
139
-
140
- ## Error Handling
141
- [Error scenarios and handling]
142
-
143
- ## Testing Strategy
144
- [Testing approach]
145
-
146
- ## Open Questions
147
- [Any remaining unknowns]
148
- ```
149
-
150
- ## Next Steps After Brainstorming
151
-
152
- After design is complete:
153
- 1. Commit design document to version control
154
- 2. Use `/plan --detailed` for implementation planning
155
- 3. Use `/execute-plan` for automated implementation
156
-
157
- ## Flags
158
-
159
- | Flag | Description | Example |
160
- |------|-------------|---------|
161
- | `--mode=[mode]` | Use specific behavioral mode | `--mode=brainstorm` |
162
- | `--depth=[1-5]` | Exploration depth level | `--depth=4` |
163
- | `--format=[fmt]` | Output format (concise/detailed) | `--format=detailed` |
164
- | `--save=[path]` | Save design document to file | `--save=docs/design.md` |
165
- | `--quick` | Shorter session, fewer questions | `--quick` |
166
- | `--comprehensive` | Longer session, thorough exploration | `--comprehensive` |
167
-
168
- ### Flag Usage Examples
169
-
170
- ```bash
171
- /brainstorm --comprehensive "authentication system design"
172
- /brainstorm --save=docs/payment-design.md "payment integration"
173
- /brainstorm --quick "simple file upload feature"
174
- /brainstorm --depth=5 "microservices architecture"
175
- ```
176
-
177
- ### Session Depth
178
-
179
- | Level | Questions | Exploration |
180
- |-------|-----------|-------------|
181
- | 1 | 2-3 | Quick validation only |
182
- | 2 | 4-5 | Standard session |
183
- | 3 | 6-8 | Thorough exploration |
184
- | 4 | 8-10 | Comprehensive |
185
- | 5 | 10+ | Exhaustive, all angles |
186
-
187
- ## MCP Integration
188
-
189
- This command leverages MCP servers for enhanced brainstorming:
190
-
191
- ### Reasoning - Structured Exploration (Primary)
192
- ```
193
- ALWAYS use Reasoning for brainstorming:
194
- - Explore design options systematically
195
- - Track pros/cons for each approach
196
- - Revise conclusions based on user feedback
197
- - Build confidence in final design incrementally
198
- ```
199
-
200
- ### Memory - Design Persistence
201
- ```
202
- Store design decisions for continuity:
203
- - Create entities for design concepts
204
- - Store user preferences and constraints
205
- - Recall previous design patterns
206
- - Build knowledge graph of architecture decisions
207
- ```
208
-
209
- ### Web Search - Technology Options
210
- ```
211
- When exploring technology choices:
212
- - Fetch current documentation for options
213
- - Compare library capabilities accurately
214
- - Understand trade-offs with real data
215
- ```
216
-
217
- ## When NOT to Use
218
-
219
- - Clear "mechanical" processes with known implementation
220
- - Simple bug fixes with obvious solutions
221
- - Tasks with explicit requirements already defined
222
-
223
- Use direct implementation instead.
224
-
225
-
226
- ## Gap Analysis Rule
227
- 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,38 +0,0 @@
1
- ---
2
- description: Development and Implementation
3
- ---
4
-
5
- # /build Workflow
6
-
7
- This workflow guides the implementation of features using best practices.
8
-
9
- ## Trigger
10
- - User provides a specific feature to build (e.g., "Implement user login").
11
-
12
- ## Steps
13
-
14
- 1. **Test-Driven Development**
15
- - Use key: `test-driven-development`
16
- - Goal: Write failing tests for the requested feature *before* implementation.
17
- - Instruction: Create `*.test.ts` (or appropriate extension) files first.
18
-
19
- 2. **Implementation**
20
- - Use key: `typescript-expert` (or `python-patterns` based on language)
21
- - Goal: Implement the feature to pass the tests.
22
- - Instruction: Follow SOLID principles and language-specific idioms.
23
-
24
- 3. **UI Implementation (If Frontend)**
25
- - Use key: `react-patterns` / `ui-ux-designer`
26
- - Goal: Ensure UI components are accessible and follow the design system.
27
- - Instruction: Skip this step if backend-only.
28
-
29
- 4. **Refactoring**
30
- - Use key: `secure-refactoring`
31
- - Goal: Refactor the code for better readability and security after getting tests to pass (Green phase).
32
-
33
- ## Iron Rules
34
- 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.
35
-
36
-
37
- ## Gap Analysis Rule
38
- 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,55 +0,0 @@
1
- ---
2
- description: Changelog Generation
3
- ---
4
-
5
- # /changelog - Changelog Command
6
-
7
- ## Purpose
8
-
9
- Generate changelog entries from recent commits.
10
-
11
- ## Usage
12
-
13
- ```
14
- /changelog [version or 'since:tag']
15
- ```
16
-
17
- ---
18
-
19
- Generate changelog for: **$ARGUMENTS**
20
-
21
- ## Workflow
22
-
23
- 1. **Analyze Commits**
24
- ```bash
25
- git log --oneline --since="last tag"
26
- ```
27
-
28
- 2. **Categorize**
29
- - Added
30
- - Changed
31
- - Fixed
32
- - Removed
33
-
34
- 3. **Generate**
35
- - User-friendly descriptions
36
- - Link to PRs/issues
37
-
38
- ## Output
39
-
40
- ```markdown
41
- ## [Version] - Date
42
-
43
- ### Added
44
- - Feature description (#123)
45
-
46
- ### Changed
47
- - Improvement description (#124)
48
-
49
- ### Fixed
50
- - Bug fix description (#125)
51
- ```
52
-
53
-
54
- ## Gap Analysis Rule
55
- 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,142 +0,0 @@
1
- ---
2
- description: Create a Checkpoint
3
- ---
4
-
5
- # /checkpoint
6
-
7
- ## Purpose
8
-
9
- Save and restore conversation context using git-based checkpoints. Enables session recovery and state preservation for complex, multi-session work.
10
-
11
- ---
12
-
13
- Manage checkpoints for the current work session.
14
-
15
- ## Checkpoint Operations
16
-
17
- ### Save Checkpoint
18
-
19
- Create a checkpoint of current state:
20
-
21
- ```bash
22
- /checkpoint save [name]
23
- ```
24
-
25
- **Process:**
26
- 1. Create git stash with descriptive message
27
- 2. Record current context (files being worked on, task state)
28
- 3. Save checkpoint metadata to `.claude/checkpoints/[name].json`
29
-
30
- **Metadata Format:**
31
- ```json
32
- {
33
- "name": "feature-auth",
34
- "created": "2024-01-15T14:30:00Z",
35
- "git_stash": "stash@{0}",
36
- "files_in_context": ["src/auth/login.ts", "src/auth/token.ts"],
37
- "current_task": "Implementing JWT refresh",
38
- "notes": "User-provided notes"
39
- }
40
- ```
41
-
42
- ### List Checkpoints
43
-
44
- Show available checkpoints:
45
-
46
- ```bash
47
- /checkpoint list
48
- ```
49
-
50
- **Output:**
51
- ```markdown
52
- ## Available Checkpoints
53
-
54
- | Name | Created | Task | Stash |
55
- |------|---------|------|-------|
56
- | feature-auth | 2h ago | JWT refresh | stash@{0} |
57
- | bugfix-login | 1d ago | Login timeout | stash@{1} |
58
- ```
59
-
60
- ### Restore Checkpoint
61
-
62
- Restore a previous checkpoint:
63
-
64
- ```bash
65
- /checkpoint restore [name]
66
- ```
67
-
68
- **Process:**
69
- 1. Apply git stash
70
- 2. Load checkpoint metadata
71
- 3. Summarize restored context
72
- 4. Ready to continue work
73
-
74
- ### Delete Checkpoint
75
-
76
- Remove a checkpoint:
77
-
78
- ```bash
79
- /checkpoint delete [name]
80
- ```
81
-
82
- ## Flags
83
-
84
- | Flag | Description |
85
- |------|-------------|
86
- | `--notes="[text]"` | Add notes to checkpoint |
87
- | `--force` | Overwrite existing checkpoint |
88
- | `--include-uncommitted` | Include uncommitted changes |
89
- | `--dry-run` | Show what would be saved |
90
-
91
- ## Usage Examples
92
-
93
- ```bash
94
- /checkpoint save auth-progress # Save current state
95
- /checkpoint save auth --notes="WIP tokens" # Save with notes
96
- /checkpoint list # Show checkpoints
97
- /checkpoint restore auth-progress # Restore state
98
- /checkpoint delete old-checkpoint # Remove checkpoint
99
- ```
100
-
101
- ## Arguments
102
-
103
- $ARGUMENTS
104
-
105
- Parse the operation (save/list/restore/delete) and checkpoint name.
106
-
107
- ---
108
-
109
- ## Auto-Checkpoint
110
-
111
- For complex tasks, checkpoints are automatically suggested:
112
- - Before major refactoring
113
- - When switching contexts
114
- - Before risky operations
115
- - At natural breakpoints
116
-
117
- ## Best Practices
118
-
119
- 1. **Name Descriptively**: Use task-related names
120
- 2. **Add Notes**: Future you will thank present you
121
- 3. **Checkpoint Often**: Before context switches
122
- 4. **Clean Up**: Delete obsolete checkpoints
123
-
124
- ## Recovery Workflow
125
-
126
- When resuming work:
127
- ```
128
- 1. /checkpoint list # See available states
129
- 2. /checkpoint restore [name] # Restore context
130
- 3. Continue where you left off # Context is loaded
131
- ```
132
-
133
- ## Limitations
134
-
135
- - Checkpoints use git stash (requires git repo)
136
- - Large uncommitted changes may be slow
137
- - Metadata stored in `.claude/checkpoints/`
138
- - Consider committing before checkpointing for safety
139
-
140
-
141
- ## Gap Analysis Rule
142
- 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.