tribunal-kit 2.4.5 → 3.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 (144) hide show
  1. package/.agent/agents/accessibility-reviewer.md +220 -134
  2. package/.agent/agents/ai-code-reviewer.md +233 -129
  3. package/.agent/agents/backend-specialist.md +238 -178
  4. package/.agent/agents/code-archaeologist.md +181 -119
  5. package/.agent/agents/database-architect.md +207 -164
  6. package/.agent/agents/debugger.md +218 -151
  7. package/.agent/agents/dependency-reviewer.md +136 -55
  8. package/.agent/agents/devops-engineer.md +238 -175
  9. package/.agent/agents/documentation-writer.md +221 -137
  10. package/.agent/agents/explorer-agent.md +180 -142
  11. package/.agent/agents/frontend-reviewer.md +194 -80
  12. package/.agent/agents/frontend-specialist.md +237 -188
  13. package/.agent/agents/game-developer.md +52 -184
  14. package/.agent/agents/logic-reviewer.md +149 -78
  15. package/.agent/agents/mobile-developer.md +223 -152
  16. package/.agent/agents/mobile-reviewer.md +195 -79
  17. package/.agent/agents/orchestrator.md +211 -170
  18. package/.agent/agents/penetration-tester.md +174 -131
  19. package/.agent/agents/performance-optimizer.md +203 -139
  20. package/.agent/agents/performance-reviewer.md +211 -108
  21. package/.agent/agents/product-manager.md +162 -108
  22. package/.agent/agents/project-planner.md +162 -142
  23. package/.agent/agents/qa-automation-engineer.md +242 -138
  24. package/.agent/agents/security-auditor.md +194 -170
  25. package/.agent/agents/seo-specialist.md +213 -132
  26. package/.agent/agents/sql-reviewer.md +194 -73
  27. package/.agent/agents/supervisor-agent.md +203 -156
  28. package/.agent/agents/test-coverage-reviewer.md +193 -81
  29. package/.agent/agents/type-safety-reviewer.md +208 -65
  30. package/.agent/scripts/__pycache__/auto_preview.cpython-311.pyc +0 -0
  31. package/.agent/scripts/__pycache__/bundle_analyzer.cpython-311.pyc +0 -0
  32. package/.agent/scripts/__pycache__/checklist.cpython-311.pyc +0 -0
  33. package/.agent/scripts/__pycache__/dependency_analyzer.cpython-311.pyc +0 -0
  34. package/.agent/scripts/__pycache__/security_scan.cpython-311.pyc +0 -0
  35. package/.agent/scripts/__pycache__/session_manager.cpython-311.pyc +0 -0
  36. package/.agent/scripts/__pycache__/skill_integrator.cpython-311.pyc +0 -0
  37. package/.agent/scripts/__pycache__/swarm_dispatcher.cpython-311.pyc +0 -0
  38. package/.agent/scripts/__pycache__/test_runner.cpython-311.pyc +0 -0
  39. package/.agent/scripts/__pycache__/verify_all.cpython-311.pyc +0 -0
  40. package/.agent/skills/agent-organizer/SKILL.md +126 -132
  41. package/.agent/skills/ai-prompt-injection-defense/SKILL.md +160 -0
  42. package/.agent/skills/api-patterns/SKILL.md +289 -257
  43. package/.agent/skills/api-security-auditor/SKILL.md +177 -0
  44. package/.agent/skills/app-builder/templates/chrome-extension/TEMPLATE.md +1 -1
  45. package/.agent/skills/app-builder/templates/electron-desktop/TEMPLATE.md +1 -1
  46. package/.agent/skills/appflow-wireframe/SKILL.md +107 -58
  47. package/.agent/skills/architecture/SKILL.md +331 -200
  48. package/.agent/skills/authentication-best-practices/SKILL.md +173 -0
  49. package/.agent/skills/bash-linux/SKILL.md +154 -215
  50. package/.agent/skills/brainstorming/SKILL.md +104 -210
  51. package/.agent/skills/building-native-ui/SKILL.md +174 -0
  52. package/.agent/skills/clean-code/SKILL.md +360 -206
  53. package/.agent/skills/config-validator/SKILL.md +141 -165
  54. package/.agent/skills/csharp-developer/SKILL.md +528 -107
  55. package/.agent/skills/database-design/SKILL.md +455 -275
  56. package/.agent/skills/deployment-procedures/SKILL.md +145 -188
  57. package/.agent/skills/devops-engineer/SKILL.md +332 -134
  58. package/.agent/skills/devops-incident-responder/SKILL.md +113 -98
  59. package/.agent/skills/edge-computing/SKILL.md +157 -213
  60. package/.agent/skills/extract-design-system/SKILL.md +134 -0
  61. package/.agent/skills/framer-motion-expert/SKILL.md +939 -0
  62. package/.agent/skills/game-design-expert/SKILL.md +105 -0
  63. package/.agent/skills/game-engineering-expert/SKILL.md +122 -0
  64. package/.agent/skills/geo-fundamentals/SKILL.md +124 -215
  65. package/.agent/skills/github-operations/SKILL.md +314 -354
  66. package/.agent/skills/gsap-expert/SKILL.md +901 -0
  67. package/.agent/skills/i18n-localization/SKILL.md +138 -216
  68. package/.agent/skills/intelligent-routing/SKILL.md +127 -139
  69. package/.agent/skills/llm-engineering/SKILL.md +357 -258
  70. package/.agent/skills/local-first/SKILL.md +154 -203
  71. package/.agent/skills/mcp-builder/SKILL.md +118 -224
  72. package/.agent/skills/nextjs-react-expert/SKILL.md +783 -203
  73. package/.agent/skills/nodejs-best-practices/SKILL.md +559 -280
  74. package/.agent/skills/observability/SKILL.md +330 -285
  75. package/.agent/skills/parallel-agents/SKILL.md +122 -181
  76. package/.agent/skills/performance-profiling/SKILL.md +254 -197
  77. package/.agent/skills/plan-writing/SKILL.md +118 -188
  78. package/.agent/skills/platform-engineer/SKILL.md +123 -135
  79. package/.agent/skills/playwright-best-practices/SKILL.md +162 -0
  80. package/.agent/skills/powershell-windows/SKILL.md +146 -230
  81. package/.agent/skills/python-pro/SKILL.md +879 -114
  82. package/.agent/skills/react-specialist/SKILL.md +931 -108
  83. package/.agent/skills/readme-builder/SKILL.md +42 -0
  84. package/.agent/skills/realtime-patterns/SKILL.md +304 -296
  85. package/.agent/skills/rust-pro/SKILL.md +701 -240
  86. package/.agent/skills/seo-fundamentals/SKILL.md +154 -181
  87. package/.agent/skills/server-management/SKILL.md +190 -212
  88. package/.agent/skills/shadcn-ui-expert/SKILL.md +206 -0
  89. package/.agent/skills/skill-creator/SKILL.md +68 -0
  90. package/.agent/skills/sql-pro/SKILL.md +633 -104
  91. package/.agent/skills/supabase-postgres-best-practices/SKILL.md +78 -0
  92. package/.agent/skills/swiftui-expert/SKILL.md +176 -0
  93. package/.agent/skills/systematic-debugging/SKILL.md +118 -186
  94. package/.agent/skills/tailwind-patterns/SKILL.md +576 -232
  95. package/.agent/skills/tdd-workflow/SKILL.md +137 -209
  96. package/.agent/skills/testing-patterns/SKILL.md +573 -205
  97. package/.agent/skills/vue-expert/SKILL.md +964 -119
  98. package/.agent/skills/vulnerability-scanner/SKILL.md +269 -316
  99. package/.agent/skills/web-accessibility-auditor/SKILL.md +193 -0
  100. package/.agent/skills/webapp-testing/SKILL.md +145 -236
  101. package/.agent/workflows/api-tester.md +151 -279
  102. package/.agent/workflows/audit.md +138 -168
  103. package/.agent/workflows/brainstorm.md +110 -146
  104. package/.agent/workflows/changelog.md +112 -144
  105. package/.agent/workflows/create.md +124 -139
  106. package/.agent/workflows/debug.md +189 -196
  107. package/.agent/workflows/deploy.md +189 -153
  108. package/.agent/workflows/enhance.md +151 -139
  109. package/.agent/workflows/fix.md +135 -143
  110. package/.agent/workflows/generate.md +157 -164
  111. package/.agent/workflows/migrate.md +160 -163
  112. package/.agent/workflows/orchestrate.md +168 -151
  113. package/.agent/workflows/performance-benchmarker.md +123 -305
  114. package/.agent/workflows/plan.md +173 -151
  115. package/.agent/workflows/preview.md +80 -137
  116. package/.agent/workflows/refactor.md +183 -153
  117. package/.agent/workflows/review-ai.md +129 -140
  118. package/.agent/workflows/review.md +116 -155
  119. package/.agent/workflows/session.md +94 -154
  120. package/.agent/workflows/status.md +79 -125
  121. package/.agent/workflows/strengthen-skills.md +139 -99
  122. package/.agent/workflows/swarm.md +179 -194
  123. package/.agent/workflows/test.md +211 -166
  124. package/.agent/workflows/tribunal-backend.md +113 -111
  125. package/.agent/workflows/tribunal-database.md +115 -132
  126. package/.agent/workflows/tribunal-frontend.md +118 -115
  127. package/.agent/workflows/tribunal-full.md +133 -136
  128. package/.agent/workflows/tribunal-mobile.md +119 -123
  129. package/.agent/workflows/tribunal-performance.md +133 -152
  130. package/.agent/workflows/ui-ux-pro-max.md +143 -171
  131. package/README.md +11 -15
  132. package/package.json +1 -1
  133. package/.agent/skills/dotnet-core-expert/SKILL.md +0 -103
  134. package/.agent/skills/game-development/2d-games/SKILL.md +0 -119
  135. package/.agent/skills/game-development/3d-games/SKILL.md +0 -135
  136. package/.agent/skills/game-development/SKILL.md +0 -236
  137. package/.agent/skills/game-development/game-art/SKILL.md +0 -185
  138. package/.agent/skills/game-development/game-audio/SKILL.md +0 -190
  139. package/.agent/skills/game-development/game-design/SKILL.md +0 -129
  140. package/.agent/skills/game-development/mobile-games/SKILL.md +0 -108
  141. package/.agent/skills/game-development/multiplayer/SKILL.md +0 -132
  142. package/.agent/skills/game-development/pc-games/SKILL.md +0 -144
  143. package/.agent/skills/game-development/vr-ar/SKILL.md +0 -123
  144. package/.agent/skills/game-development/web-games/SKILL.md +0 -150
@@ -1,196 +1,189 @@
1
- ---
2
- description: Debugging command. Activates DEBUG mode for systematic problem investigation. No fix is suggested until the root cause is confirmed.
3
- ---
4
-
5
- # /debug — Root Cause Investigation
6
-
7
- $ARGUMENTS
8
-
9
- ---
10
-
11
- This command switches the AI into **investigation mode**. No fixes are suggested until the root cause is identified and confirmed. No random changes. No guessing.
12
-
13
- ---
14
-
15
- ## The Investigation Contract
16
-
17
- > "A fix without a root cause is a patch on a symptom. It will fail again."
18
-
19
- The `debugger` agent follows this sequence **without skipping steps**:
20
-
21
- 1. Collect evidence
22
- 2. Generate hypotheses
23
- 3. Test hypotheses one at a time
24
- 4. Identify root cause
25
- 5. Apply targeted fix
26
- 6. Verify the fix and prevent recurrence
27
-
28
- ---
29
-
30
- ## When to Use /debug vs Other Commands
31
-
32
- | Use `/debug` when... | Use something else when... |
33
- |---|---|
34
- | There's a specific error or unexpected behavior | Code needs to be written from scratch → `/generate` |
35
- | You have a stack trace or error message | Code quality needs improvement → `/refactor` |
36
- | Production is broken right now | You want to add tests → `/test` |
37
- | A bug reappears after being "fixed" | You want a full project health check → `/audit` |
38
-
39
- ---
40
-
41
- ## Step 1Evidence Collection
42
-
43
- **Collect these before forming any hypothesis:**
44
-
45
- ```
46
- □ Exact error text — full stack trace, not a summary
47
- □ Minimum reproduction steps — fewest actions that trigger the bug
48
- Last known-good state commit hash, date, or config snapshot
49
- □ Recent changes — code, dependency updates, env vars, infra
50
- Environment local / staging / production, OS, Node version, etc.
51
- □ Frequency — always / sometimes / only under load / only in prod
52
- ```
53
-
54
- > ⚠️ If the error is intermittent, collect timing data before hypothesizing.
55
-
56
- ---
57
-
58
- ## Step 2 — Hypothesis Generation
59
-
60
- Map possible causes — label each honestly:
61
-
62
- ```
63
- Cause A: [what it is] — Likelihood: High / Medium / Low — Evidence: [what points to it]
64
- Cause B: [what it is] Likelihood: High / Medium / Low — Evidence: [what points to it]
65
- Cause C: [what it is] — Likelihood: High / Medium / Low — Evidence: [what points to it]
66
- ```
67
-
68
- Every entry is labeled as a **hypothesis**, never as a confirmed fact.
69
-
70
- **Hypothesis ranking rules:**
71
- - High likelihood: directly supported by evidence or error message
72
- - Medium likelihood: consistent with the error but no direct evidence
73
- - Low likelihood: possible but requires unusual conditions
74
-
75
- ---
76
-
77
- ## Step 3 — Single-Hypothesis Testing
78
-
79
- Test causes **one at a time**. Never test two simultaneously — it makes the result ambiguous.
80
-
81
- ```
82
- H1 tested: [what was examined + how]
83
- Result: Confirmed root cause | ❌ Ruled out — [reason]
84
-
85
- H2 tested: [what was examined + how]
86
- Result: Confirmed root cause | ❌ Ruled out — [reason]
87
- ```
88
-
89
- Stop when the first hypothesis is confirmed. Do not continue testing eliminated causes.
90
-
91
- ---
92
-
93
- ## Step 4 — Root Cause Statement
94
-
95
- The root cause is the **single thing** that, if changed, prevents the entire failure chain.
96
-
97
- Format:
98
-
99
- ```
100
- Root Cause: [One sentence WHY this happened, not WHAT happened]
101
-
102
- Example:
103
- ✅ "JWT verification was skipped when the Authorization header used 'bearer' (lowercase),
104
- because the header check was case-sensitive."
105
-
106
- ❌ "The login returned 401." (This is the symptom, not the cause)
107
- ```
108
-
109
- ---
110
-
111
- ## Step 5 Fix + Regression Prevention
112
-
113
- ```
114
- Targeted fix: One change — the minimum required to resolve the root cause
115
- Regression test: A specific test added to catch this exact failure if it ever returns
116
- Similar patterns: Any other locations in the codebase where this pattern exists
117
- ```
118
-
119
- > ⚠️ All debug logging added during investigation must be removed before the fix is presented.
120
-
121
- ---
122
-
123
- ## Debug Report Format
124
-
125
- ```
126
- ━━━ Debug Report ━━━━━━━━━━━━━━━━━━━━━━━
127
-
128
- Symptom: [what the user sees]
129
- Error: [exact message or trace]
130
- Reproduced: Yes | No | Sometimes — [conditions]
131
- Environment: [runtime, version, OS]
132
- Last working: [commit / date / known-good state]
133
-
134
- ━━━ Evidence Collected ━━━━━━━━━━━━━━━━
135
-
136
- - [specific observation 1]
137
- - [specific observation 2]
138
-
139
- ━━━ Hypotheses ━━━━━━━━━━━━━━━━━━━━━━━
140
-
141
- H1 [High] — [cause and why it's likely]
142
- H2 [Medium] [cause and why it's possible]
143
- H3 [Low] — [cause and why it's a stretch]
144
-
145
- ━━━ Investigation ━━━━━━━━━━━━━━━━━━━
146
-
147
- H1: checked [what was examined] → ✅ Confirmed root cause
148
- H2: ruled out — [evidence against it]
149
-
150
- ━━━ Root Cause ━━━━━━━━━━━━━━━━━━━━━
151
-
152
- [Single sentence — WHY this happened]
153
-
154
- ━━━ Fix ━━━━━━━━━━━━━━━━━━━━━━━━━━━━
155
-
156
- Before: [original code]
157
- After: [corrected code]
158
-
159
- Regression test: [what test prevents this from recurring]
160
- Similar patterns: [any other locations to check in the codebase]
161
- ```
162
-
163
- ---
164
-
165
- ## Hallucination Guard
166
-
167
- - Every hypothesis is **explicitly labeled as a hypothesis** — never as confirmed fact until evidence backs it
168
- - Proposed fixes only use **real, documented APIs** — `// VERIFY: check method exists` on any uncertain call
169
- - **One change per fix** — multi-file rewrites presented as "a debug session" are a red flag
170
- - Debug logging added during investigation must be **removed** before the fix is presented
171
- - **Never assume the error message is accurate** verify it matches actual behavior
172
-
173
- ---
174
-
175
- ## Cross-Workflow Navigation
176
-
177
- | After /debug reveals... | Go to |
178
- |---|---|
179
- | Root cause confirmed, fix ready | `/generate` to write the fix safely through Tribunal |
180
- | Multiple files need changing | `/enhance` for impact-zone analysis + callers update |
181
- | Missing test allowed the bug in | `/test` to add regression coverage |
182
- | Performance was the root cause | `/tribunal-performance` for full optimization review |
183
- | Security vulnerability found | `/audit` to check if it exists elsewhere |
184
-
185
- ---
186
-
187
- ## Usage
188
-
189
- ```
190
- /debug TypeError: Cannot read properties of undefined reading 'id'
191
- /debug API returns 500 only in production
192
- /debug useEffect runs on every render instead of once
193
- /debug login works locally but fails in CI
194
- /debug memory usage grows unbounded over 24h in the worker process
195
- /debug race condition in the payment confirmation handler
196
- ```
1
+ ---
2
+ description: Debugging command. Activates DEBUG mode for systematic problem investigation using the 4-phase methodology (Collect → Hypothesize → Test → Fix). No fix is suggested until the root cause is confirmed and tested. No random changes. No guessing.
3
+ ---
4
+
5
+ # /debug — Root Cause Investigation
6
+
7
+ $ARGUMENTS
8
+
9
+ ---
10
+
11
+ ## The Investigation Contract
12
+
13
+ > "A fix without a root cause is a patch on a symptom. It will fail again."
14
+
15
+ The `debugger` agent follows this sequence **without skipping steps**:
16
+
17
+ 1. Collect all evidence first
18
+ 2. Generate ranked hypotheses
19
+ 3. Test exactly one hypothesis at a time
20
+ 4. Confirm root cause with evidence
21
+ 5. Apply the minimum targeted fix
22
+ 6. Add a regression test to prevent recurrence
23
+
24
+ ---
25
+
26
+ ## When to Use /debug
27
+
28
+ | Use `/debug` when... | Use something else when... |
29
+ |:---|:---|
30
+ | There's a specific error or unexpected behavior | Code needs to be written `/generate` |
31
+ | You have a stack trace or error message | Code quality needs improving → `/refactor` |
32
+ | Production is broken right now | Missing test coverage `/test` |
33
+ | A bug reappears after being "fixed" | Full health check needed → `/audit` |
34
+
35
+ ---
36
+
37
+ ## Step 1 Evidence Collection (Collect All Before Hypothesizing)
38
+
39
+ ```
40
+ □ Exact error text — full stack trace, not a paraphrase
41
+ Minimum reproduction steps fewest actions that trigger the bug
42
+ □ Last known-good state — commit hash, date, or config snapshot
43
+ Recent changes code, deps, env vars, infra, config changes
44
+ □ Environment — local/staging/prod, OS, Node version, browser, runtime
45
+ □ Frequency — always / intermittent / only under load / production only
46
+ ```
47
+
48
+ > ⚠️ If the error is intermittent: collect timing patterns before hypothesizing.
49
+
50
+ ### Priority Investigation Order (Most Likely Root Cause First)
51
+
52
+ ```
53
+ 1. Recent deployments — 90% of outages are caused by recent changes
54
+ 2. Environment variables — rotated/missing secrets are common silent failures
55
+ 3. Dependency updates — a package update can break APIs without errors
56
+ 4. Infrastructure — firewall, Security Groups, DB connection limits
57
+ 5. Application code — last to check, easiest to blame prematurely
58
+ ```
59
+
60
+ ---
61
+
62
+ ## Step 2 — Hypothesis Formation
63
+
64
+ Map all possible causes with explicit likelihood labels:
65
+
66
+ ```
67
+ ROOT CAUSE CANDIDATES
68
+ ━━━━━━━━━━━━━━━━━━━━━
69
+ H1 [High] — [cause] — Evidence: [what points to this]
70
+ H2 [Medium] — [cause] — Evidence: [what is consistent with this]
71
+ H3 [Low] — [cause] Evidence: [theoretically possible]
72
+ ```
73
+
74
+ **Never state a hypothesis as confirmed fact until Step 3 proves it.**
75
+
76
+ ---
77
+
78
+ ## Step 3 — Single-Hypothesis Testing
79
+
80
+ Test **one at a time**. Never test two simultaneously — results become ambiguous.
81
+
82
+ ```
83
+ H1 tested: [how it was investigated]
84
+ Result: ✅ Confirmed | ❌ Ruled out — [specific evidence against]
85
+
86
+ H2 tested: [how it was investigated]
87
+ Result: ✅ Confirmed | ❌ Ruled out — [reason]
88
+ ```
89
+
90
+ Stop when the first hypothesis is confirmed. Do not continue investigating eliminated causes.
91
+
92
+ ---
93
+
94
+ ## Step 4 — Root Cause Statement
95
+
96
+ The root cause is one sentence: **WHY this happened**, not WHAT happened.
97
+
98
+ ```
99
+ ✅ "JWT verification was skipped when Authorization header used lowercase 'bearer'
100
+ because the header check was case-sensitive"
101
+
102
+ ❌ "The API returned 401" — This is the symptom, not the root cause
103
+ ```
104
+
105
+ ---
106
+
107
+ ## Step 5 — Fix + Regression Prevention
108
+
109
+ ```
110
+ Targeted fix: The minimum change that eliminates the root cause
111
+ Regression test: A specific test that will catch this exact failure if it returns
112
+ Similar patterns: Other locations in the codebase to audit for the same issue
113
+ Debug cleanup: All console.log/temporary changes removed from proposed fix
114
+ ```
115
+
116
+ ---
117
+
118
+ ## Debug Report Format
119
+
120
+ ```
121
+ ━━━ Debug Report ━━━━━━━━━━━━━━━━━━━━━━━━━━
122
+
123
+ Symptom: [what the user observes]
124
+ Error: [exact message / stack trace]
125
+ Reproduced: Yes | No | Sometimes — [conditions]
126
+ Environment: [Node v22, Next.js 15, PostgreSQL 16]
127
+ Last working: [commit hash / date]
128
+
129
+ ━━━ Evidence ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
130
+ - [specific observation 1]
131
+ - [specific observation 2]
132
+
133
+ ━━━ Hypotheses ━━━━━━━━━━━━━━━━━━━━━━━━━━
134
+ H1 [High] — [cause and reasoning]
135
+ H2 [Medium] — [cause and reasoning]
136
+
137
+ ━━━ Investigation ━━━━━━━━━━━━━━━━━━━━━━━
138
+ H1: [what was tested] → ✅ Confirmed root cause
139
+ H2: [what was tested] → ❌ Ruled out — [reason]
140
+
141
+ ━━━ Root Cause ━━━━━━━━━━━━━━━━━━━━━━━━━
142
+ [Single sentence WHY not WHAT]
143
+
144
+ ━━━ Fix ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
145
+ Before: [original code]
146
+ After: [corrected code]
147
+
148
+ Regression test: [test preventing recurrence]
149
+ Similar patterns: [other locations to check]
150
+ ```
151
+
152
+ ---
153
+
154
+ ## Hallucination Guard
155
+
156
+ ```
157
+ Never propose a fix before root cause is confirmed with evidence
158
+ ❌ Never test two hypotheses simultaneously
159
+ Never propose a "rewrite" as a debug session
160
+ Never leave console.log in the proposed fix
161
+ ❌ Never assume the error message accurately describes the actual cause
162
+ ❌ Never use real API methods without verifying they exist in this version
163
+ ```
164
+
165
+ ---
166
+
167
+ ## Cross-Workflow Navigation
168
+
169
+ | After /debug shows... | Go to |
170
+ |:---|:---|
171
+ | Root cause confirmed, fix ready | `/generate` to write fix through Tribunal |
172
+ | Multiple files need changing | `/enhance` for impact-zone analysis |
173
+ | Missing test allowed this bug in | `/test` to add regression coverage |
174
+ | Performance was the root cause | `/tribunal-performance` |
175
+ | Security vulnerability found | `/audit` to find other instances |
176
+
177
+ ---
178
+
179
+ ## Usage Examples
180
+
181
+ ```
182
+ /debug TypeError: Cannot read properties of undefined reading 'id'
183
+ /debug API returns 500 only in production environment
184
+ /debug useEffect fires on every render instead of only once
185
+ /debug login works locally but fails in CI pipeline
186
+ /debug memory usage grows unbounded after 24 hours
187
+ /debug race condition in payment confirmation handler
188
+ /debug Next.js 15 cookies() throws "Dynamic server error"
189
+ ```