tribunal-kit 2.4.6 → 3.1.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 (250) hide show
  1. package/.agent/ARCHITECTURE.md +99 -99
  2. package/.agent/GEMINI.md +52 -52
  3. package/.agent/agents/accessibility-reviewer.md +139 -86
  4. package/.agent/agents/ai-code-reviewer.md +160 -90
  5. package/.agent/agents/backend-specialist.md +164 -127
  6. package/.agent/agents/code-archaeologist.md +115 -73
  7. package/.agent/agents/database-architect.md +130 -110
  8. package/.agent/agents/debugger.md +137 -97
  9. package/.agent/agents/dependency-reviewer.md +78 -30
  10. package/.agent/agents/devops-engineer.md +161 -118
  11. package/.agent/agents/documentation-writer.md +151 -87
  12. package/.agent/agents/explorer-agent.md +117 -99
  13. package/.agent/agents/frontend-reviewer.md +127 -47
  14. package/.agent/agents/frontend-specialist.md +169 -109
  15. package/.agent/agents/game-developer.md +28 -164
  16. package/.agent/agents/logic-reviewer.md +87 -49
  17. package/.agent/agents/mobile-developer.md +151 -103
  18. package/.agent/agents/mobile-reviewer.md +133 -50
  19. package/.agent/agents/orchestrator.md +121 -110
  20. package/.agent/agents/penetration-tester.md +103 -77
  21. package/.agent/agents/performance-optimizer.md +136 -92
  22. package/.agent/agents/performance-reviewer.md +139 -69
  23. package/.agent/agents/product-manager.md +104 -70
  24. package/.agent/agents/product-owner.md +6 -25
  25. package/.agent/agents/project-planner.md +95 -95
  26. package/.agent/agents/qa-automation-engineer.md +174 -87
  27. package/.agent/agents/security-auditor.md +133 -129
  28. package/.agent/agents/seo-specialist.md +160 -99
  29. package/.agent/agents/sql-reviewer.md +132 -44
  30. package/.agent/agents/supervisor-agent.md +137 -109
  31. package/.agent/agents/swarm-worker-contracts.md +17 -17
  32. package/.agent/agents/swarm-worker-registry.md +46 -46
  33. package/.agent/agents/test-coverage-reviewer.md +132 -53
  34. package/.agent/agents/test-engineer.md +0 -21
  35. package/.agent/agents/type-safety-reviewer.md +143 -33
  36. package/.agent/patterns/generator.md +9 -9
  37. package/.agent/patterns/inversion.md +12 -12
  38. package/.agent/patterns/pipeline.md +9 -9
  39. package/.agent/patterns/reviewer.md +13 -13
  40. package/.agent/patterns/tool-wrapper.md +9 -9
  41. package/.agent/rules/GEMINI.md +63 -63
  42. package/.agent/scripts/__pycache__/auto_preview.cpython-311.pyc +0 -0
  43. package/.agent/scripts/__pycache__/bundle_analyzer.cpython-311.pyc +0 -0
  44. package/.agent/scripts/__pycache__/checklist.cpython-311.pyc +0 -0
  45. package/.agent/scripts/__pycache__/dependency_analyzer.cpython-311.pyc +0 -0
  46. package/.agent/scripts/__pycache__/security_scan.cpython-311.pyc +0 -0
  47. package/.agent/scripts/__pycache__/session_manager.cpython-311.pyc +0 -0
  48. package/.agent/scripts/__pycache__/skill_integrator.cpython-311.pyc +0 -0
  49. package/.agent/scripts/__pycache__/swarm_dispatcher.cpython-311.pyc +0 -0
  50. package/.agent/scripts/__pycache__/test_runner.cpython-311.pyc +0 -0
  51. package/.agent/scripts/__pycache__/verify_all.cpython-311.pyc +0 -0
  52. package/.agent/scripts/compress_skills.py +167 -0
  53. package/.agent/scripts/consolidate_skills.py +173 -0
  54. package/.agent/scripts/deep_compress.py +202 -0
  55. package/.agent/scripts/minify_context.py +80 -0
  56. package/.agent/scripts/security_scan.py +1 -1
  57. package/.agent/scripts/strip_tribunal.py +41 -0
  58. package/.agent/skills/agent-organizer/SKILL.md +60 -100
  59. package/.agent/skills/agentic-patterns/SKILL.md +0 -70
  60. package/.agent/skills/ai-prompt-injection-defense/SKILL.md +108 -53
  61. package/.agent/skills/api-patterns/SKILL.md +197 -257
  62. package/.agent/skills/api-security-auditor/SKILL.md +125 -57
  63. package/.agent/skills/app-builder/SKILL.md +326 -50
  64. package/.agent/skills/app-builder/templates/SKILL.md +13 -15
  65. package/.agent/skills/app-builder/templates/astro-static/TEMPLATE.md +16 -16
  66. package/.agent/skills/app-builder/templates/chrome-extension/TEMPLATE.md +22 -22
  67. package/.agent/skills/app-builder/templates/cli-tool/TEMPLATE.md +18 -18
  68. package/.agent/skills/app-builder/templates/electron-desktop/TEMPLATE.md +20 -20
  69. package/.agent/skills/app-builder/templates/express-api/TEMPLATE.md +17 -17
  70. package/.agent/skills/app-builder/templates/flutter-app/TEMPLATE.md +18 -18
  71. package/.agent/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +21 -21
  72. package/.agent/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +19 -19
  73. package/.agent/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +26 -26
  74. package/.agent/skills/app-builder/templates/nextjs-static/TEMPLATE.md +26 -26
  75. package/.agent/skills/app-builder/templates/nuxt-app/TEMPLATE.md +19 -19
  76. package/.agent/skills/app-builder/templates/python-fastapi/TEMPLATE.md +18 -18
  77. package/.agent/skills/app-builder/templates/react-native-app/TEMPLATE.md +20 -20
  78. package/.agent/skills/appflow-wireframe/SKILL.md +71 -98
  79. package/.agent/skills/architecture/SKILL.md +161 -200
  80. package/.agent/skills/authentication-best-practices/SKILL.md +121 -54
  81. package/.agent/skills/bash-linux/SKILL.md +71 -166
  82. package/.agent/skills/behavioral-modes/SKILL.md +8 -69
  83. package/.agent/skills/brainstorming/SKILL.md +345 -127
  84. package/.agent/skills/building-native-ui/SKILL.md +125 -57
  85. package/.agent/skills/clean-code/SKILL.md +266 -149
  86. package/.agent/skills/code-review-checklist/SKILL.md +0 -62
  87. package/.agent/skills/config-validator/SKILL.md +73 -131
  88. package/.agent/skills/csharp-developer/SKILL.md +434 -73
  89. package/.agent/skills/database-design/SKILL.md +190 -275
  90. package/.agent/skills/deployment-procedures/SKILL.md +81 -158
  91. package/.agent/skills/devops-engineer/SKILL.md +255 -94
  92. package/.agent/skills/devops-incident-responder/SKILL.md +50 -69
  93. package/.agent/skills/doc.md +5 -5
  94. package/.agent/skills/documentation-templates/SKILL.md +19 -63
  95. package/.agent/skills/edge-computing/SKILL.md +75 -165
  96. package/.agent/skills/extract-design-system/SKILL.md +84 -58
  97. package/.agent/skills/framer-motion-expert/SKILL.md +195 -0
  98. package/.agent/skills/frontend-design/SKILL.md +151 -499
  99. package/.agent/skills/game-design-expert/SKILL.md +71 -0
  100. package/.agent/skills/game-engineering-expert/SKILL.md +88 -0
  101. package/.agent/skills/geo-fundamentals/SKILL.md +52 -178
  102. package/.agent/skills/github-operations/SKILL.md +197 -272
  103. package/.agent/skills/gsap-expert/SKILL.md +194 -0
  104. package/.agent/skills/i18n-localization/SKILL.md +60 -172
  105. package/.agent/skills/intelligent-routing/SKILL.md +123 -103
  106. package/.agent/skills/lint-and-validate/SKILL.md +8 -52
  107. package/.agent/skills/llm-engineering/SKILL.md +281 -195
  108. package/.agent/skills/local-first/SKILL.md +76 -159
  109. package/.agent/skills/mcp-builder/SKILL.md +48 -188
  110. package/.agent/skills/mobile-design/SKILL.md +213 -219
  111. package/.agent/skills/motion-engineering/SKILL.md +184 -0
  112. package/.agent/skills/nextjs-react-expert/SKILL.md +184 -203
  113. package/.agent/skills/nodejs-best-practices/SKILL.md +403 -185
  114. package/.agent/skills/observability/SKILL.md +211 -203
  115. package/.agent/skills/parallel-agents/SKILL.md +53 -146
  116. package/.agent/skills/performance-profiling/SKILL.md +171 -151
  117. package/.agent/skills/plan-writing/SKILL.md +49 -153
  118. package/.agent/skills/platform-engineer/SKILL.md +57 -103
  119. package/.agent/skills/playwright-best-practices/SKILL.md +110 -63
  120. package/.agent/skills/powershell-windows/SKILL.md +61 -179
  121. package/.agent/skills/python-patterns/SKILL.md +7 -35
  122. package/.agent/skills/python-pro/SKILL.md +273 -114
  123. package/.agent/skills/react-specialist/SKILL.md +227 -108
  124. package/.agent/skills/readme-builder/SKILL.md +15 -85
  125. package/.agent/skills/realtime-patterns/SKILL.md +216 -243
  126. package/.agent/skills/red-team-tactics/SKILL.md +10 -51
  127. package/.agent/skills/rust-pro/SKILL.md +525 -142
  128. package/.agent/skills/seo-fundamentals/SKILL.md +92 -153
  129. package/.agent/skills/server-management/SKILL.md +110 -166
  130. package/.agent/skills/shadcn-ui-expert/SKILL.md +154 -55
  131. package/.agent/skills/skill-creator/SKILL.md +18 -58
  132. package/.agent/skills/sql-pro/SKILL.md +543 -68
  133. package/.agent/skills/supabase-postgres-best-practices/SKILL.md +28 -68
  134. package/.agent/skills/swiftui-expert/SKILL.md +124 -57
  135. package/.agent/skills/systematic-debugging/SKILL.md +49 -151
  136. package/.agent/skills/tailwind-patterns/SKILL.md +433 -149
  137. package/.agent/skills/tdd-workflow/SKILL.md +63 -169
  138. package/.agent/skills/test-result-analyzer/SKILL.md +33 -73
  139. package/.agent/skills/testing-patterns/SKILL.md +437 -130
  140. package/.agent/skills/trend-researcher/SKILL.md +30 -71
  141. package/.agent/skills/ui-ux-pro-max/SKILL.md +0 -41
  142. package/.agent/skills/ui-ux-researcher/SKILL.md +51 -91
  143. package/.agent/skills/vue-expert/SKILL.md +225 -119
  144. package/.agent/skills/vulnerability-scanner/SKILL.md +264 -226
  145. package/.agent/skills/web-accessibility-auditor/SKILL.md +141 -58
  146. package/.agent/skills/web-design-guidelines/SKILL.md +17 -61
  147. package/.agent/skills/webapp-testing/SKILL.md +71 -196
  148. package/.agent/skills/whimsy-injector/SKILL.md +58 -132
  149. package/.agent/skills/workflow-optimizer/SKILL.md +28 -68
  150. package/.agent/workflows/api-tester.md +96 -224
  151. package/.agent/workflows/audit.md +81 -122
  152. package/.agent/workflows/brainstorm.md +69 -105
  153. package/.agent/workflows/changelog.md +65 -97
  154. package/.agent/workflows/create.md +73 -88
  155. package/.agent/workflows/debug.md +80 -111
  156. package/.agent/workflows/deploy.md +119 -92
  157. package/.agent/workflows/enhance.md +80 -91
  158. package/.agent/workflows/fix.md +68 -97
  159. package/.agent/workflows/generate.md +165 -164
  160. package/.agent/workflows/migrate.md +106 -109
  161. package/.agent/workflows/orchestrate.md +103 -86
  162. package/.agent/workflows/performance-benchmarker.md +77 -268
  163. package/.agent/workflows/plan.md +120 -98
  164. package/.agent/workflows/preview.md +39 -96
  165. package/.agent/workflows/refactor.md +105 -97
  166. package/.agent/workflows/review-ai.md +63 -102
  167. package/.agent/workflows/review.md +71 -110
  168. package/.agent/workflows/session.md +53 -113
  169. package/.agent/workflows/status.md +42 -88
  170. package/.agent/workflows/strengthen-skills.md +90 -51
  171. package/.agent/workflows/swarm.md +114 -129
  172. package/.agent/workflows/test.md +125 -102
  173. package/.agent/workflows/tribunal-backend.md +60 -78
  174. package/.agent/workflows/tribunal-database.md +62 -100
  175. package/.agent/workflows/tribunal-frontend.md +62 -82
  176. package/.agent/workflows/tribunal-full.md +56 -100
  177. package/.agent/workflows/tribunal-mobile.md +65 -94
  178. package/.agent/workflows/tribunal-performance.md +62 -105
  179. package/.agent/workflows/ui-ux-pro-max.md +72 -121
  180. package/README.md +11 -15
  181. package/package.json +1 -1
  182. package/.agent/skills/api-patterns/api-style.md +0 -42
  183. package/.agent/skills/api-patterns/auth.md +0 -24
  184. package/.agent/skills/api-patterns/documentation.md +0 -26
  185. package/.agent/skills/api-patterns/graphql.md +0 -41
  186. package/.agent/skills/api-patterns/rate-limiting.md +0 -31
  187. package/.agent/skills/api-patterns/response.md +0 -37
  188. package/.agent/skills/api-patterns/rest.md +0 -40
  189. package/.agent/skills/api-patterns/security-testing.md +0 -122
  190. package/.agent/skills/api-patterns/trpc.md +0 -41
  191. package/.agent/skills/api-patterns/versioning.md +0 -22
  192. package/.agent/skills/app-builder/agent-coordination.md +0 -71
  193. package/.agent/skills/app-builder/feature-building.md +0 -53
  194. package/.agent/skills/app-builder/project-detection.md +0 -34
  195. package/.agent/skills/app-builder/scaffolding.md +0 -118
  196. package/.agent/skills/app-builder/tech-stack.md +0 -40
  197. package/.agent/skills/architecture/context-discovery.md +0 -43
  198. package/.agent/skills/architecture/examples.md +0 -94
  199. package/.agent/skills/architecture/pattern-selection.md +0 -68
  200. package/.agent/skills/architecture/patterns-reference.md +0 -50
  201. package/.agent/skills/architecture/trade-off-analysis.md +0 -77
  202. package/.agent/skills/brainstorming/dynamic-questioning.md +0 -360
  203. package/.agent/skills/database-design/database-selection.md +0 -43
  204. package/.agent/skills/database-design/indexing.md +0 -39
  205. package/.agent/skills/database-design/migrations.md +0 -48
  206. package/.agent/skills/database-design/optimization.md +0 -36
  207. package/.agent/skills/database-design/orm-selection.md +0 -30
  208. package/.agent/skills/database-design/schema-design.md +0 -56
  209. package/.agent/skills/dotnet-core-expert/SKILL.md +0 -103
  210. package/.agent/skills/framer-motion-animations/SKILL.md +0 -74
  211. package/.agent/skills/frontend-design/animation-guide.md +0 -331
  212. package/.agent/skills/frontend-design/color-system.md +0 -329
  213. package/.agent/skills/frontend-design/decision-trees.md +0 -418
  214. package/.agent/skills/frontend-design/motion-graphics.md +0 -306
  215. package/.agent/skills/frontend-design/typography-system.md +0 -363
  216. package/.agent/skills/frontend-design/ux-psychology.md +0 -1116
  217. package/.agent/skills/frontend-design/visual-effects.md +0 -383
  218. package/.agent/skills/game-development/2d-games/SKILL.md +0 -119
  219. package/.agent/skills/game-development/3d-games/SKILL.md +0 -135
  220. package/.agent/skills/game-development/SKILL.md +0 -236
  221. package/.agent/skills/game-development/game-art/SKILL.md +0 -185
  222. package/.agent/skills/game-development/game-audio/SKILL.md +0 -190
  223. package/.agent/skills/game-development/game-design/SKILL.md +0 -129
  224. package/.agent/skills/game-development/mobile-games/SKILL.md +0 -108
  225. package/.agent/skills/game-development/multiplayer/SKILL.md +0 -132
  226. package/.agent/skills/game-development/pc-games/SKILL.md +0 -144
  227. package/.agent/skills/game-development/vr-ar/SKILL.md +0 -123
  228. package/.agent/skills/game-development/web-games/SKILL.md +0 -150
  229. package/.agent/skills/intelligent-routing/router-manifest.md +0 -65
  230. package/.agent/skills/mobile-design/decision-trees.md +0 -516
  231. package/.agent/skills/mobile-design/mobile-backend.md +0 -491
  232. package/.agent/skills/mobile-design/mobile-color-system.md +0 -420
  233. package/.agent/skills/mobile-design/mobile-debugging.md +0 -122
  234. package/.agent/skills/mobile-design/mobile-design-thinking.md +0 -357
  235. package/.agent/skills/mobile-design/mobile-navigation.md +0 -458
  236. package/.agent/skills/mobile-design/mobile-performance.md +0 -767
  237. package/.agent/skills/mobile-design/mobile-testing.md +0 -356
  238. package/.agent/skills/mobile-design/mobile-typography.md +0 -433
  239. package/.agent/skills/mobile-design/platform-android.md +0 -666
  240. package/.agent/skills/mobile-design/platform-ios.md +0 -561
  241. package/.agent/skills/mobile-design/touch-psychology.md +0 -537
  242. package/.agent/skills/nextjs-react-expert/1-async-eliminating-waterfalls.md +0 -312
  243. package/.agent/skills/nextjs-react-expert/2-bundle-bundle-size-optimization.md +0 -240
  244. package/.agent/skills/nextjs-react-expert/3-server-server-side-performance.md +0 -490
  245. package/.agent/skills/nextjs-react-expert/4-client-client-side-data-fetching.md +0 -264
  246. package/.agent/skills/nextjs-react-expert/5-rerender-re-render-optimization.md +0 -581
  247. package/.agent/skills/nextjs-react-expert/6-rendering-rendering-performance.md +0 -432
  248. package/.agent/skills/nextjs-react-expert/7-js-javascript-performance.md +0 -684
  249. package/.agent/skills/nextjs-react-expert/8-advanced-advanced-patterns.md +0 -150
  250. package/.agent/skills/vulnerability-scanner/checklists.md +0 -121
@@ -1,146 +1,110 @@
1
1
  ---
2
- description: Structured brainstorming for projects and features. Explores multiple options before implementation.
2
+ description: Structured brainstorming for projects and features. Uses Socratic questioning to explore multiple options before committing to an approach. No implementation during this phase — only exploration.
3
3
  ---
4
4
 
5
- # /brainstorm — Idea Space
5
+ # /brainstorm — Structured Idea Exploration
6
6
 
7
7
  $ARGUMENTS
8
8
 
9
9
  ---
10
10
 
11
- This command puts the AI into **exploration mode** — no implementation, no code. The goal is to map the problem and surface real alternatives before committing to a path.
11
+ ## When to Use /brainstorm
12
12
 
13
- ---
14
-
15
- ## When to Use This
16
-
17
- Before any `/create` or `/enhance` command when:
18
- - The problem is not yet well-defined
19
- - You want to evaluate multiple architectural paths
20
- - You need an honest assessment of tradeoffs before starting
21
- - Decision between two tools or approaches is unclear
22
- - The team needs to align on direction before work begins
13
+ |Use `/brainstorm` when...|Move to...|
14
+ |:---|:---|
15
+ |Multiple valid approaches exist|After decision → `/plan`|
16
+ |You're unsure of the best architecture|After plan approval → `/generate`|
17
+ |Exploring tradeoffs before committing|Confirmed approach `/create`|
18
+ |Looking for second opinions on design||
23
19
 
24
20
  ---
25
21
 
26
- ## The Brainstorming Contract
27
-
28
- - Minimum **3 distinct approaches** will be surfaced — not variations of one idea, but genuinely different paths
29
- - Every approach is assessed on **specific tradeoffs**, not vague pros/cons
30
- - A **clear verdict** is given at the end — not "it depends" as a final answer
31
- - No code is written during brainstorming
32
- - Every tool or library named must be **real and documented**
33
-
34
- ---
35
-
36
- ## What Happens
37
-
38
- **First, the problem is clarified:**
39
-
40
- > "What specific outcome should exist that doesn't exist today? Who experiences the problem? What constraints are fixed (stack, timeline, team size)?"
22
+ ## Phase 1 — Question First
41
23
 
42
- If those aren't answered, the session asks before going further.
43
-
44
- **Then, at least 3 distinct approaches are surfaced**, each with:
45
- - How it works (mechanism, not just name)
46
- - Where it wins (specific advantage)
47
- - Where it struggles (real tradeoff — not "it can be complex")
48
- - Realistic effort level
49
-
50
- **Finally, one approach is recommended** — not hedged, not "it depends." A clear pick with a clear reason tied to the user's stated constraints.
51
-
52
- ---
53
-
54
- ## Response Template
24
+ Before generating ideas, ask 3 clarifying questions:
55
25
 
56
26
  ```
57
- ## Exploration: [Problem Statement]
58
-
59
- Why we're looking at this:
60
- [What's the actual friction or outcome gap being solved]
61
-
62
- User context:
63
- [Stack, constraints, team size, timeline — if known]
64
-
65
- ────────────────────────────────────────
66
-
67
- Approach 1 — [Name]
68
- [What this is and how it actually works — mechanism, not just label]
69
-
70
- Where it wins:
71
- › [Specific advantage tied to this use case]
72
- › [Second specific advantage]
73
-
74
- Where it struggles:
75
- › [Real tradeoff — operational cost, learning curve, limitation]
76
-
77
- Effort: ◼◽◽◽◽ Low | ◼◼◼◽◽ Medium | ◼◼◼◼◽ High
27
+ 1. What constraint is non-negotiable? (timeline, tech stack, cost, performance)
28
+ 2. What has already been tried and ruled out?
29
+ 3. What does "success" look like for this decision?
30
+ ```
78
31
 
79
- ────────────────────────────────────────
32
+ ---
80
33
 
81
- Approach 2 — [Name]
82
- ...
34
+ ## Phase 2 — Generate 3 Distinct Options
83
35
 
84
- ────────────────────────────────────────
36
+ Present minimum 3 meaningfully different approaches:
85
37
 
86
- Approach 3 — [Name]
87
- ...
38
+ ```
39
+ Option A: [Conservative approach]
40
+ Pros: [why this works]
41
+ Cons: [what it sacrifices]
42
+ Effort: [Low / Medium / High]
43
+ Best for: [when this is the right choice]
44
+
45
+ Option B: [Balanced approach]
46
+ Pros: [why this works]
47
+ Cons: [what it sacrifices]
48
+ Effort: [Low / Medium / High]
49
+ Best for: [when this is the right choice]
50
+
51
+ Option C: [Ambitious approach]
52
+ Pros: [why this works]
53
+ Cons: [what it sacrifices]
54
+ Effort: [Low / Medium / High]
55
+ Best for: [when this is the right choice]
56
+ ```
88
57
 
89
- ────────────────────────────────────────
58
+ ---
90
59
 
91
- Verdict:
92
- Approach [N] — because [specific reason tied to the stated constraints].
60
+ ## Phase 3 — Socratic Analysis
93
61
 
94
- [If it truly depends on one variable]:
95
- → If [condition A]: Approach 1
96
- → If [condition B]: Approach 2
62
+ After presenting options, probe with questions that reveal hidden tradeoffs:
97
63
 
98
- What direction should we go deeper on?
64
+ ```
65
+ □ What happens when this scales to 10x current load?
66
+ □ What's the maintenance cost 12 months from now?
67
+ □ Which option fails most gracefully under the worst case?
68
+ □ Which option are you most likely to regret?
69
+ □ What's the opportunity cost of each option?
99
70
  ```
100
71
 
101
72
  ---
102
73
 
103
- ## Questions That Unlock Better Exploration
74
+ ## Phase 4 Recommendation (Evidence-Based)
104
75
 
105
- The brainstorming agent may ask:
76
+ After exploration, state a recommendation:
106
77
 
107
- | Question | Why it matters |
108
- |---|---|
109
- | What's the scale? (RPS, users, data volume) | Changes which approaches are viable |
110
- | Is the team familiar with X? | Affects "effort" rating significantly |
111
- | What's the failure cost? | Changes risk tolerance and complexity budget |
112
- | Is this greenfield or adding to existing? | Existing constraints eliminate some options |
113
- | What's the time horizon? (prototype vs 5-year system) | Short-term vs long-term tradeoffs differ |
114
-
115
- ---
78
+ ```
79
+ Recommended: Option [B]
116
80
 
117
- ## Hallucination Guard
81
+ Reasoning:
82
+ - [specific reason 1 tied to stated constraints]
83
+ - [specific reason 2]
84
+ - [specific tradeoff you're accepting and why]
118
85
 
119
- - **No invented libraries or tools** every named option must be a real, documented choice
120
- - **No performance claims without a cited benchmark** — "X is faster" requires a source
121
- - **Every "pro" must be mechanically grounded** — how does this approach actually achieve the advantage?
122
- - **Assumptions about the user's codebase** are labeled: `[ASSUMPTION — verify before committing to this approach]`
123
- - **Effort estimates** are ranges, not single values, with a confidence label
86
+ NOT recommended because [reason Option A/C is worse for this specific context]
87
+ ```
124
88
 
125
89
  ---
126
90
 
127
- ## Cross-Workflow Navigation
91
+ ## Brainstorm Guard
128
92
 
129
- | After /brainstorm, the next step is... |
130
- |---|
131
- | Decision made `/plan` to write the formal plan |
132
- | Decision made, simple task `/generate` directly |
133
- | Decision made, large build `/create` with known approach |
134
- | Still unclear → ask more Socratic questions before proceeding |
93
+ ```
94
+ ❌ Never present a single option as if it's the only choice
95
+ Never recommend without explaining WHY in terms of the stated constraints
96
+ Never skip the Socratic probing it surfaces assumptions
97
+ Never proceed to implementation in /brainstorm mode use /plan after
98
+ ```
135
99
 
136
100
  ---
137
101
 
138
- ## Usage
102
+ ## Usage Examples
139
103
 
140
104
  ```
141
- /brainstorm caching layer for a high-traffic API
142
- /brainstorm auth approach for a multi-tenant SaaS
143
- /brainstorm how to structure shared state in a large React app
144
- /brainstorm whether to use a message queue or direct API calls for notifications
145
- /brainstorm database: PostgreSQL vs MongoDB for our event sourcing system
105
+ /brainstorm real-time collaboration: WebSockets vs Server-Sent Events vs CRDTs
106
+ /brainstorm caching strategy: Redis vs in-memory vs CDN for our API responses
107
+ /brainstorm auth: next-auth vs Clerk vs custom JWT for our SaaS app
108
+ /brainstorm state management: Zustand vs Redux vs TanStack Query
109
+ /brainstorm monolith vs microservices for our current team size
146
110
  ```
@@ -1,144 +1,112 @@
1
1
  ---
2
- description: Auto-generate changelogs from git history. Categorizes changes by type and follows Keep a Changelog format.
2
+ description: Auto-generate changelogs from git history. Categorizes commits by type (feat/fix/chore/breaking) and follows Keep a Changelog format. Requires conventional commit messages for accurate categorization.
3
3
  ---
4
4
 
5
- # /changelog — Generate Change History
5
+ # /changelog — Git History to Changelog
6
6
 
7
7
  $ARGUMENTS
8
8
 
9
9
  ---
10
10
 
11
- This command generates a structured changelog from git history. It reads real commits and categorizes them — it never invents changes that don't exist.
11
+ ## When to Use /changelog
12
+
13
+ |Use `/changelog` when...||
14
+ |:---|:---|
15
+ |Preparing a release|Generate for specific version range|
16
+ |Documenting recent changes|Generate since last tag|
17
+ |Onboarding someone to codebase history|Generate entire history|
12
18
 
13
19
  ---
14
20
 
15
- ## When to Use This
21
+ ## Commit Convention (Required for Accuracy)
16
22
 
17
- - Before a release to document what changed
18
- - When preparing release notes for stakeholders
19
- - To create or update `CHANGELOG.md`
20
- - To summarize work completed in a sprint or between two tags
23
+ ```
24
+ Format: <type>(<scope>): <description>
25
+
26
+ Types:
27
+ feat: New functionality (appears in "Added")
28
+ fix: Bug fix (appears in "Fixed")
29
+ chore: Maintenance, deps (appears in "Changed")
30
+ docs: Documentation only
31
+ perf: Performance improvement (appears in "Changed")
32
+ refactor: Internal restructuring (appears in "Changed")
33
+ test: Test-only changes
34
+ BREAKING CHANGE: Footer or body annotation (appears in "Breaking Changes")
35
+ ```
21
36
 
22
37
  ---
23
38
 
24
- ## What Happens
25
-
26
- ### Stage 1 — Determine Range
27
-
28
- Default range: commits since the last tag. Override with:
39
+ ## Git Log Commands
29
40
 
30
41
  ```bash
31
- # Default: since last tag
32
- // turbo
33
- git log $(git describe --tags --abbrev=0)..HEAD --oneline --format="%h %ad %s" --date=short
42
+ # Since last tag
43
+ git log $(git describe --tags --abbrev=0)..HEAD --oneline --no-merges
34
44
 
35
- # Last N commits
36
- git log -n 20 --oneline --format="%h %ad %s" --date=short
45
+ # Since a specific date
46
+ git log --since="2026-01-01" --oneline --no-merges
37
47
 
38
- # Between specific tags
39
- git log v1.0.0..v2.0.0 --oneline --format="%h %ad %s" --date=short
48
+ # Since specific commit
49
+ git log abc123def..HEAD --oneline --no-merges
40
50
 
41
- # Since a date
42
- git log --since="2025-01-01" --oneline --format="%h %ad %s" --date=short
51
+ # With full commit message (for BREAKING CHANGE in body)
52
+ git log $(git describe --tags --abbrev=0)..HEAD --format="%H %s%n%b"
43
53
  ```
44
54
 
45
- If no tags exist: default to last 20 commits and flag no tags found.
46
-
47
- ### Stage 2 — Collect and Categorize
48
-
49
- Read the git log and categorize each commit by prefix:
50
-
51
- | Commit Prefix | Category | Icon |
52
- |---|---|---|
53
- | `feat:`, `feature:`, `add:` | Features | ✨ |
54
- | `fix:`, `bugfix:`, `hotfix:` | Fixes | 🐛 |
55
- | `refactor:`, `cleanup:` | Refactors | ♻️ |
56
- | `docs:`, `doc:` | Documentation | 📝 |
57
- | `test:`, `tests:` | Tests | ✅ |
58
- | `chore:`, `build:`, `ci:` | Maintenance | 🔧 |
59
- | `perf:`, `performance:` | Performance | ⚡ |
60
- | `security:`, `sec:` | Security | 🔒 |
61
- | `BREAKING:`, `breaking:`, `!` after scope | Breaking Changes | 💥 |
62
- | (no recognized prefix) | Other | 📦 |
63
-
64
- ### Stage 3 — Generate Output
55
+ ---
65
56
 
66
- Output follows [Keep a Changelog](https://keepachangelog.com/) format:
57
+ ## Output Format (Keep a Changelog)
67
58
 
68
59
  ```markdown
69
60
  # Changelog
70
61
 
71
- ## [Unreleased] YYYY-MM-DD
72
-
73
- ### 💥 Breaking Changes
74
- - `abc1234` — Description of breaking change
62
+ All notable changes to this project will be documented in this file.
75
63
 
76
- ### Features
77
- - `def5678` Description of new feature
64
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
65
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
78
66
 
79
- ### 🐛 Fixes
80
- - `ghi9012` — Description of bug fix
67
+ ## [Unreleased]
81
68
 
82
- ### Performance
83
- - `jkl3456` — Description of performance improvement
69
+ ## [1.2.0] — 2026-04-02
84
70
 
85
- ### 🔒 Security
86
- - `mno7890`Description of security fix
71
+ ### Breaking Changes
72
+ - **auth**: JWT token format changed clients must re-authenticate ([abc123](link))
87
73
 
88
- ### ♻️ Refactors
89
- - `pqr1234` Description of refactor
74
+ ### Added
75
+ - User notification system with email and in-app alerts ([def456](link))
76
+ - Pagination on /api/users endpoint with meta.total in response ([ghi789](link))
90
77
 
91
- ### 📝 Documentation
92
- - `stu5678` Description of docs change
78
+ ### Fixed
79
+ - JWT verify no longer accepts 'none' algorithm ([jkl012](link))
80
+ - Checkout form no longer loses data on page refresh ([mno345](link))
93
81
 
94
- ### 🔧 Maintenance
95
- - `vwx9012`Description of chore/dependency bump
96
- ```
97
-
98
- ### Stage 4 — Review and Save
99
-
100
- Present the generated summary before writing:
82
+ ### Changed
83
+ - Upgraded Prisma 5 to 6 findOne calls migrated to findUnique ([pqr678](link))
84
+ - Bundle size reduced 64% via dynamic import for chart library ([stu901](link))
101
85
 
102
- ```
103
- 📋 Generated changelog from [range]:
104
- 💥 1 breaking change
105
- ✨ 3 features
106
- 🐛 5 fixes
107
- 📦 2 uncategorized commits
86
+ ## [1.1.0] — 2026-03-15
87
+ [...]
108
88
 
109
- Save to CHANGELOG.md? [Y = append | N = cancel | S = stdout only]
89
+ [Unreleased]: https://github.com/user/repo/compare/v1.2.0...HEAD
90
+ [1.2.0]: https://github.com/user/repo/compare/v1.1.0...v1.2.0
110
91
  ```
111
92
 
112
- > ⏸️ **Human Gate** — CHANGELOG.md is not written without confirmation.
113
-
114
93
  ---
115
94
 
116
- ## Hallucination Guard
117
-
118
- - **Only include commits that actually exist** in git history — read from `git log`, never invent
119
- - **Never summarize or paraphrase** ambiguous commit messages — include verbatim if unclear
120
- - **Always show the commit hash** for traceability beside each entry
121
- - **Never infer intent** from a commit message — report what was written, not what it "probably meant"
122
- - Breaking changes need to be explicitly labeled in the commit — never infer breakage from code
95
+ ## Semver Decision Guide
123
96
 
124
- ---
125
-
126
- ## Cross-Workflow Navigation
127
-
128
- | After /changelog reveals... | Go to |
129
- |---|---|
130
- | Many uncategorized commits | Enforce commit conventions in the team |
131
- | Breaking changes need documentation | Update API docs or migration guides |
132
- | Ready for release | `/deploy` to complete the release pipeline |
97
+ ```
98
+ MAJOR (1.0.0 → 2.0.0): Any BREAKING CHANGE
99
+ MINOR (1.0.0 → 1.1.0): New features, backward-compatible (feat:)
100
+ PATCH (1.0.0 → 1.0.1): Bug fixes only (fix:)
101
+ ```
133
102
 
134
103
  ---
135
104
 
136
- ## Usage
105
+ ## Usage Examples
137
106
 
138
107
  ```
139
- /changelog since the last release
140
- /changelog for the last 50 commits
141
- /changelog between v1.0 and v2.0
142
- /changelog generate and save to CHANGELOG.md
143
- /changelog sprint summary since 2025-03-01
108
+ /changelog since last release tag
109
+ /changelog for version 1.2.0 including all commits since v1.1.0
110
+ /changelog since 2026-01-01
111
+ /changelog what changed in the authentication module this month
144
112
  ```
@@ -1,139 +1,124 @@
1
1
  ---
2
- description: Create new application command. Triggers App Builder skill and starts interactive dialogue with user.
2
+ description: Create new application command. Triggers full stack creation from requirements gathering stack selection → scaffolding → Tribunal code generation. Everything through the pipeline before writing a single file.
3
3
  ---
4
4
 
5
- # /create — Build Something New
5
+ # /create — Full Application Builder
6
6
 
7
7
  $ARGUMENTS
8
8
 
9
9
  ---
10
10
 
11
- This command starts a structured creation process. **Code only appears after requirements are clear and a plan is approved.** Building before understanding is the number one source of wasted work.
11
+ ## When to Use /create
12
12
 
13
- ---
14
-
15
- ## When to Use /create vs Other Commands
16
-
17
- | Use `/create` when... | Use something else when... |
18
- |---|---|
19
- | Starting something from scratch | Extending existing code → `/enhance` |
20
- | Building a complete feature (frontend + backend + DB) | Single function needed → `/generate` |
21
- | You need a plan before code | Plan only, no code → `/plan` |
22
- | Multi-domain coordination required | Single domain → `/generate` with right tribunal |
13
+ |Use `/create` when...|Use something else when...|
14
+ |:---|:---|
15
+ |Starting a new project from scratch|Adding to an existing project `/enhance`|
16
+ |No codebase exists yet|Generating a focused code snippet → `/generate`|
17
+ |You need a working scaffold with structure|Planning and understanding `/plan`|
23
18
 
24
19
  ---
25
20
 
26
- ## The Four Stages
21
+ ## Phase 1 — Requirements Gathering (Socratic Gate)
27
22
 
28
- ### Stage 1 Understand (not optional)
29
-
30
- Before any planning begins, these four things must be established:
23
+ Before a single line of code is written, the `app-builder` agent asks these questions:
31
24
 
32
25
  ```
33
- 1. What is the user's actual goal? (not the feature — the outcome)
34
- 2. What stack are we working in? (existing project or greenfield?)
35
- 3. What is explicitly out of scope? (boundary prevents scope creep)
36
- 4. What's the observable done state? (how do we know it's finished?)
26
+ 1. What does this application DO? (one sentence — the core user action)
27
+ 2. Who uses it? (end users, internal team, API consumers)
28
+ 3. What is the target platform? (web, mobile, server, CLI, desktop)
29
+ 4. Are there any tech constraints? (must use X, must run on Y)
30
+ 5. What data does it store? (users, products, documents, real-time events)
31
+ 6. Is authentication required? (yes/no/type: email, OAuth, API key)
32
+ 7. Are there external integrations? (Stripe, OpenAI, Twilio, etc.)
37
33
  ```
38
34
 
39
- **If anything is unclear ask. Do not skip to Stage 2 on assumptions.**
40
-
41
- Minimum Socratic gate questions by project type:
42
-
43
- | Project type | Questions to ask before planning |
44
- |---|---|
45
- | API / backend | Auth strategy? Database? Error format? Rate limiting? |
46
- | Frontend / UI | Framework? Design system? State management? SSR? |
47
- | Full-stack | All of the above + deployment target |
48
- | CLI tool | Target OS? Binary or script? Package manager integration? |
35
+ No scaffolding starts until all questions are answered.
49
36
 
50
37
  ---
51
38
 
52
- ### Stage 2 — Plan
53
-
54
- Engage `project-planner` to write a structured plan:
39
+ ## Phase 2 — Stack Selection
55
40
 
56
- ```
57
- Location: docs/PLAN-{task-slug}.md
58
-
59
- Must contain:
60
- - Goal (one sentence)
61
- - Out-of-scope list (what we won't build in this version)
62
- - Open questions with [VERIFY] tags
63
- - Task table: task / agent / dependency / done-condition
64
- - Tribunal gate per task
65
- - Time estimates: optimistic / realistic / pessimistic + confidence level
66
- ```
41
+ Based on the answers, the agent selects the appropriate stack:
67
42
 
68
- **The plan is shown to the user before any code is written.**
43
+ |App Type|Recommended Stack|
44
+ |:---|:---|
45
+ |Web app (content + interaction)|Next.js 15, TypeScript, Tailwind v4, Prisma|
46
+ |API server only|Hono on Node 22, Zod, TypeScript|
47
+ |Real-time app|Next.js 15 + WebSocket (Socket.io) or SSE|
48
+ |Mobile app|Expo + React Native, Expo Router v4|
49
+ |CLI tool|Node 22, Commander.js, TypeScript|
50
+ |E-commerce|Next.js 15 + Stripe + Prisma|
69
51
 
70
- > ⏸️ "Here's the plan: `docs/PLAN-{slug}.md` proceed?"
71
- > Do not advance until explicitly confirmed with **Y**.
52
+ Stack selection is presented to the user for approval before scaffolding begins.
72
53
 
73
54
  ---
74
55
 
75
- ### Stage 3 — Build (Parallel agents, after approval)
56
+ ## Phase 3 — Scaffolding Plan
76
57
 
77
- | Layer | Primary Agent | Review Gate |
78
- |---|---|---|
79
- | Data schema / migrations | `database-architect` | `/tribunal-database` |
80
- | API & server logic | `backend-specialist` | `/tribunal-backend` |
81
- | UI & components | `frontend-specialist` | `/tribunal-frontend` |
82
- | Test coverage | `test-engineer` | `logic + test-coverage-reviewer` |
83
- | DevOps / deploy config | `devops-engineer` | `/tribunal-backend` |
84
-
85
- Each agent's code goes through Tribunal before being shown to the user.
86
-
87
- **Wave execution (if multiple layers):**
58
+ The agent produces an implementation plan showing:
88
59
 
89
60
  ```
90
- Wave 1: database-architect → reviewed → Human Gate
91
- Wave 2: backend-specialist (uses Wave 1 schema) → reviewed → Human Gate
92
- Wave 3: frontend-specialist + test-engineer (parallel) → reviewed → Human Gate
61
+ Files to create:
62
+ ├── Core structure (package.json, tsconfig, config files)
63
+ ├── Database schema (prisma/schema.prisma)
64
+ ├── Authentication setup (auth.ts, middleware.ts)
65
+ ├── Core API routes or Server Actions
66
+ ├── Base UI components and layouts
67
+ └── Initial tests and CI pipeline
93
68
  ```
94
69
 
70
+ **Human Gate:** User approves the plan before any files are written.
71
+
95
72
  ---
96
73
 
97
- ### Stage 4 — Verify
74
+ ## Phase 4 — Tribunal Generation
75
+
76
+ All generated code runs through the Tribunal pipeline:
98
77
 
99
78
  ```
100
- Did the code satisfy every done-condition from Stage 1?
101
- Did all Tribunal reviewers return APPROVED?
102
- Are untested paths labeled // TODO with an explanation?
103
- Does the plan file match what was actually built?
79
+ Maker generates each module individually
80
+ logic-reviewer + security-auditor on every module
81
+ domain-specific reviewers activated by module type
82
+ Human Gate before each major file group is written
104
83
  ```
105
84
 
106
- All four must be checked before the task is declared done.
85
+ No module is written without passing Tribunal review.
107
86
 
108
87
  ---
109
88
 
110
- ## Hallucination Rules
89
+ ## Phase 5 — Verification
111
90
 
112
- - Every import must exist in the project's `package.json` or carry `// VERIFY: add to deps`
113
- - No invented framework methods — `// VERIFY: check docs for this method` on any uncertain call
114
- - No agent touches code outside its domain (frontend agent never writes DB migrations)
115
- - No full-application generation in one shot — build in layers with Human Gates between waves
91
+ After scaffolding:
92
+
93
+ ```
94
+ npm install completes without errors
95
+ □ npx tsc --noEmit passes clean
96
+ □ npm run dev starts successfully
97
+ □ npm test runs and passes (for any generated tests)
98
+ □ Linting passes (if configured)
99
+ ```
116
100
 
117
101
  ---
118
102
 
119
- ## Cross-Workflow Navigation
103
+ ## Hallucination Guard (Create-Specific)
120
104
 
121
- | If during /create you need to... | Go to |
122
- |---|---|
123
- | Understand the existing codebase first | Use `explorer-agent` before Stage 2 |
124
- | Only write the plan (not build it) | `/plan` |
125
- | Add to an already built feature | `/enhance` |
126
- | Debug something during Stage 3 | `/debug` |
127
- | Run a full safety check before shipping | `/audit` |
105
+ ```
106
+ ❌ Never generate the entire application as one massive code block
107
+ Never import packages not added to package.json in this session
108
+ Never assume a framework's default file structure check with --help or docs
109
+ Never hardcode environment variables in generated files
110
+ Never use deprecated Next.js 13/14 patterns (pages/, getServerSideProps)
111
+ Never use React 18 hooks deprecated in React 19
112
+ ```
128
113
 
129
114
  ---
130
115
 
131
- ## Usage
116
+ ## Usage Examples
132
117
 
133
118
  ```
134
- /create a REST API with JWT auth
135
- /create a React dashboard with real-time chart updates
136
- /create a complete user onboarding flow (frontend + backend + DB)
137
- /create a CLI tool that validates JSON schemas against a spec
138
- /create a scheduled background job for sending email digests
119
+ /create a REST API for a todo app with JWT auth and PostgreSQL
120
+ /create a Next.js 15 e-commerce site with Stripe and Prisma
121
+ /create a CLI tool for generating Tribunal-compliant code reviews
122
+ /create an Expo app for tracking workout sessions with offline support
123
+ /create a real-time chat app using Next.js and Server-Sent Events
139
124
  ```