tribunal-kit 5.8.4 → 6.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 (322) hide show
  1. package/.agent/ARCHITECTURE.md +219 -215
  2. package/.agent/agents/accessibility-reviewer.md +66 -151
  3. package/.agent/agents/ai-code-reviewer.md +22 -2
  4. package/.agent/agents/anti-pattern-reviewer.md +99 -0
  5. package/.agent/agents/api-architect.md +19 -2
  6. package/.agent/agents/backend-specialist.md +25 -3
  7. package/.agent/agents/cloud-engineer.md +21 -0
  8. package/.agent/agents/code-archaeologist.md +20 -3
  9. package/.agent/agents/complexity-reviewer.md +22 -2
  10. package/.agent/agents/database-architect.md +24 -3
  11. package/.agent/agents/db-latency-auditor.md +22 -2
  12. package/.agent/agents/debugger.md +19 -3
  13. package/.agent/agents/dependency-reviewer.md +19 -2
  14. package/.agent/agents/devops-engineer.md +24 -3
  15. package/.agent/agents/documentation-writer.md +21 -3
  16. package/.agent/agents/explorer-agent.md +21 -3
  17. package/.agent/agents/frontend-reviewer.md +19 -3
  18. package/.agent/agents/frontend-specialist.md +72 -224
  19. package/.agent/agents/game-developer.md +22 -3
  20. package/.agent/agents/interaction-reviewer.md +118 -0
  21. package/.agent/agents/logic-reviewer.md +18 -3
  22. package/.agent/agents/minimalist-reviewer.md +98 -0
  23. package/.agent/agents/mobile-developer.md +21 -3
  24. package/.agent/agents/mobile-reviewer.md +22 -2
  25. package/.agent/agents/orchestrator.md +19 -3
  26. package/.agent/agents/penetration-tester.md +22 -3
  27. package/.agent/agents/performance-optimizer.md +21 -3
  28. package/.agent/agents/performance-reviewer.md +2 -0
  29. package/.agent/agents/precedence-reviewer.md +19 -5
  30. package/.agent/agents/product-manager.md +20 -3
  31. package/.agent/agents/product-owner.md +22 -1
  32. package/.agent/agents/product-reviewer.md +98 -0
  33. package/.agent/agents/project-planner.md +19 -3
  34. package/.agent/agents/qa-automation-engineer.md +24 -3
  35. package/.agent/agents/resilience-reviewer.md +21 -2
  36. package/.agent/agents/schema-reviewer.md +21 -2
  37. package/.agent/agents/security-auditor.md +7 -1
  38. package/.agent/agents/seo-specialist.md +18 -3
  39. package/.agent/agents/sql-reviewer.md +22 -2
  40. package/.agent/agents/supervisor-agent.md +22 -3
  41. package/.agent/agents/swarm-worker-registry.md +7 -0
  42. package/.agent/agents/system-architect.md +19 -0
  43. package/.agent/agents/test-coverage-reviewer.md +22 -2
  44. package/.agent/agents/test-engineer.md +21 -2
  45. package/.agent/agents/throughput-optimizer.md +22 -2
  46. package/.agent/agents/type-safety-reviewer.md +21 -2
  47. package/.agent/agents/ui-ux-auditor.md +44 -242
  48. package/.agent/agents/ui-visual-auditor.md +99 -0
  49. package/.agent/agents/ux-reviewer.md +104 -0
  50. package/.agent/agents/visual-reviewer.md +98 -0
  51. package/.agent/agents/vitals-reviewer.md +23 -2
  52. package/.agent/history/README.md +53 -0
  53. package/.agent/history/case-law/cases/template-case.json +19 -0
  54. package/.agent/history/integrity_manifest.json +131 -33
  55. package/.agent/history/memory/.memory.idx +1581 -1
  56. package/.agent/history/memory/MEMORY.md +105 -1
  57. package/.agent/routing_index.json +272 -690
  58. package/.agent/rules/GEMINI.md +10 -12
  59. package/.agent/rules/GEMINI_PLANNER.md +84 -0
  60. package/.agent/scripts/_utils.js +28 -7
  61. package/.agent/scripts/case_law_manager.js +2 -0
  62. package/.agent/scripts/context_broker.js +152 -19
  63. package/.agent/scripts/guardrail_engine.js +60 -5
  64. package/.agent/scripts/impact_classifier.js +167 -0
  65. package/.agent/scripts/integrity_manifest.js +10 -4
  66. package/.agent/scripts/marathon_harness.js +10 -1
  67. package/.agent/scripts/minimal_change_engine.js +437 -0
  68. package/.agent/scripts/pipeline_engine.js +856 -0
  69. package/.agent/scripts/skill_evolution.js +36 -21
  70. package/.agent/scripts/socratic_gate_policy.js +60 -0
  71. package/.agent/scripts/swarm_dispatcher.js +65 -6
  72. package/.agent/scripts/token_budget_broker.js +52 -0
  73. package/.agent/scripts/verify_all.js +13 -0
  74. package/.agent/scripts/visual_audit.js +92 -0
  75. package/.agent/skills/12-principles-of-animation/SKILL.md +19 -10
  76. package/.agent/skills/60fps-animation/SKILL.md +19 -10
  77. package/.agent/skills/accessible-animation/SKILL.md +19 -10
  78. package/.agent/skills/adapt/SKILL.md +19 -10
  79. package/.agent/skills/advanced-rag-pipelines/SKILL.md +21 -3
  80. package/.agent/skills/agent-organizer/SKILL.md +21 -7
  81. package/.agent/skills/agentic-patterns/SKILL.md +19 -7
  82. package/.agent/skills/ai-prompt-injection-defense/SKILL.md +21 -7
  83. package/.agent/skills/animation-on-scroll/SKILL.md +19 -10
  84. package/.agent/skills/animation-systems/SKILL.md +19 -10
  85. package/.agent/skills/antfu-conventions/SKILL.md +21 -10
  86. package/.agent/skills/api-patterns/SKILL.md +21 -7
  87. package/.agent/skills/api-patterns/scripts/__pycache__/api_validator.cpython-311.pyc +0 -0
  88. package/.agent/skills/api-security-auditor/SKILL.md +21 -7
  89. package/.agent/skills/app-builder/SKILL.md +21 -7
  90. package/.agent/skills/apple-design/SKILL.md +19 -10
  91. package/.agent/skills/architecture/SKILL.md +21 -7
  92. package/.agent/skills/audit-and-fix/SKILL.md +19 -10
  93. package/.agent/skills/authentication-best-practices/SKILL.md +21 -7
  94. package/.agent/skills/backend-security-expert/SKILL.md +21 -7
  95. package/.agent/skills/baseline-ui/SKILL.md +19 -10
  96. package/.agent/skills/bash-linux/SKILL.md +21 -7
  97. package/.agent/skills/behavioral-modes/SKILL.md +19 -7
  98. package/.agent/skills/better-colors/SKILL.md +31 -14
  99. package/.agent/skills/better-ui/SKILL.md +19 -10
  100. package/.agent/skills/bolder/SKILL.md +19 -10
  101. package/.agent/skills/brainstorming/SKILL.md +17 -7
  102. package/.agent/skills/browser-native-ai/SKILL.md +19 -3
  103. package/.agent/skills/build-primitive/SKILL.md +19 -10
  104. package/.agent/skills/building-native-ui/SKILL.md +21 -7
  105. package/.agent/skills/cicd-pro/SKILL.md +21 -10
  106. package/.agent/skills/clarify/SKILL.md +19 -10
  107. package/.agent/skills/clean-code/SKILL.md +21 -7
  108. package/.agent/skills/cloud-architect/SKILL.md +21 -10
  109. package/.agent/skills/cobejs/SKILL.md +19 -10
  110. package/.agent/skills/code-review-checklist/SKILL.md +21 -7
  111. package/.agent/skills/codebase-design/SKILL.md +21 -10
  112. package/.agent/skills/colorize/SKILL.md +19 -10
  113. package/.agent/skills/compact-landing/SKILL.md +19 -10
  114. package/.agent/skills/company-logos/SKILL.md +19 -10
  115. package/.agent/skills/config-validator/SKILL.md +21 -7
  116. package/.agent/skills/containerization-pro/SKILL.md +21 -10
  117. package/.agent/skills/create-design-md/SKILL.md +19 -10
  118. package/.agent/skills/critique/SKILL.md +19 -10
  119. package/.agent/skills/csharp-developer/SKILL.md +21 -7
  120. package/.agent/skills/data-validation-schemas/SKILL.md +21 -7
  121. package/.agent/skills/database-design/SKILL.md +21 -7
  122. package/.agent/skills/database-design/scripts/__pycache__/schema_validator.cpython-311.pyc +0 -0
  123. package/.agent/skills/delight/SKILL.md +19 -10
  124. package/.agent/skills/deployment-procedures/SKILL.md +21 -7
  125. package/.agent/skills/design-lab/SKILL.md +21 -10
  126. package/.agent/skills/devops-engineer/SKILL.md +21 -7
  127. package/.agent/skills/devops-incident-responder/SKILL.md +21 -7
  128. package/.agent/skills/diagnosing-bugs/SKILL.md +21 -10
  129. package/.agent/skills/distill/SKILL.md +19 -10
  130. package/.agent/skills/documentation-templates/SKILL.md +21 -7
  131. package/.agent/skills/domain-modeling/SKILL.md +21 -10
  132. package/.agent/skills/edge-computing/SKILL.md +21 -7
  133. package/.agent/skills/emil-design-eng/SKILL.md +19 -10
  134. package/.agent/skills/error-resilience/SKILL.md +21 -7
  135. package/.agent/skills/extract-design-system/SKILL.md +21 -7
  136. package/.agent/skills/fabel-protocol/SKILL.md +19 -2
  137. package/.agent/skills/fixing-accessibility/SKILL.md +25 -14
  138. package/.agent/skills/fixing-metadata/SKILL.md +19 -10
  139. package/.agent/skills/fixing-motion-performance/SKILL.md +19 -10
  140. package/.agent/skills/framer-motion-expert/SKILL.md +19 -6
  141. package/.agent/skills/frontend-design/SKILL.md +66 -204
  142. package/.agent/skills/frontend-design/scripts/__pycache__/accessibility_checker.cpython-311.pyc +0 -0
  143. package/.agent/skills/frontend-design/scripts/__pycache__/ux_audit.cpython-311.pyc +0 -0
  144. package/.agent/skills/frontend-security-expert/SKILL.md +21 -7
  145. package/.agent/skills/game-design-expert/SKILL.md +21 -7
  146. package/.agent/skills/game-engineering-expert/SKILL.md +21 -7
  147. package/.agent/skills/generative-ui-expert/SKILL.md +19 -3
  148. package/.agent/skills/geo-fundamentals/SKILL.md +21 -7
  149. package/.agent/skills/geo-fundamentals/scripts/__pycache__/geo_checker.cpython-311.pyc +0 -0
  150. package/.agent/skills/git-pro/SKILL.md +21 -10
  151. package/.agent/skills/github-operations/SKILL.md +21 -7
  152. package/.agent/skills/gpt-taste/SKILL.md +19 -10
  153. package/.agent/skills/gsap-core/SKILL.md +21 -4
  154. package/.agent/skills/gsap-frameworks/SKILL.md +21 -4
  155. package/.agent/skills/gsap-performance/SKILL.md +20 -5
  156. package/.agent/skills/gsap-plugins/SKILL.md +20 -5
  157. package/.agent/skills/gsap-react/SKILL.md +20 -5
  158. package/.agent/skills/gsap-scrolltrigger/SKILL.md +21 -4
  159. package/.agent/skills/gsap-timeline/SKILL.md +20 -5
  160. package/.agent/skills/gsap-utils/SKILL.md +20 -5
  161. package/.agent/skills/harden/SKILL.md +19 -10
  162. package/.agent/skills/harness-protocol/SKILL.md +20 -4
  163. package/.agent/skills/i18n-localization/SKILL.md +21 -7
  164. package/.agent/skills/i18n-localization/scripts/__pycache__/i18n_checker.cpython-311.pyc +0 -0
  165. package/.agent/skills/impeccable/SKILL.md +21 -10
  166. package/.agent/skills/improve-codebase-architecture/SKILL.md +21 -10
  167. package/.agent/skills/improve-ui/SKILL.md +19 -10
  168. package/.agent/skills/intelligent-routing/SKILL.md +19 -7
  169. package/.agent/skills/knowledge-graph/SKILL.md +20 -4
  170. package/.agent/skills/landing-page/SKILL.md +20 -10
  171. package/.agent/skills/lint-and-validate/SKILL.md +21 -7
  172. package/.agent/skills/lint-and-validate/scripts/__pycache__/lint_runner.cpython-311.pyc +0 -0
  173. package/.agent/skills/lint-and-validate/scripts/__pycache__/type_coverage.cpython-311.pyc +0 -0
  174. package/.agent/skills/llm-engineering/SKILL.md +21 -7
  175. package/.agent/skills/local-first/SKILL.md +21 -7
  176. package/.agent/skills/local-first-architecture/SKILL.md +19 -10
  177. package/.agent/skills/lottie-animation/SKILL.md +19 -10
  178. package/.agent/skills/marquee-loop/SKILL.md +19 -10
  179. package/.agent/skills/masked-reveal/SKILL.md +19 -10
  180. package/.agent/skills/mcp-builder/SKILL.md +21 -7
  181. package/.agent/skills/micro-interaction/SKILL.md +19 -10
  182. package/.agent/skills/mobile-design/SKILL.md +21 -6
  183. package/.agent/skills/mobile-design/scripts/__pycache__/mobile_audit.cpython-311.pyc +0 -0
  184. package/.agent/skills/monorepo-management/SKILL.md +21 -7
  185. package/.agent/skills/morphing-icons/SKILL.md +19 -10
  186. package/.agent/skills/motion-engineering/SKILL.md +86 -171
  187. package/.agent/skills/nextjs-react-expert/SKILL.md +19 -7
  188. package/.agent/skills/nextjs-react-expert/scripts/__pycache__/convert_rules.cpython-311.pyc +0 -0
  189. package/.agent/skills/nextjs-react-expert/scripts/__pycache__/react_performance_checker.cpython-311.pyc +0 -0
  190. package/.agent/skills/nodejs-best-practices/SKILL.md +21 -7
  191. package/.agent/skills/observability/SKILL.md +21 -7
  192. package/.agent/skills/page-transition-animation/SKILL.md +19 -10
  193. package/.agent/skills/parallel-agents/SKILL.md +23 -7
  194. package/.agent/skills/performance-profiling/SKILL.md +21 -7
  195. package/.agent/skills/performance-profiling/scripts/__pycache__/lighthouse_audit.cpython-311.pyc +0 -0
  196. package/.agent/skills/plan-writing/SKILL.md +21 -7
  197. package/.agent/skills/platform-engineer/SKILL.md +21 -7
  198. package/.agent/skills/playwright-best-practices/SKILL.md +21 -7
  199. package/.agent/skills/polish/SKILL.md +19 -10
  200. package/.agent/skills/powershell-windows/SKILL.md +21 -7
  201. package/.agent/skills/pricing-page/SKILL.md +19 -10
  202. package/.agent/skills/product-aware-heuristics/SKILL.md +358 -0
  203. package/.agent/skills/progressive-blur/SKILL.md +19 -10
  204. package/.agent/skills/project-idioms/SKILL.md +20 -8
  205. package/.agent/skills/python-patterns/SKILL.md +21 -7
  206. package/.agent/skills/python-pro/SKILL.md +21 -6
  207. package/.agent/skills/quieter/SKILL.md +19 -10
  208. package/.agent/skills/react-doctor/SKILL.md +19 -10
  209. package/.agent/skills/react-specialist/SKILL.md +19 -6
  210. package/.agent/skills/readme-builder/SKILL.md +21 -7
  211. package/.agent/skills/realtime-patterns/SKILL.md +21 -7
  212. package/.agent/skills/red-team-tactics/SKILL.md +21 -7
  213. package/.agent/skills/redesign-skill/SKILL.md +19 -10
  214. package/.agent/skills/review-animations/SKILL.md +21 -10
  215. package/.agent/skills/rust-pro/SKILL.md +21 -7
  216. package/.agent/skills/seo-fundamentals/SKILL.md +21 -7
  217. package/.agent/skills/seo-fundamentals/scripts/__pycache__/seo_checker.cpython-311.pyc +0 -0
  218. package/.agent/skills/server-management/SKILL.md +21 -7
  219. package/.agent/skills/shadcn-ui-expert/SKILL.md +21 -7
  220. package/.agent/skills/shape/SKILL.md +19 -10
  221. package/.agent/skills/skill-creator/SKILL.md +21 -7
  222. package/.agent/skills/soft-skill/SKILL.md +19 -10
  223. package/.agent/skills/sounds-on-the-web/SKILL.md +19 -10
  224. package/.agent/skills/sql-pro/SKILL.md +21 -7
  225. package/.agent/skills/supabase-postgres-best-practices/SKILL.md +21 -7
  226. package/.agent/skills/svg-animation/SKILL.md +19 -10
  227. package/.agent/skills/swiftui-expert/SKILL.md +21 -7
  228. package/.agent/skills/swiss-design/SKILL.md +19 -10
  229. package/.agent/skills/system-design-pro/SKILL.md +21 -9
  230. package/.agent/skills/systematic-debugging/SKILL.md +21 -7
  231. package/.agent/skills/tailwind-patterns/SKILL.md +21 -7
  232. package/.agent/skills/taste-skill/SKILL.md +19 -10
  233. package/.agent/skills/tdd-workflow/SKILL.md +21 -10
  234. package/.agent/skills/test-result-analyzer/SKILL.md +18 -6
  235. package/.agent/skills/testing-patterns/SKILL.md +21 -7
  236. package/.agent/skills/testing-patterns/scripts/__pycache__/test_runner.cpython-311.pyc +0 -0
  237. package/.agent/skills/thermo-nuclear-code-quality-review/SKILL.md +21 -10
  238. package/.agent/skills/thinking-protocol/SKILL.md +20 -8
  239. package/.agent/skills/to-spring-or-not-to-spring/SKILL.md +19 -10
  240. package/.agent/skills/transitions-dev/SKILL.md +19 -10
  241. package/.agent/skills/trend-researcher/SKILL.md +17 -6
  242. package/.agent/skills/typescript-advanced/SKILL.md +21 -7
  243. package/.agent/skills/typeset/SKILL.md +19 -10
  244. package/.agent/skills/ui-reasoning-engine/SKILL.md +154 -0
  245. package/.agent/skills/ui-skill-packs/SKILL.md +77 -0
  246. package/.agent/skills/ui-skills-root/SKILL.md +21 -9
  247. package/.agent/skills/ui-ux-pro-max/SKILL.md +62 -583
  248. package/.agent/skills/ui-ux-researcher/SKILL.md +17 -6
  249. package/.agent/skills/vue-expert/SKILL.md +19 -6
  250. package/.agent/skills/vulnerability-scanner/SKILL.md +21 -7
  251. package/.agent/skills/vulnerability-scanner/scripts/__pycache__/security_scan.cpython-311.pyc +0 -0
  252. package/.agent/skills/web-accessibility-auditor/SKILL.md +21 -7
  253. package/.agent/skills/web-design-guidelines/SKILL.md +32 -206
  254. package/.agent/skills/web-quality-audit/SKILL.md +19 -10
  255. package/.agent/skills/webapp-testing/SKILL.md +21 -7
  256. package/.agent/skills/webapp-testing/scripts/__pycache__/playwright_runner.cpython-311.pyc +0 -0
  257. package/.agent/skills/webgpu-performance/SKILL.md +19 -3
  258. package/.agent/skills/whimsy-injector/SKILL.md +20 -10
  259. package/.agent/skills/workflow-optimizer/SKILL.md +16 -6
  260. package/.agent/templates/DESIGN.md +292 -0
  261. package/.agent/templates/design-tokens.json +137 -0
  262. package/.agent/workflows/acf.md +13 -6
  263. package/.agent/workflows/api-tester.md +15 -8
  264. package/.agent/workflows/audit.md +19 -8
  265. package/.agent/workflows/brainstorm.md +14 -9
  266. package/.agent/workflows/changelog.md +14 -8
  267. package/.agent/workflows/create.md +16 -8
  268. package/.agent/workflows/debug.md +15 -10
  269. package/.agent/workflows/deploy.md +16 -8
  270. package/.agent/workflows/enhance.md +15 -10
  271. package/.agent/workflows/fix.md +15 -8
  272. package/.agent/workflows/generate.md +17 -11
  273. package/.agent/workflows/marathon.md +15 -8
  274. package/.agent/workflows/migrate.md +16 -8
  275. package/.agent/workflows/minimal.md +94 -0
  276. package/.agent/workflows/orchestrate.md +15 -8
  277. package/.agent/workflows/performance-benchmarker.md +15 -8
  278. package/.agent/workflows/pipeline.md +155 -0
  279. package/.agent/workflows/plan.md +14 -10
  280. package/.agent/workflows/preview.md +14 -7
  281. package/.agent/workflows/refactor.md +16 -8
  282. package/.agent/workflows/review-ai.md +15 -7
  283. package/.agent/workflows/review.md +15 -7
  284. package/.agent/workflows/session.md +14 -7
  285. package/.agent/workflows/status.md +13 -7
  286. package/.agent/workflows/strengthen-skills.md +15 -6
  287. package/.agent/workflows/super-prompt.md +19 -10
  288. package/.agent/workflows/swarm.md +15 -7
  289. package/.agent/workflows/test.md +15 -8
  290. package/.agent/workflows/tribunal-backend.md +16 -9
  291. package/.agent/workflows/tribunal-database.md +15 -8
  292. package/.agent/workflows/tribunal-frontend.md +26 -11
  293. package/.agent/workflows/tribunal-full.md +29 -14
  294. package/.agent/workflows/tribunal-mobile.md +15 -8
  295. package/.agent/workflows/tribunal-performance.md +15 -8
  296. package/.agent/workflows/tribunal-speed.md +16 -9
  297. package/.agent/workflows/tribunal-ui.md +82 -0
  298. package/.agent/workflows/ui-ux-pro-max.md +51 -107
  299. package/CONTRIBUTING.md +2 -2
  300. package/README.md +5 -5
  301. package/bin/mcp-server.js +126 -76
  302. package/bin/wrapper.js +67 -31
  303. package/dist/cli.js +39 -1
  304. package/dist/commands/compile.js +7 -0
  305. package/dist/commands/context.js +8 -3
  306. package/dist/commands/graph.js +8 -2
  307. package/dist/commands/init.js +37 -2
  308. package/dist/commands/memory.js +119 -68
  309. package/dist/commands/minimal.js +71 -0
  310. package/dist/commands/native.js +228 -0
  311. package/dist/commands/optimize.js +15 -5
  312. package/dist/commands/validate.js +67 -0
  313. package/dist/esm/index.mjs +26 -32
  314. package/dist/mcp/server.js +4 -138
  315. package/dist/utils/fs.js +10 -4
  316. package/dist/utils/helpers.js +10 -1
  317. package/dist/utils/version.js +9 -2
  318. package/mcp_config.json +10 -1
  319. package/package.json +19 -15
  320. package/scripts/benchmark.js +58 -0
  321. package/scripts/sync-version.js +129 -76
  322. package/scripts/visual_audit.js +126 -0
@@ -1,6 +1,14 @@
1
1
  ---
2
2
  description: Preview server start, stop, and status check. Local development server management. Uses auto_preview.js for automated lifecycle control. Shows current URL and hot-reload status.
3
- required-skills: bash-linux, frontend-specialist
3
+ tools: Read, Grep, Glob, Bash, Edit, Write
4
+ version: 3.0.0
5
+ last-updated: 2026-07-30
6
+ required-skills:
7
+ - bash-linux
8
+ - frontend-specialist
9
+ - devops-engineer
10
+ scripts-binding:
11
+ - .agent/scripts/auto_preview.js
4
12
  ---
5
13
 
6
14
  # /preview — Local Development Server
@@ -9,13 +17,12 @@ $ARGUMENTS
9
17
 
10
18
  ---
11
19
 
12
- ## $CONTEXT_REQUIRED
20
+ ## Mandatory Pre-Flight Context Inspection
13
21
 
14
- ```
15
- Read BEFORE managing preview:
16
- package.json → Check dev script command and environment
17
- .env Verify preview environment keys
18
- ```
22
+ Before managing dev server lifecycle or starting preview servers, you MUST inspect:
23
+ 1. Workspace Dev Script Configuration (`package.json`) → Verify `npm run dev` or equivalent start script and framework server port
24
+ 2. Environment Configuration (`.env`) → Check port bindings and dev server host configs
25
+ 3. Dev Server Lifecycle Script (`.agent/scripts/auto_preview.js`) Use automated script for process management, port collision detection, and health checks
19
26
 
20
27
  ---
21
28
 
@@ -1,6 +1,16 @@
1
1
  ---
2
2
  description: Structured code refactoring with dependency-safe execution and behavior preservation. Maps all dependents before touching any file. Refactoring changes structure without changing observable behavior. Tests must pass before and after every step.
3
- required-skills: clean-code, architecture
3
+ tools: Read, Grep, Glob, Bash, Edit, Write
4
+ version: 3.0.0
5
+ last-updated: 2026-07-30
6
+ required-skills:
7
+ - clean-code
8
+ - architecture
9
+ - codebase-design
10
+ - tdd-workflow
11
+ scripts-binding:
12
+ - .agent/scripts/test_runner.js
13
+ - .agent/scripts/lint_runner.js
4
14
  ---
5
15
 
6
16
  # /refactor — Dependency-Safe Structural Improvement
@@ -9,14 +19,12 @@ $ARGUMENTS
9
19
 
10
20
  ---
11
21
 
12
- ## $CONTEXT_REQUIRED
22
+ ## Mandatory Pre-Flight Context Inspection
13
23
 
14
- ```
15
- Read BEFORE refactoring:
16
- Target module Understand the structure to be extracted or renamed
17
- package.json Check test scripts to run after refactor
18
- □ grep search → Locate all importers of the target module
19
- ```
24
+ Before executing structural refactoring or extracting interfaces, you MUST inspect:
25
+ 1. Complete Dependent Map (Grep Importers) → Identify every file importing the target module before touching a single line
26
+ 2. Baseline Test Suite Verification (`test_runner.js`) Ensure all unit and integration tests pass BEFORE initiating refactor steps
27
+ 3. Observable Behavior Preservation Enforce zero change in public function behavior or API contracts; verify tests pass cleanly after every step
20
28
 
21
29
  ---
22
30
 
@@ -1,6 +1,15 @@
1
1
  ---
2
2
  description: Audit AI/LLM integration code for hallucinated model names, invented API parameters, prompt injection vulnerabilities, missing rate-limit handling, streaming error gaps, and cost explosion patterns. Uses ai-code-reviewer + logic + security.
3
- required-skills: llm-engineering, ai-prompt-injection-defense
3
+ tools: Read, Grep, Glob, Bash, Edit, Write
4
+ version: 3.0.0
5
+ last-updated: 2026-07-30
6
+ required-skills:
7
+ - llm-engineering
8
+ - ai-prompt-injection-defense
9
+ - generative-ui-expert
10
+ scripts-binding:
11
+ - .agent/scripts/security_scan.js
12
+ - .agent/scripts/lint_runner.js
4
13
  ---
5
14
 
6
15
  # /review-ai — AI Integration Code Audit
@@ -9,13 +18,12 @@ $ARGUMENTS
9
18
 
10
19
  ---
11
20
 
12
- ## $CONTEXT_REQUIRED
21
+ ## Mandatory Pre-Flight Context Inspection
13
22
 
14
- ```
15
- Read BEFORE reviewing:
16
- Target AI files The LLM integrations or prompts
17
- □ package.json → Which SDKs are used (e.g. ai, openai)
18
- ```
23
+ Before auditing LLM integrations, prompt templates, or AI API calls, you MUST inspect:
24
+ 1. Target AI Code & SDK Manifests (`package.json`) → Verify official AI SDK versions (Vercel AI SDK `ai`, `@langchain/core`, `openai`, `@google/genai`)
25
+ 2. Prompt Injection Boundary Check Confirm user inputs are strictly passed via message roles or delimited blocks; ban string concatenation into system prompts
26
+ 3. 3-Reviewer AI Integration Gate Run ai-code-reviewer, logic-reviewer, and security-auditor before approving AI code diffs
19
27
 
20
28
  ---
21
29
 
@@ -1,6 +1,15 @@
1
1
  ---
2
2
  description: Audit existing code for hallucinations. Runs Logic + Security reviewers on any code without generating anything new. The pure review mode — read, analyze, and report only.
3
- required-skills: code-review-checklist, vulnerability-scanner
3
+ tools: Read, Grep, Glob, Bash, Edit, Write
4
+ version: 3.0.0
5
+ last-updated: 2026-07-30
6
+ required-skills:
7
+ - code-review-checklist
8
+ - vulnerability-scanner
9
+ - clean-code
10
+ scripts-binding:
11
+ - .agent/scripts/security_scan.js
12
+ - .agent/scripts/lint_runner.js
4
13
  ---
5
14
 
6
15
  # /review — Hallucination Audit (Read-Only)
@@ -9,13 +18,12 @@ $ARGUMENTS
9
18
 
10
19
  ---
11
20
 
12
- ## $CONTEXT_REQUIRED
21
+ ## Mandatory Pre-Flight Context Inspection
13
22
 
14
- ```
15
- Read BEFORE reviewing:
16
- Target code files The files that need auditing
17
- package.json Check dependencies used by target files
18
- ```
23
+ Before auditing code for hallucinations or structural flaws, you MUST inspect:
24
+ 1. Target Source Code & Dependent Modules → Read target files and their import declarations
25
+ 2. Package Manifest (`package.json`) Cross-reference imported packages against installed dependencies
26
+ 3. Pure Read-Only Constraint Prohibit any file mutations or generation; output findings in structured audit tables strictly
19
27
 
20
28
  ---
21
29
 
@@ -1,6 +1,14 @@
1
1
  ---
2
2
  description: Interactive session state tracking for multi-conversation context continuity. Saves and restores agent context across separate sessions so work can be resumed without losing progress.
3
- required-skills: behavioral-modes, agent-organizer
3
+ tools: Read, Grep, Glob, Bash, Edit, Write
4
+ version: 3.0.0
5
+ last-updated: 2026-07-30
6
+ required-skills:
7
+ - behavioral-modes
8
+ - agent-organizer
9
+ - harness-protocol
10
+ scripts-binding:
11
+ - .agent/scripts/session_manager.js
4
12
  ---
5
13
 
6
14
  # /session — Session State Management
@@ -9,13 +17,12 @@ $ARGUMENTS
9
17
 
10
18
  ---
11
19
 
12
- ## $CONTEXT_REQUIRED
20
+ ## Mandatory Pre-Flight Context Inspection
13
21
 
14
- ```
15
- Read BEFORE managing session:
16
- .agent/scripts/session_manager.js Verify script exists and is executable
17
- Existing session files Check what previous sessions exist
18
- ```
22
+ Before saving, restoring, or clearing session state snapshots, you MUST inspect:
23
+ 1. Session Manager Executable (`.agent/scripts/session_manager.js`) → Confirm script availability and snapshot parameters
24
+ 2. Active Session History -> Read latest snapshot metadata (`session_id`, active task, modified files, open decisions)
25
+ 3. Zero Context Loss Rule Verify state snapshot contains explicit next steps and task status prior to terminating conversation
19
26
 
20
27
  ---
21
28
 
@@ -1,6 +1,13 @@
1
1
  ---
2
2
  description: Display agent and project status. Shows task.md progress, last audit results, CI status, and recently modified files. Read-only — no changes made.
3
- required-skills: bash-linux
3
+ tools: Read, Grep, Glob, Bash, Edit, Write
4
+ version: 3.0.0
5
+ last-updated: 2026-07-30
6
+ required-skills:
7
+ - bash-linux
8
+ - code-review-checklist
9
+ scripts-binding:
10
+ - .agent/scripts/verify_all.js
4
11
  ---
5
12
 
6
13
  # /status — Project Health Dashboard
@@ -9,13 +16,12 @@ $ARGUMENTS
9
16
 
10
17
  ---
11
18
 
12
- ## $CONTEXT_REQUIRED
19
+ ## Mandatory Pre-Flight Context Inspection
13
20
 
14
- ```
15
- Read BEFORE checking status:
16
- task.md Get the current active task progress
17
- git status Find recently modified files
18
- ```
21
+ Before rendering project status dashboards, you MUST inspect:
22
+ 1. Active Execution Ledger (`task.md`) → Read current wave progress, finished tasks, and active in-progress item
23
+ 2. Workspace Git Status (`git status`, `git diff --stat`) List uncommitted edits and modified files
24
+ 3. Read-Only Constraint Ban any file mutations or state updates during status reporting; report status strictly
19
25
 
20
26
  ---
21
27
 
@@ -1,6 +1,15 @@
1
1
  ---
2
2
  description: Strengthen skills by appending Tribunal guardrails (LLM Traps, Pre-Flight checklist, VBC Protocol) to any SKILL.md missing them. Reads each skill, checks for guardrails, appends if missing, skips if present.
3
- required-skills: skill-creator, llm-engineering
3
+ tools: Read, Grep, Glob, Bash, Edit, Write
4
+ version: 3.0.0
5
+ last-updated: 2026-07-30
6
+ required-skills:
7
+ - skill-creator
8
+ - llm-engineering
9
+ - clean-code
10
+ scripts-binding:
11
+ - .agent/scripts/skill_integrator.js
12
+ - .agent/scripts/lint_runner.js
4
13
  ---
5
14
 
6
15
  # /strengthen-skills — Skill Hardening Pipeline
@@ -9,12 +18,12 @@ $ARGUMENTS
9
18
 
10
19
  ---
11
20
 
12
- ## $CONTEXT_REQUIRED
21
+ ## Mandatory Pre-Flight Context Inspection
13
22
 
14
- ```
15
- Read BEFORE strengthening:
16
- .agent/skills/ Identify the skills that exist
17
- ```
23
+ Before auditing or hardening skill definitions, you MUST inspect:
24
+ 1. Target Skill Directory Inventory (`.agent/skills/`) → List all skill folders and inspect `SKILL.md` frontmatter
25
+ 2. Guardrail Idempotency Check Check if target `SKILL.md` already carries `## Mandatory Pre-Flight Context Inspection` or `## 🏛️ Tribunal Integration`; skip if present
26
+ 3. Skill Integrator Script (`.agent/scripts/skill_integrator.js`) → Run skill integrator script to update executable script bindings
18
27
 
19
28
  ---
20
29
 
@@ -1,18 +1,27 @@
1
- # /super-prompt — Tokenless Prompt Compiler
2
-
3
1
  ---
2
+ description: Tokenless Prompt Compiler. Converts conversational requests into hyper-dense YAML structures that LLMs process perfectly, reducing prompt tokens and improving response accuracy. Zero API tokens used during compilation.
3
+ tools: Read, Grep, Glob, Bash, Edit, Write
4
+ version: 3.0.0
5
+ last-updated: 2026-07-30
6
+ required-skills:
7
+ - llm-engineering
8
+ - clean-code
9
+ scripts-binding:
10
+ - .agent/scripts/prompt_compiler.js
11
+ ---
12
+
13
+ # /super-prompt — Tokenless Prompt Compiler
4
14
 
5
- ## required-skills: llm-engineering
15
+ $ARGUMENTS
6
16
 
7
- Converts conversational, fluffy requests into hyper-dense YAML structures that LLMs process perfectly, reducing prompt tokens and drastically improving response accuracy. **Zero API tokens are used during compilation.**
17
+ ---
8
18
 
9
- ## $CONTEXT_REQUIRED
19
+ ## Mandatory Pre-Flight Context Inspection
10
20
 
11
- ```
12
- Read BEFORE super-prompting:
13
- Target prompt Determine what the user wants to achieve
14
- .agent/scripts/prompt_compiler.jsVerify script exists
15
- ```
21
+ Before compiling prompts or running prompt compression, you MUST inspect:
22
+ 1. Target Input Request Text → Read target user request to strip conversational fillers
23
+ 2. Prompt Compiler Script (`.agent/scripts/prompt_compiler.js`) Verify availability of local prompt compiler script
24
+ 3. Zero Token Overhead Principle Ensure compilation executes locally without invoking LLM API calls
16
25
 
17
26
  ---
18
27
 
@@ -1,6 +1,15 @@
1
1
  ---
2
2
  description: Multi-Agent Swarm Orchestration. Supervisor decomposes a complex goal into sub-tasks, dispatches to specialist Workers via structured JSON contracts, collects results via allSettled fan-in, and synthesizes a unified deliverable. Validates payloads via swarm_dispatcher.js before dispatch.
3
- required-skills: parallel-agents, agent-organizer
3
+ tools: Read, Grep, Glob, Bash, Edit, Write
4
+ version: 3.0.0
5
+ last-updated: 2026-07-30
6
+ required-skills:
7
+ - parallel-agents
8
+ - agent-organizer
9
+ - swarm-dispatcher
10
+ scripts-binding:
11
+ - .agent/scripts/swarm_dispatcher.js
12
+ - .agent/scripts/verify_all.js
4
13
  ---
5
14
 
6
15
  # /swarm — Multi-Agent Swarm Execution
@@ -9,13 +18,12 @@ $ARGUMENTS
9
18
 
10
19
  ---
11
20
 
12
- ## $CONTEXT_REQUIRED
21
+ ## Mandatory Pre-Flight Context Inspection
13
22
 
14
- ```
15
- Read BEFORE swarming:
16
- Target scope Ensure tasks are non-overlapping
17
- .agent/scripts/swarm_dispatcher.jsValidate the dispatcher is available
18
- ```
23
+ Before decomposing goals into worker sub-tasks or triggering swarm execution, you MUST inspect:
24
+ 1. Swarm Dispatcher Validator (`.agent/scripts/swarm_dispatcher.js`) → Run payload validation script to ensure valid worker JSON payloads
25
+ 2. Non-Overlapping File Boundary Rule Verify worker tasks target disjoint file sets to prevent git write conflicts during parallel execution
26
+ 3. `Promise.allSettled()` Fan-In Protocol Collect all worker status reports and synthesize final deliverable before Human Gate confirmation
19
27
 
20
28
  ---
21
29
 
@@ -1,6 +1,15 @@
1
1
  ---
2
2
  description: Test generation and test running command. Creates and executes tests for code using the Testing Trophy strategy (unit → integration → E2E). Tests are behavioral (GIVEN/WHEN/THEN), not structural. Tests cannot be approved without covering happy path, error path, and boundary cases.
3
- required-skills: testing-patterns, tdd-workflow
3
+ tools: Read, Grep, Glob, Bash, Edit, Write
4
+ version: 3.0.0
5
+ last-updated: 2026-07-30
6
+ required-skills:
7
+ - testing-patterns
8
+ - tdd-workflow
9
+ - test-engineer
10
+ scripts-binding:
11
+ - .agent/scripts/test_runner.js
12
+ - .agent/scripts/verify_all.js
4
13
  ---
5
14
 
6
15
  # /test — Test Generation & Execution
@@ -9,14 +18,12 @@ $ARGUMENTS
9
18
 
10
19
  ---
11
20
 
12
- ## $CONTEXT_REQUIRED
21
+ ## Mandatory Pre-Flight Context Inspection
13
22
 
14
- ```
15
- Read BEFORE testing:
16
- Target files → Code to be tested
17
- Existing tests Understand testing patterns already used
18
- □ package.json → Check test frameworks (Jest, Vitest, etc.)
19
- ```
23
+ Before generating test suites or executing test runners, you MUST inspect:
24
+ 1. Workspace Test Runner Configuration (`package.json`, `jest.config.js`, `vitest.config.ts`, `pytest.ini`) → Verify installed runner & test environment
25
+ 2. Target Module Code & Contracts → Inspect function signatures, parameters, exceptions, and return types
26
+ 3. 3-Case Coverage Requirement Ensure test cases explicitly cover Happy Path, Error Handling Path, and Boundary Conditions before approving test files
20
27
 
21
28
  ---
22
29
 
@@ -1,6 +1,16 @@
1
1
  ---
2
2
  description: Backend-specific Tribunal. Runs Logic + Security + Dependency + Type Safety + Resilience + Schema reviewers. Use for API routes, server logic, auth code, middleware, Server Actions, and any server-side business logic.
3
- required-skills: backend-security-expert, nodejs-best-practices, api-patterns
3
+ tools: Read, Grep, Glob, Bash, Edit, Write
4
+ version: 3.0.0
5
+ last-updated: 2026-07-30
6
+ required-skills:
7
+ - backend-security-expert
8
+ - nodejs-best-practices
9
+ - api-patterns
10
+ scripts-binding:
11
+ - .agent/scripts/security_scan.js
12
+ - .agent/scripts/dependency_analyzer.js
13
+ - .agent/scripts/schema_validator.js
4
14
  ---
5
15
 
6
16
  # /tribunal-backend — Backend Code Audit
@@ -9,15 +19,12 @@ $ARGUMENTS
9
19
 
10
20
  ---
11
21
 
12
- ## $CONTEXT_REQUIRED
22
+ ## Mandatory Pre-Flight Context Inspection
13
23
 
14
- ```
15
- Read BEFORE backend review:
16
- Target backend files The code being audited
17
- package.json Verify dependency versions (express, next, etc.)
18
- □ prisma/schema.prisma → If ORM is used
19
- □ .env.example → Expected environment variables
20
- ```
24
+ Before auditing backend routes or server logic, you MUST inspect:
25
+ 1. Target Backend Source & Contracts → Read target route handlers, Server Actions, or controller methods
26
+ 2. Dependencies & Environment (`package.json`, `.env.example`) Check backend framework versions, secret key placeholders, and ORM schemas
27
+ 3. 6-Reviewer Parallel Gate Execute logic-reviewer, security-auditor, dependency-analyzer, type-safety, resilience-reviewer, and schema-reviewer before approving diffs
21
28
 
22
29
  ---
23
30
 
@@ -1,6 +1,15 @@
1
1
  ---
2
2
  description: Database-specific Tribunal. Runs Logic + Security + SQL reviewers. Use for Prisma queries, raw SQL, schema migrations, ORM operations, and database transaction code.
3
- required-skills: database-design
3
+ tools: Read, Grep, Glob, Bash, Edit, Write
4
+ version: 3.0.0
5
+ last-updated: 2026-07-30
6
+ required-skills:
7
+ - database-design
8
+ - sql-pro
9
+ - supabase-postgres-best-practices
10
+ scripts-binding:
11
+ - .agent/scripts/schema_validator.js
12
+ - .agent/scripts/security_scan.js
4
13
  ---
5
14
 
6
15
  # /tribunal-database — Database Code Audit
@@ -9,14 +18,12 @@ $ARGUMENTS
9
18
 
10
19
  ---
11
20
 
12
- ## $CONTEXT_REQUIRED
21
+ ## Mandatory Pre-Flight Context Inspection
13
22
 
14
- ```
15
- Read BEFORE database review:
16
- Target query/schema files The code being audited
17
- prisma/schema.prisma The single source of truth for schema
18
- □ Database migration files → History of schema changes
19
- ```
23
+ Before auditing database queries, migrations, or ORM transactions, you MUST inspect:
24
+ 1. ORM Schema Source of Truth (`prisma/schema.prisma` or SQL schema) → Verify active table schemas, indexes, and relations
25
+ 2. SQL Parameterization Inspection Flag all raw SQL queries attempting string interpolation; enforce parameterized queries
26
+ 3. 3-Reviewer Database Gate Execute logic-reviewer, security-auditor, and sql-pro before approving database modifications
20
27
 
21
28
  ---
22
29
 
@@ -1,22 +1,32 @@
1
1
  ---
2
- description: Frontend and React specific Tribunal. Runs Logic + Security + Frontend + Type Safety + UI/UX + Motion reviewers. Use for React components, hooks, UI code, Next.js pages, Server Components, and Client Components.
3
- required-skills: react-specialist, nextjs-react-expert, frontend-design, review-animations, emil-design-eng
2
+ description: Frontend and React specific Tribunal. Runs Logic + Security + Frontend + Type Safety + UI/UX + Motion + Visual Audit reviewers. Use for React components, hooks, UI code, Next.js pages, Server Components, and Client Components.
3
+ tools: Read, Grep, Glob, Bash, Edit, Write
4
+ version: 3.0.0
5
+ last-updated: 2026-07-30
6
+ required-skills:
7
+ - ui-skill-packs
8
+ - react-specialist
9
+ - nextjs-react-expert
10
+ - frontend-design
11
+ - review-animations
12
+ - emil-design-eng
13
+ scripts-binding:
14
+ - .agent/scripts/lint_runner.js
15
+ - .agent/scripts/security_scan.js
4
16
  ---
5
17
 
6
- # /tribunal-frontend — Frontend Code Audit
18
+ # /tribunal-frontend — Frontend Code & Visual Audit
7
19
 
8
20
  $ARGUMENTS
9
21
 
10
22
  ---
11
23
 
12
- ## $CONTEXT_REQUIRED
24
+ ## Mandatory Pre-Flight Context Inspection
13
25
 
14
- ```
15
- Read BEFORE frontend review:
16
- Target component files The UI code being audited
17
- □ tailwind.config / globals.cssUnderstand design tokens
18
- □ package.json → Verify frontend dependencies (framer-motion, radicle, etc.)
19
- ```
26
+ Before auditing React components or frontend UI logic, you MUST inspect:
27
+ 1. Design Tokens & Styling Context (`globals.css`, `tailwind.config`) → Verify OKLCH color palettes, typography scale, and dark mode classes
28
+ 2. Active UI Skill Pack (`.agent/skills/ui-skill-packs/SKILL.md`) Load mandatory UI skill pack (Pack 1: Foundations, Pack 2: Motion, Pack 3: Systems)
29
+ 3. 7-Reviewer Frontend Gate Run logic, security, frontend-reviewer, type-safety, ui-ux-auditor, motion-reviewer, and visual-auditor before approving UI diffs
20
30
 
21
31
  ---
22
32
 
@@ -32,7 +42,7 @@ Read BEFORE frontend review:
32
42
 
33
43
  ---
34
44
 
35
- ## 6 Active Reviewers (All Run Simultaneously)
45
+ ## 7 Active Reviewers (All Run Simultaneously)
36
46
 
37
47
  ### precedence-reviewer → Checks local repo Case Law for past rejections
38
48
 
@@ -73,6 +83,11 @@ Read BEFORE frontend review:
73
83
  - Color contrast below WCAG AA (4.5:1)
74
84
  - Typography and spacing not following design system logic
75
85
 
86
+ ### ui-visual-auditor (Closed-Loop Visual Gate)
87
+
88
+ - Runs `node scripts/visual_audit.js --file <target>` to verify OKLCH color compliance, surface depth layering (hairline borders + ambient shadows), and interactive state polish.
89
+ - Rejects flat card containers lacking depth or hex hacks without design tokens.
90
+
76
91
  ### review-animations (The Socratic Gate)
77
92
 
78
93
  - Any UI animation exceeding 300ms budget
@@ -1,22 +1,37 @@
1
1
  ---
2
- description: Runs ALL 19 parallel reviewers simultaneously. Maximum hallucination coverage. Use before merging any AI-generated code, before production deployments, or when maximum confidence is required.
3
- required-skills: all domain skills auto-loaded
2
+ description: Runs ALL 21 parallel reviewers simultaneously. Maximum hallucination coverage. Use before merging any AI-generated code, before production deployments, or when maximum confidence is required.
3
+ tools: Read, Grep, Glob, Bash, Edit, Write
4
+ version: 3.0.0
5
+ last-updated: 2026-07-30
6
+ required-skills:
7
+ - clean-code
8
+ - backend-security-expert
9
+ - frontend-design
10
+ - database-design
11
+ - mobile-design
12
+ - performance-profiling
13
+ scripts-binding:
14
+ - .agent/scripts/security_scan.js
15
+ - .agent/scripts/dependency_analyzer.js
16
+ - .agent/scripts/lint_runner.js
17
+ - .agent/scripts/schema_validator.js
18
+ - .agent/scripts/test_runner.js
19
+ - .agent/scripts/bundle_analyzer.js
20
+ - .agent/scripts/verify_all.js
4
21
  ---
5
22
 
6
- # /tribunal-full — Complete 19-Reviewer Audit
23
+ # /tribunal-full — Complete 21-Reviewer Audit
7
24
 
8
25
  $ARGUMENTS
9
26
 
10
27
  ---
11
28
 
12
- ## $CONTEXT_REQUIRED
29
+ ## Mandatory Pre-Flight Context Inspection
13
30
 
14
- ```
15
- Read BEFORE full review:
16
- All modified files → Use git diff to see pending changes
17
- package.json Verify all dependencies
18
- □ Config files → tsconfig, next.config, tailwind.config
19
- ```
31
+ Before launching the full 21-reviewer audit, you MUST inspect:
32
+ 1. Pending Code Modifications (`git diff` / modified files) → Inspect diffs across all domains (frontend, backend, database, mobile)
33
+ 2. Workspace Configuration Context (`package.json`, `tsconfig.json`, `tailwind.config`) Verify project build contracts
34
+ 3. 21-Reviewer Synthesis Gate Execute all 21 specialized reviewers in parallel; halt on any security violation or critical bug before Human Gate approval
20
35
 
21
36
  ---
22
37
 
@@ -32,7 +47,7 @@ Read BEFORE full review:
32
47
 
33
48
  ---
34
49
 
35
- ## 19 Reviewers — All Active Simultaneously
50
+ ## 21 Reviewers — All Active Simultaneously
36
51
 
37
52
  ```
38
53
  Tier 1: Always active (universal concerns)
@@ -68,7 +83,7 @@ Tier 4: Performance Swarm (token-scoped specialists)
68
83
 
69
84
  ## Active Reviewers by Code Type
70
85
 
71
- Not all 19 reviewers produce meaningful findings on all code types. Active reviewers detect their first finding immediately — inactive reviewers auto-pass with "N/A for this code type."
86
+ Not all 21 reviewers produce meaningful findings on all code types. Active reviewers detect their first finding immediately — inactive reviewers auto-pass with "N/A for this code type."
72
87
 
73
88
  | Code Under Review | Critical Reviewers |
74
89
  | :------------------ | :---------------------------------------------------------------- |
@@ -86,7 +101,7 @@ Not all 19 reviewers produce meaningful findings on all code types. Active revie
86
101
  ## Verdict Aggregation
87
102
 
88
103
  ```
89
- All 19 verdicts are collected. Aggregated result:
104
+ All 21 verdicts are collected. Aggregated result:
90
105
 
91
106
  If ANY reviewer = ❌ REJECTED → Global verdict: ❌ REJECTED (must fix before Human Gate)
92
107
  If any reviewer = ⚠️ WARNING → Global verdict: ⚠️ WARNINGS (proceed with attention)
@@ -124,7 +139,7 @@ After 3 failed attempts:
124
139
 
125
140
  | Outcome | Next Command |
126
141
  | :------------------------- | :--------------------------------------------- |
127
- | All 19 reviewers approve | → `/deploy` — highest confidence state |
142
+ | All 21 reviewers approve | → `/deploy` — highest confidence state |
128
143
  | Reject with multiple fixes | → `/fix` for simple issues, `/debug` for logic |
129
144
  | Performance rejection | → `/tribunal-speed` for granular profiling |
130
145
  | Security rejection | → Immediate `/tribunal-backend` to resolve |
@@ -1,6 +1,15 @@
1
1
  ---
2
2
  description: Mobile-specific Tribunal. Runs Logic + Security + Mobile reviewers. Use for React Native, Expo, gesture handlers, animations, navigation, and any iOS/Android-targeted code.
3
- required-skills: building-native-ui, mobile-design
3
+ tools: Read, Grep, Glob, Bash, Edit, Write
4
+ version: 3.0.0
5
+ last-updated: 2026-07-30
6
+ required-skills:
7
+ - building-native-ui
8
+ - mobile-design
9
+ - swiftui-expert
10
+ scripts-binding:
11
+ - .agent/scripts/lint_runner.js
12
+ - .agent/scripts/security_scan.js
4
13
  ---
5
14
 
6
15
  # /tribunal-mobile — Mobile Code Audit
@@ -9,14 +18,12 @@ $ARGUMENTS
9
18
 
10
19
  ---
11
20
 
12
- ## $CONTEXT_REQUIRED
21
+ ## Mandatory Pre-Flight Context Inspection
13
22
 
14
- ```
15
- Read BEFORE mobile review:
16
- Target component files The mobile code being audited
17
- package.json Verify versions (expo, react-native-reanimated)
18
- □ app.json / app.config.js → Check for correct permissions and plugins
19
- ```
23
+ Before auditing React Native, Expo, or native mobile code, you MUST inspect:
24
+ 1. Native Configuration Manifests (`app.json`, `app.config.js`, `package.json`) → Verify Expo SDK version, Reanimated dependencies, and permissions
25
+ 2. Gesture & 60fps Motion Rules Enforce `react-native-reanimated` worklets on UI thread; ban JavaScript bridge layout thrashing
26
+ 3. 3-Reviewer Mobile Gate Run logic-reviewer, security-auditor, and mobile-reviewer before approving mobile component diffs
20
27
 
21
28
  ---
22
29