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.
- package/.agent/ARCHITECTURE.md +99 -99
- package/.agent/GEMINI.md +52 -52
- package/.agent/agents/accessibility-reviewer.md +139 -86
- package/.agent/agents/ai-code-reviewer.md +160 -90
- package/.agent/agents/backend-specialist.md +164 -127
- package/.agent/agents/code-archaeologist.md +115 -73
- package/.agent/agents/database-architect.md +130 -110
- package/.agent/agents/debugger.md +137 -97
- package/.agent/agents/dependency-reviewer.md +78 -30
- package/.agent/agents/devops-engineer.md +161 -118
- package/.agent/agents/documentation-writer.md +151 -87
- package/.agent/agents/explorer-agent.md +117 -99
- package/.agent/agents/frontend-reviewer.md +127 -47
- package/.agent/agents/frontend-specialist.md +169 -109
- package/.agent/agents/game-developer.md +28 -164
- package/.agent/agents/logic-reviewer.md +87 -49
- package/.agent/agents/mobile-developer.md +151 -103
- package/.agent/agents/mobile-reviewer.md +133 -50
- package/.agent/agents/orchestrator.md +121 -110
- package/.agent/agents/penetration-tester.md +103 -77
- package/.agent/agents/performance-optimizer.md +136 -92
- package/.agent/agents/performance-reviewer.md +139 -69
- package/.agent/agents/product-manager.md +104 -70
- package/.agent/agents/product-owner.md +6 -25
- package/.agent/agents/project-planner.md +95 -95
- package/.agent/agents/qa-automation-engineer.md +174 -87
- package/.agent/agents/security-auditor.md +133 -129
- package/.agent/agents/seo-specialist.md +160 -99
- package/.agent/agents/sql-reviewer.md +132 -44
- package/.agent/agents/supervisor-agent.md +137 -109
- package/.agent/agents/swarm-worker-contracts.md +17 -17
- package/.agent/agents/swarm-worker-registry.md +46 -46
- package/.agent/agents/test-coverage-reviewer.md +132 -53
- package/.agent/agents/test-engineer.md +0 -21
- package/.agent/agents/type-safety-reviewer.md +143 -33
- package/.agent/patterns/generator.md +9 -9
- package/.agent/patterns/inversion.md +12 -12
- package/.agent/patterns/pipeline.md +9 -9
- package/.agent/patterns/reviewer.md +13 -13
- package/.agent/patterns/tool-wrapper.md +9 -9
- package/.agent/rules/GEMINI.md +63 -63
- package/.agent/scripts/__pycache__/auto_preview.cpython-311.pyc +0 -0
- package/.agent/scripts/__pycache__/bundle_analyzer.cpython-311.pyc +0 -0
- package/.agent/scripts/__pycache__/checklist.cpython-311.pyc +0 -0
- package/.agent/scripts/__pycache__/dependency_analyzer.cpython-311.pyc +0 -0
- package/.agent/scripts/__pycache__/security_scan.cpython-311.pyc +0 -0
- package/.agent/scripts/__pycache__/session_manager.cpython-311.pyc +0 -0
- package/.agent/scripts/__pycache__/skill_integrator.cpython-311.pyc +0 -0
- package/.agent/scripts/__pycache__/swarm_dispatcher.cpython-311.pyc +0 -0
- package/.agent/scripts/__pycache__/test_runner.cpython-311.pyc +0 -0
- package/.agent/scripts/__pycache__/verify_all.cpython-311.pyc +0 -0
- package/.agent/scripts/compress_skills.py +167 -0
- package/.agent/scripts/consolidate_skills.py +173 -0
- package/.agent/scripts/deep_compress.py +202 -0
- package/.agent/scripts/minify_context.py +80 -0
- package/.agent/scripts/security_scan.py +1 -1
- package/.agent/scripts/strip_tribunal.py +41 -0
- package/.agent/skills/agent-organizer/SKILL.md +60 -100
- package/.agent/skills/agentic-patterns/SKILL.md +0 -70
- package/.agent/skills/ai-prompt-injection-defense/SKILL.md +108 -53
- package/.agent/skills/api-patterns/SKILL.md +197 -257
- package/.agent/skills/api-security-auditor/SKILL.md +125 -57
- package/.agent/skills/app-builder/SKILL.md +326 -50
- package/.agent/skills/app-builder/templates/SKILL.md +13 -15
- package/.agent/skills/app-builder/templates/astro-static/TEMPLATE.md +16 -16
- package/.agent/skills/app-builder/templates/chrome-extension/TEMPLATE.md +22 -22
- package/.agent/skills/app-builder/templates/cli-tool/TEMPLATE.md +18 -18
- package/.agent/skills/app-builder/templates/electron-desktop/TEMPLATE.md +20 -20
- package/.agent/skills/app-builder/templates/express-api/TEMPLATE.md +17 -17
- package/.agent/skills/app-builder/templates/flutter-app/TEMPLATE.md +18 -18
- package/.agent/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +21 -21
- package/.agent/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +19 -19
- package/.agent/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +26 -26
- package/.agent/skills/app-builder/templates/nextjs-static/TEMPLATE.md +26 -26
- package/.agent/skills/app-builder/templates/nuxt-app/TEMPLATE.md +19 -19
- package/.agent/skills/app-builder/templates/python-fastapi/TEMPLATE.md +18 -18
- package/.agent/skills/app-builder/templates/react-native-app/TEMPLATE.md +20 -20
- package/.agent/skills/appflow-wireframe/SKILL.md +71 -98
- package/.agent/skills/architecture/SKILL.md +161 -200
- package/.agent/skills/authentication-best-practices/SKILL.md +121 -54
- package/.agent/skills/bash-linux/SKILL.md +71 -166
- package/.agent/skills/behavioral-modes/SKILL.md +8 -69
- package/.agent/skills/brainstorming/SKILL.md +345 -127
- package/.agent/skills/building-native-ui/SKILL.md +125 -57
- package/.agent/skills/clean-code/SKILL.md +266 -149
- package/.agent/skills/code-review-checklist/SKILL.md +0 -62
- package/.agent/skills/config-validator/SKILL.md +73 -131
- package/.agent/skills/csharp-developer/SKILL.md +434 -73
- package/.agent/skills/database-design/SKILL.md +190 -275
- package/.agent/skills/deployment-procedures/SKILL.md +81 -158
- package/.agent/skills/devops-engineer/SKILL.md +255 -94
- package/.agent/skills/devops-incident-responder/SKILL.md +50 -69
- package/.agent/skills/doc.md +5 -5
- package/.agent/skills/documentation-templates/SKILL.md +19 -63
- package/.agent/skills/edge-computing/SKILL.md +75 -165
- package/.agent/skills/extract-design-system/SKILL.md +84 -58
- package/.agent/skills/framer-motion-expert/SKILL.md +195 -0
- package/.agent/skills/frontend-design/SKILL.md +151 -499
- package/.agent/skills/game-design-expert/SKILL.md +71 -0
- package/.agent/skills/game-engineering-expert/SKILL.md +88 -0
- package/.agent/skills/geo-fundamentals/SKILL.md +52 -178
- package/.agent/skills/github-operations/SKILL.md +197 -272
- package/.agent/skills/gsap-expert/SKILL.md +194 -0
- package/.agent/skills/i18n-localization/SKILL.md +60 -172
- package/.agent/skills/intelligent-routing/SKILL.md +123 -103
- package/.agent/skills/lint-and-validate/SKILL.md +8 -52
- package/.agent/skills/llm-engineering/SKILL.md +281 -195
- package/.agent/skills/local-first/SKILL.md +76 -159
- package/.agent/skills/mcp-builder/SKILL.md +48 -188
- package/.agent/skills/mobile-design/SKILL.md +213 -219
- package/.agent/skills/motion-engineering/SKILL.md +184 -0
- package/.agent/skills/nextjs-react-expert/SKILL.md +184 -203
- package/.agent/skills/nodejs-best-practices/SKILL.md +403 -185
- package/.agent/skills/observability/SKILL.md +211 -203
- package/.agent/skills/parallel-agents/SKILL.md +53 -146
- package/.agent/skills/performance-profiling/SKILL.md +171 -151
- package/.agent/skills/plan-writing/SKILL.md +49 -153
- package/.agent/skills/platform-engineer/SKILL.md +57 -103
- package/.agent/skills/playwright-best-practices/SKILL.md +110 -63
- package/.agent/skills/powershell-windows/SKILL.md +61 -179
- package/.agent/skills/python-patterns/SKILL.md +7 -35
- package/.agent/skills/python-pro/SKILL.md +273 -114
- package/.agent/skills/react-specialist/SKILL.md +227 -108
- package/.agent/skills/readme-builder/SKILL.md +15 -85
- package/.agent/skills/realtime-patterns/SKILL.md +216 -243
- package/.agent/skills/red-team-tactics/SKILL.md +10 -51
- package/.agent/skills/rust-pro/SKILL.md +525 -142
- package/.agent/skills/seo-fundamentals/SKILL.md +92 -153
- package/.agent/skills/server-management/SKILL.md +110 -166
- package/.agent/skills/shadcn-ui-expert/SKILL.md +154 -55
- package/.agent/skills/skill-creator/SKILL.md +18 -58
- package/.agent/skills/sql-pro/SKILL.md +543 -68
- package/.agent/skills/supabase-postgres-best-practices/SKILL.md +28 -68
- package/.agent/skills/swiftui-expert/SKILL.md +124 -57
- package/.agent/skills/systematic-debugging/SKILL.md +49 -151
- package/.agent/skills/tailwind-patterns/SKILL.md +433 -149
- package/.agent/skills/tdd-workflow/SKILL.md +63 -169
- package/.agent/skills/test-result-analyzer/SKILL.md +33 -73
- package/.agent/skills/testing-patterns/SKILL.md +437 -130
- package/.agent/skills/trend-researcher/SKILL.md +30 -71
- package/.agent/skills/ui-ux-pro-max/SKILL.md +0 -41
- package/.agent/skills/ui-ux-researcher/SKILL.md +51 -91
- package/.agent/skills/vue-expert/SKILL.md +225 -119
- package/.agent/skills/vulnerability-scanner/SKILL.md +264 -226
- package/.agent/skills/web-accessibility-auditor/SKILL.md +141 -58
- package/.agent/skills/web-design-guidelines/SKILL.md +17 -61
- package/.agent/skills/webapp-testing/SKILL.md +71 -196
- package/.agent/skills/whimsy-injector/SKILL.md +58 -132
- package/.agent/skills/workflow-optimizer/SKILL.md +28 -68
- package/.agent/workflows/api-tester.md +96 -224
- package/.agent/workflows/audit.md +81 -122
- package/.agent/workflows/brainstorm.md +69 -105
- package/.agent/workflows/changelog.md +65 -97
- package/.agent/workflows/create.md +73 -88
- package/.agent/workflows/debug.md +80 -111
- package/.agent/workflows/deploy.md +119 -92
- package/.agent/workflows/enhance.md +80 -91
- package/.agent/workflows/fix.md +68 -97
- package/.agent/workflows/generate.md +165 -164
- package/.agent/workflows/migrate.md +106 -109
- package/.agent/workflows/orchestrate.md +103 -86
- package/.agent/workflows/performance-benchmarker.md +77 -268
- package/.agent/workflows/plan.md +120 -98
- package/.agent/workflows/preview.md +39 -96
- package/.agent/workflows/refactor.md +105 -97
- package/.agent/workflows/review-ai.md +63 -102
- package/.agent/workflows/review.md +71 -110
- package/.agent/workflows/session.md +53 -113
- package/.agent/workflows/status.md +42 -88
- package/.agent/workflows/strengthen-skills.md +90 -51
- package/.agent/workflows/swarm.md +114 -129
- package/.agent/workflows/test.md +125 -102
- package/.agent/workflows/tribunal-backend.md +60 -78
- package/.agent/workflows/tribunal-database.md +62 -100
- package/.agent/workflows/tribunal-frontend.md +62 -82
- package/.agent/workflows/tribunal-full.md +56 -100
- package/.agent/workflows/tribunal-mobile.md +65 -94
- package/.agent/workflows/tribunal-performance.md +62 -105
- package/.agent/workflows/ui-ux-pro-max.md +72 -121
- package/README.md +11 -15
- package/package.json +1 -1
- package/.agent/skills/api-patterns/api-style.md +0 -42
- package/.agent/skills/api-patterns/auth.md +0 -24
- package/.agent/skills/api-patterns/documentation.md +0 -26
- package/.agent/skills/api-patterns/graphql.md +0 -41
- package/.agent/skills/api-patterns/rate-limiting.md +0 -31
- package/.agent/skills/api-patterns/response.md +0 -37
- package/.agent/skills/api-patterns/rest.md +0 -40
- package/.agent/skills/api-patterns/security-testing.md +0 -122
- package/.agent/skills/api-patterns/trpc.md +0 -41
- package/.agent/skills/api-patterns/versioning.md +0 -22
- package/.agent/skills/app-builder/agent-coordination.md +0 -71
- package/.agent/skills/app-builder/feature-building.md +0 -53
- package/.agent/skills/app-builder/project-detection.md +0 -34
- package/.agent/skills/app-builder/scaffolding.md +0 -118
- package/.agent/skills/app-builder/tech-stack.md +0 -40
- package/.agent/skills/architecture/context-discovery.md +0 -43
- package/.agent/skills/architecture/examples.md +0 -94
- package/.agent/skills/architecture/pattern-selection.md +0 -68
- package/.agent/skills/architecture/patterns-reference.md +0 -50
- package/.agent/skills/architecture/trade-off-analysis.md +0 -77
- package/.agent/skills/brainstorming/dynamic-questioning.md +0 -360
- package/.agent/skills/database-design/database-selection.md +0 -43
- package/.agent/skills/database-design/indexing.md +0 -39
- package/.agent/skills/database-design/migrations.md +0 -48
- package/.agent/skills/database-design/optimization.md +0 -36
- package/.agent/skills/database-design/orm-selection.md +0 -30
- package/.agent/skills/database-design/schema-design.md +0 -56
- package/.agent/skills/dotnet-core-expert/SKILL.md +0 -103
- package/.agent/skills/framer-motion-animations/SKILL.md +0 -74
- package/.agent/skills/frontend-design/animation-guide.md +0 -331
- package/.agent/skills/frontend-design/color-system.md +0 -329
- package/.agent/skills/frontend-design/decision-trees.md +0 -418
- package/.agent/skills/frontend-design/motion-graphics.md +0 -306
- package/.agent/skills/frontend-design/typography-system.md +0 -363
- package/.agent/skills/frontend-design/ux-psychology.md +0 -1116
- package/.agent/skills/frontend-design/visual-effects.md +0 -383
- package/.agent/skills/game-development/2d-games/SKILL.md +0 -119
- package/.agent/skills/game-development/3d-games/SKILL.md +0 -135
- package/.agent/skills/game-development/SKILL.md +0 -236
- package/.agent/skills/game-development/game-art/SKILL.md +0 -185
- package/.agent/skills/game-development/game-audio/SKILL.md +0 -190
- package/.agent/skills/game-development/game-design/SKILL.md +0 -129
- package/.agent/skills/game-development/mobile-games/SKILL.md +0 -108
- package/.agent/skills/game-development/multiplayer/SKILL.md +0 -132
- package/.agent/skills/game-development/pc-games/SKILL.md +0 -144
- package/.agent/skills/game-development/vr-ar/SKILL.md +0 -123
- package/.agent/skills/game-development/web-games/SKILL.md +0 -150
- package/.agent/skills/intelligent-routing/router-manifest.md +0 -65
- package/.agent/skills/mobile-design/decision-trees.md +0 -516
- package/.agent/skills/mobile-design/mobile-backend.md +0 -491
- package/.agent/skills/mobile-design/mobile-color-system.md +0 -420
- package/.agent/skills/mobile-design/mobile-debugging.md +0 -122
- package/.agent/skills/mobile-design/mobile-design-thinking.md +0 -357
- package/.agent/skills/mobile-design/mobile-navigation.md +0 -458
- package/.agent/skills/mobile-design/mobile-performance.md +0 -767
- package/.agent/skills/mobile-design/mobile-testing.md +0 -356
- package/.agent/skills/mobile-design/mobile-typography.md +0 -433
- package/.agent/skills/mobile-design/platform-android.md +0 -666
- package/.agent/skills/mobile-design/platform-ios.md +0 -561
- package/.agent/skills/mobile-design/touch-psychology.md +0 -537
- package/.agent/skills/nextjs-react-expert/1-async-eliminating-waterfalls.md +0 -312
- package/.agent/skills/nextjs-react-expert/2-bundle-bundle-size-optimization.md +0 -240
- package/.agent/skills/nextjs-react-expert/3-server-server-side-performance.md +0 -490
- package/.agent/skills/nextjs-react-expert/4-client-client-side-data-fetching.md +0 -264
- package/.agent/skills/nextjs-react-expert/5-rerender-re-render-optimization.md +0 -581
- package/.agent/skills/nextjs-react-expert/6-rendering-rendering-performance.md +0 -432
- package/.agent/skills/nextjs-react-expert/7-js-javascript-performance.md +0 -684
- package/.agent/skills/nextjs-react-expert/8-advanced-advanced-patterns.md +0 -150
- package/.agent/skills/vulnerability-scanner/checklists.md +0 -121
|
@@ -1,146 +1,110 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Structured brainstorming for projects and features.
|
|
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
|
|
5
|
+
# /brainstorm — Structured Idea Exploration
|
|
6
6
|
|
|
7
7
|
$ARGUMENTS
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
## When to Use /brainstorm
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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
|
-
##
|
|
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
|
-
|
|
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
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
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
|
-
|
|
82
|
-
...
|
|
34
|
+
## Phase 2 — Generate 3 Distinct Options
|
|
83
35
|
|
|
84
|
-
|
|
36
|
+
Present minimum 3 meaningfully different approaches:
|
|
85
37
|
|
|
86
|
-
|
|
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
|
-
|
|
92
|
-
Approach [N] — because [specific reason tied to the stated constraints].
|
|
60
|
+
## Phase 3 — Socratic Analysis
|
|
93
61
|
|
|
94
|
-
|
|
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
|
-
|
|
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
|
-
##
|
|
74
|
+
## Phase 4 — Recommendation (Evidence-Based)
|
|
104
75
|
|
|
105
|
-
|
|
76
|
+
After exploration, state a recommendation:
|
|
106
77
|
|
|
107
|
-
|
|
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
|
-
|
|
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
|
-
|
|
120
|
-
|
|
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
|
-
##
|
|
91
|
+
## Brainstorm Guard
|
|
128
92
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
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
|
|
142
|
-
/brainstorm
|
|
143
|
-
/brainstorm
|
|
144
|
-
/brainstorm
|
|
145
|
-
/brainstorm
|
|
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
|
|
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 —
|
|
5
|
+
# /changelog — Git History to Changelog
|
|
6
6
|
|
|
7
7
|
$ARGUMENTS
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
-
|
|
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
|
-
##
|
|
21
|
+
## Commit Convention (Required for Accuracy)
|
|
16
22
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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
|
-
##
|
|
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
|
-
#
|
|
32
|
-
|
|
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
|
-
#
|
|
36
|
-
git log -
|
|
45
|
+
# Since a specific date
|
|
46
|
+
git log --since="2026-01-01" --oneline --no-merges
|
|
37
47
|
|
|
38
|
-
#
|
|
39
|
-
git log
|
|
48
|
+
# Since specific commit
|
|
49
|
+
git log abc123def..HEAD --oneline --no-merges
|
|
40
50
|
|
|
41
|
-
#
|
|
42
|
-
git log --
|
|
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
|
-
|
|
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
|
|
57
|
+
## Output Format (Keep a Changelog)
|
|
67
58
|
|
|
68
59
|
```markdown
|
|
69
60
|
# Changelog
|
|
70
61
|
|
|
71
|
-
|
|
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
|
-
|
|
77
|
-
|
|
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
|
-
|
|
80
|
-
- `ghi9012` — Description of bug fix
|
|
67
|
+
## [Unreleased]
|
|
81
68
|
|
|
82
|
-
|
|
83
|
-
- `jkl3456` — Description of performance improvement
|
|
69
|
+
## [1.2.0] — 2026-04-02
|
|
84
70
|
|
|
85
|
-
###
|
|
86
|
-
-
|
|
71
|
+
### Breaking Changes
|
|
72
|
+
- **auth**: JWT token format changed — clients must re-authenticate ([abc123](link))
|
|
87
73
|
|
|
88
|
-
###
|
|
89
|
-
-
|
|
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
|
-
###
|
|
92
|
-
-
|
|
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
|
-
###
|
|
95
|
-
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
##
|
|
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
|
-
|
|
127
|
-
|
|
128
|
-
|
|
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
|
|
140
|
-
/changelog for
|
|
141
|
-
/changelog
|
|
142
|
-
/changelog
|
|
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
|
|
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 —
|
|
5
|
+
# /create — Full Application Builder
|
|
6
6
|
|
|
7
7
|
$ARGUMENTS
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
## When to Use /create
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
|
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
|
-
##
|
|
21
|
+
## Phase 1 — Requirements Gathering (Socratic Gate)
|
|
27
22
|
|
|
28
|
-
|
|
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
|
|
34
|
-
2.
|
|
35
|
-
3. What is
|
|
36
|
-
4.
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
56
|
+
## Phase 3 — Scaffolding Plan
|
|
76
57
|
|
|
77
|
-
|
|
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
|
-
|
|
91
|
-
|
|
92
|
-
|
|
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
|
-
|
|
74
|
+
## Phase 4 — Tribunal Generation
|
|
75
|
+
|
|
76
|
+
All generated code runs through the Tribunal pipeline:
|
|
98
77
|
|
|
99
78
|
```
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
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
|
-
|
|
85
|
+
No module is written without passing Tribunal review.
|
|
107
86
|
|
|
108
87
|
---
|
|
109
88
|
|
|
110
|
-
##
|
|
89
|
+
## Phase 5 — Verification
|
|
111
90
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
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
|
-
##
|
|
103
|
+
## Hallucination Guard (Create-Specific)
|
|
120
104
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
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
|
|
136
|
-
/create a
|
|
137
|
-
/create
|
|
138
|
-
/create a
|
|
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
|
```
|