tribunal-kit 8.0.0 → 9.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 (258) hide show
  1. package/.agent/ARCHITECTURE.md +2 -2
  2. package/.agent/config/plugin.json +4 -4
  3. package/.agent/config/system-prompt.md +54 -1
  4. package/.agent/routing_index.json +2 -2
  5. package/.agent/skills/12-principles-of-animation/SKILL.md +19 -16
  6. package/.agent/skills/60fps-animation/SKILL.md +47 -21
  7. package/.agent/skills/accessible-animation/SKILL.md +19 -16
  8. package/.agent/skills/adapt/SKILL.md +19 -16
  9. package/.agent/skills/advanced-rag-pipelines/SKILL.md +41 -40
  10. package/.agent/skills/agent-organizer/SKILL.md +9 -59
  11. package/.agent/skills/agentic-patterns/SKILL.md +9 -57
  12. package/.agent/skills/agentic-workflows-2026/SKILL.md +45 -8
  13. package/.agent/skills/ai-app-hardening/SKILL.md +31 -5
  14. package/.agent/skills/ai-prompt-injection-defense/SKILL.md +28 -66
  15. package/.agent/skills/animation-on-scroll/SKILL.md +19 -16
  16. package/.agent/skills/animation-systems/SKILL.md +19 -15
  17. package/.agent/skills/antfu-conventions/SKILL.md +19 -18
  18. package/.agent/skills/api-patterns/SKILL.md +8 -58
  19. package/.agent/skills/api-security-auditor/SKILL.md +8 -58
  20. package/.agent/skills/app-builder/SKILL.md +9 -59
  21. package/.agent/skills/appflow-wireframe/SKILL.md +13 -57
  22. package/.agent/skills/apple-design/SKILL.md +22 -14
  23. package/.agent/skills/architecture/SKILL.md +9 -59
  24. package/.agent/skills/audit-and-fix/SKILL.md +19 -16
  25. package/.agent/skills/authentication-best-practices/SKILL.md +8 -58
  26. package/.agent/skills/backend-security-expert/SKILL.md +32 -65
  27. package/.agent/skills/baseline-ui/SKILL.md +22 -14
  28. package/.agent/skills/bash-linux/SKILL.md +9 -59
  29. package/.agent/skills/behavioral-modes/SKILL.md +9 -57
  30. package/.agent/skills/better-colors/SKILL.md +22 -14
  31. package/.agent/skills/better-typography/SKILL.md +26 -14
  32. package/.agent/skills/better-ui/SKILL.md +54 -19
  33. package/.agent/skills/bolder/SKILL.md +19 -16
  34. package/.agent/skills/brainstorming/SKILL.md +9 -57
  35. package/.agent/skills/browser-native-ai/SKILL.md +9 -28
  36. package/.agent/skills/build-primitive/SKILL.md +19 -16
  37. package/.agent/skills/building-native-ui/SKILL.md +9 -59
  38. package/.agent/skills/cicd-pro/SKILL.md +21 -28
  39. package/.agent/skills/clarify/SKILL.md +19 -16
  40. package/.agent/skills/clean-code/SKILL.md +18 -61
  41. package/.agent/skills/cloud-architect/SKILL.md +21 -28
  42. package/.agent/skills/cobejs/SKILL.md +19 -15
  43. package/.agent/skills/code-review-checklist/SKILL.md +8 -58
  44. package/.agent/skills/codebase-design/SKILL.md +33 -22
  45. package/.agent/skills/colorize/SKILL.md +19 -16
  46. package/.agent/skills/compact-landing/SKILL.md +19 -16
  47. package/.agent/skills/company-logos/SKILL.md +19 -16
  48. package/.agent/skills/config-validator/SKILL.md +9 -59
  49. package/.agent/skills/containerization-pro/SKILL.md +21 -28
  50. package/.agent/skills/context-engineering-pro/SKILL.md +31 -5
  51. package/.agent/skills/create-design-md/SKILL.md +22 -14
  52. package/.agent/skills/critique/SKILL.md +20 -11
  53. package/.agent/skills/csharp-developer/SKILL.md +8 -58
  54. package/.agent/skills/data-validation-schemas/SKILL.md +9 -59
  55. package/.agent/skills/database-design/SKILL.md +27 -67
  56. package/.agent/skills/delight/SKILL.md +19 -16
  57. package/.agent/skills/deployment-procedures/SKILL.md +9 -59
  58. package/.agent/skills/design-lab/SKILL.md +19 -16
  59. package/.agent/skills/devops-engineer/SKILL.md +8 -58
  60. package/.agent/skills/devops-incident-responder/SKILL.md +9 -59
  61. package/.agent/skills/diagnosing-bugs/SKILL.md +20 -21
  62. package/.agent/skills/distill/SKILL.md +19 -16
  63. package/.agent/skills/documentation-templates/SKILL.md +9 -59
  64. package/.agent/skills/domain-modeling/SKILL.md +19 -18
  65. package/.agent/skills/duckdb-analytical-sql/SKILL.md +31 -5
  66. package/.agent/skills/edge-ai-mobile/SKILL.md +31 -5
  67. package/.agent/skills/edge-computing/SKILL.md +9 -59
  68. package/.agent/skills/emil-design-eng/SKILL.md +21 -24
  69. package/.agent/skills/error-resilience/SKILL.md +31 -66
  70. package/.agent/skills/expo-router-v4/SKILL.md +31 -5
  71. package/.agent/skills/extract-design-system/SKILL.md +9 -59
  72. package/.agent/skills/fabel-protocol/SKILL.md +26 -8
  73. package/.agent/skills/fixing-accessibility/SKILL.md +22 -14
  74. package/.agent/skills/fixing-metadata/SKILL.md +19 -16
  75. package/.agent/skills/fixing-motion-performance/SKILL.md +22 -14
  76. package/.agent/skills/framer-motion-expert/SKILL.md +9 -57
  77. package/.agent/skills/frontend-design/SKILL.md +27 -7
  78. package/.agent/skills/frontend-security-expert/SKILL.md +8 -58
  79. package/.agent/skills/game-design-expert/SKILL.md +9 -59
  80. package/.agent/skills/game-engineering-expert/SKILL.md +9 -59
  81. package/.agent/skills/generative-ui-expert/SKILL.md +9 -28
  82. package/.agent/skills/geo-fundamentals/SKILL.md +9 -59
  83. package/.agent/skills/git-pro/SKILL.md +19 -30
  84. package/.agent/skills/github-operations/SKILL.md +8 -58
  85. package/.agent/skills/gpt-taste/SKILL.md +19 -16
  86. package/.agent/skills/gsap-core/SKILL.md +8 -78
  87. package/.agent/skills/gsap-frameworks/SKILL.md +8 -78
  88. package/.agent/skills/gsap-performance/SKILL.md +9 -77
  89. package/.agent/skills/gsap-plugins/SKILL.md +9 -77
  90. package/.agent/skills/gsap-react/SKILL.md +9 -21
  91. package/.agent/skills/gsap-scrolltrigger/SKILL.md +8 -78
  92. package/.agent/skills/gsap-timeline/SKILL.md +9 -77
  93. package/.agent/skills/gsap-utils/SKILL.md +9 -77
  94. package/.agent/skills/harden/SKILL.md +19 -16
  95. package/.agent/skills/harness-protocol/SKILL.md +9 -21
  96. package/.agent/skills/i18n-localization/SKILL.md +9 -59
  97. package/.agent/skills/impeccable/SKILL.md +19 -18
  98. package/.agent/skills/improve-codebase-architecture/SKILL.md +19 -17
  99. package/.agent/skills/improve-ui/SKILL.md +22 -14
  100. package/.agent/skills/intelligent-routing/SKILL.md +9 -23
  101. package/.agent/skills/knowledge-graph/SKILL.md +9 -21
  102. package/.agent/skills/landing-page/SKILL.md +19 -16
  103. package/.agent/skills/lint-and-validate/SKILL.md +9 -59
  104. package/.agent/skills/llm-engineering/SKILL.md +8 -58
  105. package/.agent/skills/local-first/SKILL.md +9 -59
  106. package/.agent/skills/local-first-architecture/SKILL.md +37 -20
  107. package/.agent/skills/lottie-animation/SKILL.md +19 -15
  108. package/.agent/skills/marquee-loop/SKILL.md +19 -16
  109. package/.agent/skills/masked-reveal/SKILL.md +19 -15
  110. package/.agent/skills/mcp-builder/SKILL.md +9 -59
  111. package/.agent/skills/micro-interaction/SKILL.md +19 -16
  112. package/.agent/skills/mobile-design/SKILL.md +8 -58
  113. package/.agent/skills/monorepo-management/SKILL.md +9 -59
  114. package/.agent/skills/morphing-icons/SKILL.md +19 -15
  115. package/.agent/skills/motion-engineering/SKILL.md +22 -15
  116. package/.agent/skills/nextjs-react-expert/SKILL.md +35 -67
  117. package/.agent/skills/nodejs-best-practices/SKILL.md +34 -61
  118. package/.agent/skills/observability/SKILL.md +8 -58
  119. package/.agent/skills/opentelemetry-observability/SKILL.md +31 -5
  120. package/.agent/skills/page-transition-animation/SKILL.md +19 -16
  121. package/.agent/skills/parallel-agents/SKILL.md +9 -59
  122. package/.agent/skills/performance-profiling/SKILL.md +8 -58
  123. package/.agent/skills/plan-writing/SKILL.md +36 -69
  124. package/.agent/skills/platform-engineer/SKILL.md +9 -59
  125. package/.agent/skills/platform-engineering-opentofu/SKILL.md +31 -5
  126. package/.agent/skills/playwright-ai-e2e/SKILL.md +31 -5
  127. package/.agent/skills/playwright-best-practices/SKILL.md +9 -59
  128. package/.agent/skills/polish/SKILL.md +19 -16
  129. package/.agent/skills/powershell-windows/SKILL.md +8 -58
  130. package/.agent/skills/pricing-page/SKILL.md +19 -16
  131. package/.agent/skills/product-aware-heuristics/SKILL.md +27 -8
  132. package/.agent/skills/progressive-blur/SKILL.md +19 -16
  133. package/.agent/skills/project-idioms/SKILL.md +9 -59
  134. package/.agent/skills/property-based-testing/SKILL.md +31 -5
  135. package/.agent/skills/python-patterns/SKILL.md +9 -59
  136. package/.agent/skills/python-pro/SKILL.md +35 -67
  137. package/.agent/skills/quieter/SKILL.md +19 -16
  138. package/.agent/skills/react-doctor/SKILL.md +19 -16
  139. package/.agent/skills/react-specialist/SKILL.md +26 -65
  140. package/.agent/skills/readme-builder/SKILL.md +9 -59
  141. package/.agent/skills/realtime-patterns/SKILL.md +8 -58
  142. package/.agent/skills/red-team-tactics/SKILL.md +9 -59
  143. package/.agent/skills/redesign-skill/SKILL.md +19 -16
  144. package/.agent/skills/review-animations/SKILL.md +21 -25
  145. package/.agent/skills/rust-pro/SKILL.md +30 -61
  146. package/.agent/skills/seo-fundamentals/SKILL.md +9 -59
  147. package/.agent/skills/server-management/SKILL.md +9 -59
  148. package/.agent/skills/shadcn-ui-expert/SKILL.md +9 -59
  149. package/.agent/skills/shape/SKILL.md +19 -16
  150. package/.agent/skills/skill-creator/SKILL.md +36 -86
  151. package/.agent/skills/soft-skill/SKILL.md +19 -16
  152. package/.agent/skills/sounds-on-the-web/SKILL.md +19 -16
  153. package/.agent/skills/sql-pro/SKILL.md +47 -62
  154. package/.agent/skills/supabase-postgres-best-practices/SKILL.md +9 -59
  155. package/.agent/skills/svg-animation/SKILL.md +19 -15
  156. package/.agent/skills/swiftui-expert/SKILL.md +9 -59
  157. package/.agent/skills/swiss-design/SKILL.md +19 -16
  158. package/.agent/skills/system-design-pro/SKILL.md +21 -26
  159. package/.agent/skills/systematic-debugging/SKILL.md +19 -60
  160. package/.agent/skills/systematic-debugging/condition-based-waiting.md +115 -0
  161. package/.agent/skills/systematic-debugging/defense-in-depth.md +122 -0
  162. package/.agent/skills/systematic-debugging/root-cause-tracing.md +169 -0
  163. package/.agent/skills/tailwind-patterns/SKILL.md +8 -58
  164. package/.agent/skills/taste-skill/SKILL.md +19 -16
  165. package/.agent/skills/tdd-workflow/SKILL.md +65 -25
  166. package/.agent/skills/test-result-analyzer/SKILL.md +9 -59
  167. package/.agent/skills/testing-patterns/SKILL.md +8 -58
  168. package/.agent/skills/thermo-nuclear-code-quality-review/SKILL.md +19 -18
  169. package/.agent/skills/thinking-protocol/SKILL.md +33 -2
  170. package/.agent/skills/to-spring-or-not-to-spring/SKILL.md +19 -15
  171. package/.agent/skills/transitions-dev/SKILL.md +19 -15
  172. package/.agent/skills/trend-researcher/SKILL.md +9 -59
  173. package/.agent/skills/typescript-advanced/SKILL.md +21 -64
  174. package/.agent/skills/typeset/SKILL.md +19 -16
  175. package/.agent/skills/ui-reasoning-engine/SKILL.md +27 -8
  176. package/.agent/skills/ui-skill-packs/SKILL.md +26 -16
  177. package/.agent/skills/ui-skills-root/SKILL.md +22 -14
  178. package/.agent/skills/ui-ux-pro-max/SKILL.md +38 -12
  179. package/.agent/skills/ui-ux-researcher/SKILL.md +9 -59
  180. package/.agent/skills/vector-search-pgvector/SKILL.md +31 -5
  181. package/.agent/skills/verification-before-completion/SKILL.md +125 -0
  182. package/.agent/skills/vue-expert/SKILL.md +9 -57
  183. package/.agent/skills/vulnerability-scanner/SKILL.md +8 -58
  184. package/.agent/skills/web-accessibility-auditor/SKILL.md +9 -59
  185. package/.agent/skills/web-design-guidelines/SKILL.md +27 -7
  186. package/.agent/skills/web-quality-audit/SKILL.md +19 -16
  187. package/.agent/skills/webapp-testing/SKILL.md +9 -59
  188. package/.agent/skills/webgpu-performance/SKILL.md +9 -28
  189. package/.agent/skills/whimsy-injector/SKILL.md +9 -57
  190. package/.agent/skills/workflow-optimizer/SKILL.md +9 -57
  191. package/.agent/skills/zero-trust-passkeys/SKILL.md +31 -5
  192. package/.agent/templates/DESIGN.md +680 -160
  193. package/.agent/templates/sdd/implementer-prompt.md +53 -0
  194. package/.agent/templates/sdd/re-review-prompt.md +28 -0
  195. package/.agent/templates/sdd/task-reviewer-prompt.md +59 -0
  196. package/.agent/workflows/acf.md +4 -0
  197. package/.agent/workflows/api-tester.md +5 -0
  198. package/.agent/workflows/audit.md +5 -0
  199. package/.agent/workflows/brainstorm.md +17 -1
  200. package/.agent/workflows/changelog.md +5 -0
  201. package/.agent/workflows/contract.md +19 -0
  202. package/.agent/workflows/create.md +6 -1
  203. package/.agent/workflows/debug.md +5 -0
  204. package/.agent/workflows/deploy.md +6 -1
  205. package/.agent/workflows/enhance.md +6 -1
  206. package/.agent/workflows/fix-ci.md +5 -0
  207. package/.agent/workflows/fix.md +5 -0
  208. package/.agent/workflows/generate.md +5 -0
  209. package/.agent/workflows/marathon.md +6 -1
  210. package/.agent/workflows/migrate.md +5 -0
  211. package/.agent/workflows/minimal.md +4 -0
  212. package/.agent/workflows/orchestrate.md +6 -1
  213. package/.agent/workflows/performance-benchmarker.md +6 -1
  214. package/.agent/workflows/pipeline.md +5 -0
  215. package/.agent/workflows/plan.md +6 -1
  216. package/.agent/workflows/preview.md +6 -1
  217. package/.agent/workflows/refactor.md +6 -0
  218. package/.agent/workflows/review-ai.md +5 -0
  219. package/.agent/workflows/review.md +5 -0
  220. package/.agent/workflows/sdd.md +122 -0
  221. package/.agent/workflows/session.md +5 -0
  222. package/.agent/workflows/status.md +4 -0
  223. package/.agent/workflows/super-prompt.md +4 -0
  224. package/.agent/workflows/swarm.md +6 -1
  225. package/.agent/workflows/test.md +6 -1
  226. package/.agent/workflows/tribunal-backend.md +5 -0
  227. package/.agent/workflows/tribunal-cicd.md +5 -0
  228. package/.agent/workflows/tribunal-database.md +5 -0
  229. package/.agent/workflows/tribunal-full.md +8 -0
  230. package/.agent/workflows/tribunal-mobile.md +5 -0
  231. package/.agent/workflows/tribunal-performance.md +5 -0
  232. package/.agent/workflows/tribunal-speed.md +5 -0
  233. package/.agent/workflows/tribunal-ui.md +7 -0
  234. package/.agents/plugins/marketplace.json +20 -0
  235. package/.claude-plugin/marketplace.json +17 -0
  236. package/.claude-plugin/plugin.json +26 -0
  237. package/.codex-plugin/plugin.json +45 -0
  238. package/.cursor-plugin/plugin.json +26 -0
  239. package/.devin-plugin/plugin.json +14 -0
  240. package/.hermes-plugin/__init__.py +102 -0
  241. package/.hermes-plugin/plugin.yaml +6 -0
  242. package/.kimi-plugin/plugin.json +38 -0
  243. package/.opencode/INSTALL.md +41 -0
  244. package/.opencode/plugins/tribunal.js +101 -0
  245. package/.pi/extensions/tribunal.ts +133 -0
  246. package/CONTRIBUTING.md +1 -1
  247. package/README.md +246 -221
  248. package/bin/wrapper.js +1 -0
  249. package/dist/cli.js +355 -355
  250. package/dist/esm/index.mjs +142 -142
  251. package/dist/index.d.ts +349 -343
  252. package/gemini-extension.json +6 -0
  253. package/hooks/hooks-cursor.json +16 -0
  254. package/hooks/hooks.json +16 -0
  255. package/hooks/session-start.js +77 -0
  256. package/package.json +165 -146
  257. package/scripts/audit_skill_sdo.js +87 -0
  258. package/scripts/modernize_skills.js +254 -0
@@ -0,0 +1,53 @@
1
+ # Implementer Subagent Prompt Template
2
+
3
+ Use this template when dispatching an implementer subagent under Tribunal-Kit Subagent-Driven Development (SDD).
4
+
5
+ ```
6
+ Subagent (general-purpose):
7
+ description: "Implement Task N: [task name]"
8
+ model: [MODEL — REQUIRED: Fast/cheap for mechanical tasks; standard for integration]
9
+ prompt: |
10
+ You are implementing Task N: [task name] under Tribunal-Kit Subagent-Driven Development.
11
+
12
+ ## Task Description
13
+ Read your task brief first: [BRIEF_FILE]
14
+ It contains the exact task requirements sliced out-of-band from the implementation plan.
15
+
16
+ ## Scene Setting & Context
17
+ [Scene-setting: where this fits in the architecture, dependencies, Global Constraints]
18
+
19
+ ## The Iron Law of TDD (Non-Negotiable)
20
+ NO PRODUCTION CODE WITHOUT A FAILING TEST FIRST.
21
+ If you write production code before the test, you must DELETE it and start over.
22
+ 1. Write the failing behavioral test for the requirement.
23
+ 2. Run the test and verify it FAILS for the expected reason (RED).
24
+ 3. Write the minimal production code to satisfy the test (GREEN).
25
+ 4. Run the test and verify it PASSES.
26
+ 5. Clean up logic while keeping tests passing (REFACTOR).
27
+
28
+ ## You Do Not Dispatch Subagents
29
+ Do all of this task's work yourself. Never spawn a helper subagent and NEVER spawn
30
+ a reviewer to check your work. Review is handled out-of-band by the Controller's
31
+ Tribunal Reviewer Wave after you submit your report.
32
+
33
+ ## Zero Placeholders
34
+ Never use "TODO", "TBD", "implement later", or omit error handling. Write full,
35
+ production-ready implementations.
36
+
37
+ ## Reporting Back
38
+ Write your full report to [REPORT_FILE]:
39
+ - What you implemented
40
+ - What tests you ran and passing output
41
+ - TDD Evidence:
42
+ - RED: command run, expected failure output
43
+ - GREEN: command run, passing output
44
+ - Files changed & commits created
45
+ - Concerns, if any
46
+
47
+ Then reply to the Controller with ONLY a short summary (<15 lines):
48
+ - Status: DONE | DONE_WITH_CONCERNS | BLOCKED | NEEDS_CONTEXT
49
+ - Commits created (short SHA + message)
50
+ - One-line test summary (e.g. "12/12 passing, pristine output")
51
+ - Concerns (if any)
52
+ - Path to report file
53
+ ```
@@ -0,0 +1,28 @@
1
+ # Scoped Re-Review Prompt Template
2
+
3
+ Use this template when re-evaluating a task fix round after the implementer addresses prior reviewer findings.
4
+
5
+ ```
6
+ Subagent (general-purpose):
7
+ description: "Scoped Re-Review Task N Fixes"
8
+ model: [MODEL — REQUIRED: Cheap/fast for mechanical fixes; mid-tier for complex logic]
9
+ prompt: |
10
+ You are performing a scoped re-review of fixes applied for Task N.
11
+
12
+ ## Open Findings from Prior Review
13
+ [PRIOR_FINDINGS_LIST]
14
+
15
+ ## Fix Diff Under Review
16
+ Fix Diff Package: [FIX_DIFF_FILE]
17
+ Implementer Fix Report: [FIX_REPORT_FILE]
18
+
19
+ ## Your Job
20
+ Verify whether the specific open findings have been properly addressed:
21
+ 1. Are all Critical and Important issues resolved cleanly?
22
+ 2. Did the fixes introduce any new regressions or syntax errors?
23
+ 3. Do the updated tests verify the fix?
24
+
25
+ ## Verdict Format
26
+ - [✅ ALL FINDINGS RESOLVED | ❌ RESIDUAL FINDINGS REMAIN]
27
+ - Status for each finding: [Fixed | Incomplete | Unaddressed] (with file:line)
28
+ ```
@@ -0,0 +1,59 @@
1
+ # Tribunal Task Reviewer Prompt Template
2
+
3
+ Use this template when dispatching an out-of-band task reviewer subagent under Tribunal-Kit SDD.
4
+
5
+ ```
6
+ Subagent (general-purpose):
7
+ description: "Review Task N (Spec Compliance + Code Quality)"
8
+ model: [MODEL — REQUIRED: Choose per task complexity]
9
+ prompt: |
10
+ You are a Tribunal Reviewer evaluating Task N's implementation out-of-band.
11
+ Your evaluation is read-only. Do not mutate the repository.
12
+
13
+ ## Context & Requirements
14
+ Task Brief: [BRIEF_FILE]
15
+ Global Constraints: [GLOBAL_CONSTRAINTS]
16
+ Implementer Claims: [REPORT_FILE]
17
+
18
+ ## Diff Under Review
19
+ Base: [BASE_SHA]
20
+ Head: [HEAD_SHA]
21
+ Diff Package: [DIFF_FILE]
22
+
23
+ Read [DIFF_FILE] once. It contains the commit list, stat summary, and full diff
24
+ with context lines. The diff context lines ARE the files—do not crawl the broader
25
+ codebase unless evaluating a specific named architectural risk.
26
+
27
+ ## Verification Strategy
28
+ Do NOT trust the implementer's report as facts. Compare the claims against the diff.
29
+ Do NOT blindly re-run the full test suite—inspect the implementer's reported TDD evidence.
30
+
31
+ ## Part 1: Spec Compliance
32
+ - Missing: What requirements were skipped or missed?
33
+ - Extra: Unrequested features or over-engineering (YAGNI violations)?
34
+ - Misunderstood: Right feature built the wrong way?
35
+
36
+ ## Part 2: Code Quality & Tribunal Standards
37
+ - Security: Parameterized queries, auth checks, input sanitization?
38
+ - Type Safety: Clean types, zero unexplained 'any' casts?
39
+ - Error Resilience: Proper error boundaries and failure handling?
40
+ - Modularity: Clear single-responsibility boundaries?
41
+ - Tests: Behavioral assertions verifying real logic, not shallow mocks?
42
+
43
+ ## Calibration
44
+ - Critical (Must Fix): Functional bugs, security vulnerabilities, broken builds, test gaps.
45
+ - Important (Should Fix): Fragile patterns, missed non-critical requirements, duplication.
46
+ - Minor (Nice to Have): Polish, cosmetic naming, documentation comments.
47
+
48
+ ## Output Verdict Format
49
+ ### Spec Compliance
50
+ - [✅ Spec Compliant | ❌ Issues Found] (with file:line citations)
51
+
52
+ ### Issues Found
53
+ #### Critical (Must Fix)
54
+ #### Important (Should Fix)
55
+ #### Minor (Nice to Have)
56
+
57
+ ### Verdict
58
+ [APPROVED | CHANGES_REQUIRED]
59
+ ```
@@ -24,6 +24,10 @@ Before distilling markdown specs into `.acf` YAML files, you MUST inspect:
24
24
  2. Existing Context Registry (`context/*.acf`) → Check target directory to prevent duplicate context creation
25
25
  3. YAML Schema Strictness → Validate output against ACF schema (rules, constraints, tech-stack, boundaries) before writing to disk
26
26
 
27
+ 4. Required Skills → Before executing, load and follow procedural rules from:
28
+ - `clean-code` (.agent/skills/clean-code/SKILL.md): Self-documenting naming, no over-engineering, error handling patterns
29
+ - `documentation-templates` (.agent/skills/documentation-templates/SKILL.md): README, API docs, code comments, and AI-friendly documentation
30
+
27
31
  ---
28
32
 
29
33
  ## When to Use /acf
@@ -26,6 +26,11 @@ Before running automated API endpoint tests or auth-aware request sequences, you
26
26
  2. Test Server URL & Credentials (`.env.test`) → Verify base URL and test token environment variables
27
27
  3. Multi-Stage Request Sequence → Enforce sequential execution: Auth Login → Token Capture → CRUD Operations → Error Edge Case Verification
28
28
 
29
+ 4. Required Skills → Before executing, load and follow procedural rules from:
30
+ - `testing-patterns` (.agent/skills/testing-patterns/SKILL.md): Testing Trophy strategy (unit → integration → E2E)
31
+ - `api-patterns` (.agent/skills/api-patterns/SKILL.md): REST/GraphQL API design, versioning, and error contracts
32
+ - `backend-security-expert` (.agent/skills/backend-security-expert/SKILL.md): Server-side security, auth, JWT, ORM injection, RBAC
33
+
29
34
  ---
30
35
 
31
36
  ## When to Use /api-tester
@@ -30,6 +30,11 @@ Before triggering a full project audit, you MUST inspect:
30
30
  2. Executable Scripts Inventory (`.agent/scripts/`) → Verify presence of `security_scan.js`, `lint_runner.js`, and `test_runner.js`
31
31
  3. Pipeline Execution Constraints → Confirm fixed execution order (Security → Dependencies → Type Check → Lint → Schema → Tests → Bundle) and HALT rules on critical CVE findings
32
32
 
33
+ 4. Required Skills → Before executing, load and follow procedural rules from:
34
+ - `vulnerability-scanner` (.agent/skills/vulnerability-scanner/SKILL.md): OWASP vulnerability scanning patterns and severity classification
35
+ - `clean-code` (.agent/skills/clean-code/SKILL.md): Self-documenting naming, no over-engineering, error handling patterns
36
+ - `code-review-checklist` (.agent/skills/code-review-checklist/SKILL.md): Code quality, security, and best practice review gates
37
+
33
38
  ---
34
39
 
35
40
  ## When to Use /audit
@@ -6,7 +6,7 @@ last-updated: 2026-07-30
6
6
  required-skills:
7
7
  - brainstorming
8
8
  - shape
9
- - project-planner
9
+ - plan-writing
10
10
  scripts-binding:
11
11
  - .agent/scripts/verify_all.js
12
12
  ---
@@ -25,6 +25,22 @@ Before generating options or conducting Socratic architectural exploration, you
25
25
  2. Workspace File Layout → Understand current module scale and project structure before proposing architectural shifts
26
26
  3. Pure Exploration Constraint → Enforce zero code edits or file creation during brainstorm phase; restrict output to options, tradeoffs, and recommendations
27
27
 
28
+ 4. Required Skills → Before executing, load and follow procedural rules from:
29
+ - `brainstorming` (.agent/skills/brainstorming/SKILL.md): Structured ideation and option exploration methodology
30
+ - `shape` (.agent/skills/shape/SKILL.md): Socratic UX interview and feature planning before implementation
31
+ - `plan-writing` (.agent/skills/plan-writing/SKILL.md): Implementation plan structure, phases, and approval gates
32
+
33
+ ---
34
+
35
+ ## Path Classification (Announce First)
36
+
37
+ Before asking questions, classify the request path out loud so the user can override:
38
+ - **Spike:** A quick feasibility probe ("is it possible...", "quick prototype"). Output is a recommendation; any code written is strictly throwaway.
39
+ - **Bounded:** A well-scoped change to existing code in this repository (one small endpoint, a new flag). Present short design in chat and get explicit human approval before any implementation.
40
+ - **Architectural:** New feature, new subsystem, or interface change. Full process: clarifying questions, 2-3 approaches, written spec committed to `docs/specs/YYYY-MM-DD-<topic>-design.md`, human approval gate, then `/plan-writing` or `/sdd`.
41
+
42
+ > **One-Way Ratchet:** When in doubt, take the heavier path. If hidden complexity is discovered mid-task, upgrade the path immediately. Never downgrade mid-task.
43
+
28
44
  ---
29
45
 
30
46
  ## When to Use /brainstorm
@@ -25,6 +25,11 @@ Before generating changelogs or parsing git history, you MUST inspect:
25
25
  2. Package Manifest & Version (`package.json`) → Retrieve current release version and target release tag
26
26
  3. Keep a Changelog Formatting Standard → Enforce categories: Added, Changed, Deprecated, Removed, Fixed, Security
27
27
 
28
+ 4. Required Skills → Before executing, load and follow procedural rules from:
29
+ - `github-operations` (.agent/skills/github-operations/SKILL.md): Git workflows, branching strategies, and PR management
30
+ - `git-pro` (.agent/skills/git-pro/SKILL.md): Advanced git operations, rebasing, cherry-picking
31
+ - `readme-builder` (.agent/skills/readme-builder/SKILL.md): README generation and documentation structure
32
+
28
33
  ---
29
34
 
30
35
  ## When to Use /changelog
@@ -1,3 +1,17 @@
1
+ ---
2
+ description: AI Agent Behavioral Contract Testing & Trace Replay. Define, validate, and enforce team behavioral rules as YAML contracts. Provides init, verify, list, trace, and auto-generate from Case Law.
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
+ - code-review-checklist
9
+ - data-validation-schemas
10
+ scripts-binding:
11
+ - .agent/scripts/security_scan.js
12
+ - .agent/scripts/lint_runner.js
13
+ ---
14
+
1
15
  # /contract — AI Agent Behavioral Contract Testing & Trace Replay
2
16
 
3
17
  $ARGUMENTS
@@ -12,6 +26,11 @@ Before running behavioral contract validation, inspect:
12
26
  2. Target File Scope → Determine modified or targeted files for contract validation
13
27
  3. Failure Context Snapshots (`.tribunal/traces/`) → Check past captured trace snapshots for context
14
28
 
29
+ 4. Required Skills → Before executing, load and follow procedural rules from:
30
+ - `clean-code` (.agent/skills/clean-code/SKILL.md): Self-documenting naming, no over-engineering, error handling patterns
31
+ - `code-review-checklist` (.agent/skills/code-review-checklist/SKILL.md): Code quality, security, and best practice review gates
32
+ - `data-validation-schemas` (.agent/skills/data-validation-schemas/SKILL.md): Zod, Pydantic, and input validation schema patterns
33
+
15
34
  ---
16
35
 
17
36
  ## When to Use /contract
@@ -6,7 +6,7 @@ last-updated: 2026-07-30
6
6
  required-skills:
7
7
  - app-builder
8
8
  - architecture
9
- - project-planner
9
+ - codebase-design
10
10
  scripts-binding:
11
11
  - .agent/scripts/auto_preview.js
12
12
  - .agent/scripts/verify_all.js
@@ -27,6 +27,11 @@ Before scaffolding a new application, you MUST inspect:
27
27
  2. Runtime & Environment Context → Check Node/npm version and inspect `.env.example` if available
28
28
  3. Human Gate Before Disk Modification → Enforce explicit approval of Socratic requirements, stack selection, and scaffolding plan before creating any files
29
29
 
30
+ 4. Required Skills → Before executing, load and follow procedural rules from:
31
+ - `app-builder` (.agent/skills/app-builder/SKILL.md): Full-stack application scaffolding and creation orchestration
32
+ - `architecture` (.agent/skills/architecture/SKILL.md): System architecture, module boundaries, and dependency management
33
+ - `codebase-design` (.agent/skills/codebase-design/SKILL.md): Deep module design with small interfaces and clean seams
34
+
30
35
  ---
31
36
 
32
37
  ## When to Use /create
@@ -26,6 +26,11 @@ Before investigating or attempting any code modification during a bug report, yo
26
26
  2. Target File & Callers → Inspect file referenced in error trace along with its upstream callers
27
27
  3. Recent Changes (`git diff`) → Inspect recent edits to identify regressions before mutating code
28
28
 
29
+ 4. Required Skills → Before executing, load and follow procedural rules from:
30
+ - `systematic-debugging` (.agent/skills/systematic-debugging/SKILL.md): 4-phase debugging methodology (Collect → Hypothesize → Test → Fix)
31
+ - `test-result-analyzer` (.agent/skills/test-result-analyzer/SKILL.md): Root cause analysis across multiple failing test files
32
+ - `clean-code` (.agent/skills/clean-code/SKILL.md): Self-documenting naming, no over-engineering, error handling patterns
33
+
29
34
  ---
30
35
 
31
36
  ## The Investigation Contract
@@ -6,7 +6,7 @@ last-updated: 2026-07-30
6
6
  required-skills:
7
7
  - deployment-procedures
8
8
  - devops-engineer
9
- - verify_all
9
+ - containerization-pro
10
10
  scripts-binding:
11
11
  - .agent/scripts/verify_all.js
12
12
  - .agent/scripts/security_scan.js
@@ -27,6 +27,11 @@ Before triggering production deployment or executing deploy scripts, you MUST in
27
27
  2. CI/CD Manifests (`.github/workflows`, `fly.toml`, `render.yaml`, etc.) → Check deployment targets and environment variable requirements
28
28
  3. Human Gate & Rollback Baseline → Confirm baseline git tag/commit and secure explicit human approval before publishing release
29
29
 
30
+ 4. Required Skills → Before executing, load and follow procedural rules from:
31
+ - `deployment-procedures` (.agent/skills/deployment-procedures/SKILL.md): Production deployment checklists and rollback procedures
32
+ - `devops-engineer` (.agent/skills/devops-engineer/SKILL.md): CI/CD pipeline management and infrastructure automation
33
+ - `containerization-pro` (.agent/skills/containerization-pro/SKILL.md): Docker, Kubernetes, and container security best practices
34
+
30
35
  ---
31
36
 
32
37
  ## The Deployment Contract
@@ -6,7 +6,7 @@ last-updated: 2026-07-30
6
6
  required-skills:
7
7
  - clean-code
8
8
  - codebase-design
9
- - test-engineer
9
+ - testing-patterns
10
10
  scripts-binding:
11
11
  - .agent/scripts/lint_runner.js
12
12
  - .agent/scripts/test_runner.js
@@ -26,6 +26,11 @@ Before modifying existing features or appending functionality, you MUST inspect:
26
26
  2. Existing Contract & Unit Tests → Inspect existing tests and type signatures for the target module to prevent regression
27
27
  3. Breaking Change Detection → Ensure signature changes update all dependent call sites simultaneously before writing to disk
28
28
 
29
+ 4. Required Skills → Before executing, load and follow procedural rules from:
30
+ - `clean-code` (.agent/skills/clean-code/SKILL.md): Self-documenting naming, no over-engineering, error handling patterns
31
+ - `codebase-design` (.agent/skills/codebase-design/SKILL.md): Deep module design with small interfaces and clean seams
32
+ - `testing-patterns` (.agent/skills/testing-patterns/SKILL.md): Testing Trophy strategy (unit → integration → E2E)
33
+
29
34
  ---
30
35
 
31
36
  ## When to Use /enhance
@@ -27,6 +27,11 @@ Before attempting to fix CI pipeline failures:
27
27
  2. Inspect Workflow YAML & Project Configs → Compare runner environment (Node/Python/OS version) with local workspace
28
28
  3. Human Gate Before Disk Write → Present root cause explanation and proposed diff for approval
29
29
 
30
+ 4. Required Skills → Before executing, load and follow procedural rules from:
31
+ - `cicd-pro` (.agent/skills/cicd-pro/SKILL.md): CI/CD workflow syntax, matrix builds, and deployment strategies
32
+ - `diagnosing-bugs` (.agent/skills/diagnosing-bugs/SKILL.md): Bug diagnosis patterns and root cause investigation
33
+ - `devops-engineer` (.agent/skills/devops-engineer/SKILL.md): CI/CD pipeline management and infrastructure automation
34
+
30
35
  ---
31
36
 
32
37
  ## 4-Step CI Diagnosis & Repair Loop
@@ -26,6 +26,11 @@ Before executing auto-fixers or modifying code files to resolve lint/type issues
26
26
  2. Target File Lint Output → Execute `node .agent/scripts/lint_runner.js` to gather precise error line numbers and rule IDs
27
27
  3. Diff Verification Before Disk Write → Show explicit diff of proposed changes and confirm Human Gate approval before saving
28
28
 
29
+ 4. Required Skills → Before executing, load and follow procedural rules from:
30
+ - `lint-and-validate` (.agent/skills/lint-and-validate/SKILL.md): ESLint, Prettier, and code quality enforcement rules
31
+ - `clean-code` (.agent/skills/clean-code/SKILL.md): Self-documenting naming, no over-engineering, error handling patterns
32
+ - `typescript-advanced` (.agent/skills/typescript-advanced/SKILL.md): TypeScript strict mode, generics, utility types, and type narrowing
33
+
29
34
  ---
30
35
 
31
36
  ## When to Use /fix
@@ -27,6 +27,11 @@ Before generating code modules or invoking the Maker pipeline, you MUST inspect:
27
27
  2. Type Definitions & Path Aliases (`tsconfig.json`) → Verify module resolution paths and compiler strictness
28
28
  3. Parallel Tribunal Review Assignment → Select relevant domain reviewers (`logic`, `security`, `frontend`, `backend`, `database`, `mobile`) prior to Human Gate submission
29
29
 
30
+ 4. Required Skills → Before executing, load and follow procedural rules from:
31
+ - `clean-code` (.agent/skills/clean-code/SKILL.md): Self-documenting naming, no over-engineering, error handling patterns
32
+ - `codebase-design` (.agent/skills/codebase-design/SKILL.md): Deep module design with small interfaces and clean seams
33
+ - `lint-and-validate` (.agent/skills/lint-and-validate/SKILL.md): ESLint, Prettier, and code quality enforcement rules
34
+
30
35
  ---
31
36
 
32
37
  ## When to Use /generate
@@ -6,7 +6,7 @@ last-updated: 2026-07-30
6
6
  required-skills:
7
7
  - harness-protocol
8
8
  - agent-organizer
9
- - project-planner
9
+ - agentic-workflows-2026
10
10
  scripts-binding:
11
11
  - .agent/scripts/session_manager.js
12
12
  - .agent/scripts/verify_all.js
@@ -26,6 +26,11 @@ Before initiating or resuming a multi-session marathon harness, you MUST inspect
26
26
  2. Session Continuity Manager (`.agent/scripts/session_manager.js`) → Verify state snapshot before context truncation
27
27
  3. Atomic Feature Handoff Protocol → Ensure each session completes exactly ONE atomic feature, runs `verify_all.js`, and commits state before handoff
28
28
 
29
+ 4. Required Skills → Before executing, load and follow procedural rules from:
30
+ - `harness-protocol` (.agent/skills/harness-protocol/SKILL.md): Marathon long-running agent harness rules and handoff protocols
31
+ - `agent-organizer` (.agent/skills/agent-organizer/SKILL.md): Multi-agent coordination and task decomposition
32
+ - `agentic-workflows-2026` (.agent/skills/agentic-workflows-2026/SKILL.md): Advanced agent loops, ReAct planning, and structured tool calling
33
+
29
34
  ---
30
35
 
31
36
  ## When to Use /marathon
@@ -27,6 +27,11 @@ Before running framework upgrades, major dependency bumps, or database migration
27
27
  2. Database Expand-and-Contract Plan (`schema_validator.js`) → Ensure database column changes add new fields before dropping old ones
28
28
  3. Rollback Protocol Verification → Test local rollback procedure (e.g. SQLite backup or DB transaction revert) before applying migration
29
29
 
30
+ 4. Required Skills → Before executing, load and follow procedural rules from:
31
+ - `plan-writing` (.agent/skills/plan-writing/SKILL.md): Implementation plan structure, phases, and approval gates
32
+ - `architecture` (.agent/skills/architecture/SKILL.md): System architecture, module boundaries, and dependency management
33
+ - `database-design` (.agent/skills/database-design/SKILL.md): Schema normalization, indexing, migration strategy
34
+
30
35
  ---
31
36
 
32
37
  ## When to Use /migrate
@@ -32,6 +32,10 @@ Before proposing any code change, you MUST evaluate the **10 Core Governance Que
32
32
  9. Is the proposed abstraction necessary for the current requirement? (`MODIFY`/`EXTEND`)
33
33
  10. What is the smallest implementation that satisfies the request? (`MODIFY`/`EXTEND` vs `CREATE`)
34
34
 
35
+ 11. Required Skills → Before executing, load and follow procedural rules from:
36
+ - `clean-code` (.agent/skills/clean-code/SKILL.md): Self-documenting naming, no over-engineering, error handling patterns
37
+ - `codebase-design` (.agent/skills/codebase-design/SKILL.md): Deep module design with small interfaces and clean seams
38
+
35
39
  ---
36
40
 
37
41
  ## Sub-Commands
@@ -6,7 +6,7 @@ last-updated: 2026-07-30
6
6
  required-skills:
7
7
  - agent-organizer
8
8
  - parallel-agents
9
- - swarm-dispatcher
9
+ - agentic-patterns
10
10
  scripts-binding:
11
11
  - .agent/scripts/swarm_dispatcher.js
12
12
  - .agent/scripts/verify_all.js
@@ -26,6 +26,11 @@ Before dispatching multi-agent orchestrations or parallel sub-task workers, you
26
26
  2. Context Window Budget Allocation → Provide scoped `context_summary` per worker; ban dumping full conversation history to workers
27
27
  3. Fan-In Synthesis & Human Gate → Collect all worker outputs via `Promise.allSettled()` pattern and present unified synthesis before writing disk changes
28
28
 
29
+ 4. Required Skills → Before executing, load and follow procedural rules from:
30
+ - `agent-organizer` (.agent/skills/agent-organizer/SKILL.md): Multi-agent coordination and task decomposition
31
+ - `parallel-agents` (.agent/skills/parallel-agents/SKILL.md): Parallel agent dispatch patterns and fan-in synthesis
32
+ - `agentic-patterns` (.agent/skills/agentic-patterns/SKILL.md): Agentic design patterns for multi-agent systems
33
+
29
34
  ---
30
35
 
31
36
  ## When to Use /orchestrate
@@ -5,7 +5,7 @@ version: 3.0.0
5
5
  last-updated: 2026-07-30
6
6
  required-skills:
7
7
  - performance-profiling
8
- - vitals-reviewer
8
+ - web-quality-audit
9
9
  - 60fps-animation
10
10
  scripts-binding:
11
11
  - .agent/scripts/bundle_analyzer.js
@@ -26,6 +26,11 @@ Before running performance benchmarks or capturing latency metrics, you MUST ins
26
26
  2. Benchmark Scripts Availability (`.agent/scripts/bundle_analyzer.js`) → Verify automated bundle and latency measurement tooling
27
27
  3. Before/After Metric Recording Constraint → Require side-by-side metric tables (LCP, CLS, INP, TTFB, Bundle Size) for every benchmark pass
28
28
 
29
+ 4. Required Skills → Before executing, load and follow procedural rules from:
30
+ - `performance-profiling` (.agent/skills/performance-profiling/SKILL.md): Performance measurement methodology and profiling tools
31
+ - `web-quality-audit` (.agent/skills/web-quality-audit/SKILL.md): Lighthouse-style analysis across Performance, Accessibility, SEO
32
+ - `60fps-animation` (.agent/skills/60fps-animation/SKILL.md): GPU compositor-friendly properties and layout thrash avoidance
33
+
29
34
  ---
30
35
 
31
36
  ## When to Use /performance-benchmarker
@@ -27,6 +27,11 @@ Before running 3-pass pipeline generation, you MUST inspect:
27
27
  2. Context Token Allocation -> Keep Pass 2 builder prompt under 2,500 tokens (loading max 3 essential skill key-rules)
28
28
  3. Zero-LLM Pass 3 Validator → Run deterministic security, lint, and type checks on generated code prior to Human Gate submission
29
29
 
30
+ 4. Required Skills → Before executing, load and follow procedural rules from:
31
+ - `clean-code` (.agent/skills/clean-code/SKILL.md): Self-documenting naming, no over-engineering, error handling patterns
32
+ - `codebase-design` (.agent/skills/codebase-design/SKILL.md): Deep module design with small interfaces and clean seams
33
+ - `lint-and-validate` (.agent/skills/lint-and-validate/SKILL.md): ESLint, Prettier, and code quality enforcement rules
34
+
30
35
  ## When to Use /pipeline
31
36
 
32
37
  | Use `/pipeline` when... | Use something else when... |
@@ -6,7 +6,7 @@ last-updated: 2026-07-30
6
6
  required-skills:
7
7
  - plan-writing
8
8
  - architecture
9
- - project-planner
9
+ - domain-modeling
10
10
  scripts-binding:
11
11
  - .agent/scripts/verify_all.js
12
12
  ---
@@ -25,6 +25,11 @@ Before drafting implementation plans or technical blueprints, you MUST inspect:
25
25
  2. Existing Architecture & Directory Layout → Review current module boundaries to prevent redundant architectural patterns
26
26
  3. Zero Code Modification Rule → Restrict outputs in `/plan` mode to research, architectural design, and plan artifact generation; ban code generation before Plan approval
27
27
 
28
+ 4. Required Skills → Before executing, load and follow procedural rules from:
29
+ - `plan-writing` (.agent/skills/plan-writing/SKILL.md): Implementation plan structure, phases, and approval gates
30
+ - `architecture` (.agent/skills/architecture/SKILL.md): System architecture, module boundaries, and dependency management
31
+ - `domain-modeling` (.agent/skills/domain-modeling/SKILL.md): Ubiquitous language, entity relationships, bounded contexts
32
+
28
33
  ---
29
34
 
30
35
  ## When to Use /plan
@@ -5,7 +5,7 @@ version: 3.0.0
5
5
  last-updated: 2026-07-30
6
6
  required-skills:
7
7
  - bash-linux
8
- - frontend-specialist
8
+ - nextjs-react-expert
9
9
  - devops-engineer
10
10
  scripts-binding:
11
11
  - .agent/scripts/auto_preview.js
@@ -25,6 +25,11 @@ Before managing dev server lifecycle or starting preview servers, you MUST inspe
25
25
  2. Environment Configuration (`.env`) → Check port bindings and dev server host configs
26
26
  3. Dev Server Lifecycle Script (`.agent/scripts/auto_preview.js`) → Use automated script for process management, port collision detection, and health checks
27
27
 
28
+ 4. Required Skills → Before executing, load and follow procedural rules from:
29
+ - `bash-linux` (.agent/skills/bash-linux/SKILL.md): Shell scripting patterns and command-line automation
30
+ - `nextjs-react-expert` (.agent/skills/nextjs-react-expert/SKILL.md): Next.js 15+ App Router, Server Components, Server Actions, PPR
31
+ - `devops-engineer` (.agent/skills/devops-engineer/SKILL.md): CI/CD pipeline management and infrastructure automation
32
+
28
33
  ---
29
34
 
30
35
  ## Commands
@@ -27,6 +27,12 @@ Before executing structural refactoring or extracting interfaces, you MUST inspe
27
27
  2. Baseline Test Suite Verification (`test_runner.js`) → Ensure all unit and integration tests pass BEFORE initiating refactor steps
28
28
  3. Observable Behavior Preservation → Enforce zero change in public function behavior or API contracts; verify tests pass cleanly after every step
29
29
 
30
+ 4. Required Skills → Before executing, load and follow procedural rules from:
31
+ - `clean-code` (.agent/skills/clean-code/SKILL.md): Self-documenting naming, no over-engineering, error handling patterns
32
+ - `architecture` (.agent/skills/architecture/SKILL.md): System architecture, module boundaries, and dependency management
33
+ - `codebase-design` (.agent/skills/codebase-design/SKILL.md): Deep module design with small interfaces and clean seams
34
+ - `tdd-workflow` (.agent/skills/tdd-workflow/SKILL.md): Red-Green-Refactor TDD cycle and test-first development
35
+
30
36
  ---
31
37
 
32
38
  ## The Refactoring Contract
@@ -26,6 +26,11 @@ Before auditing LLM integrations, prompt templates, or AI API calls, you MUST in
26
26
  2. Prompt Injection Boundary Check → Confirm user inputs are strictly passed via message roles or delimited blocks; ban string concatenation into system prompts
27
27
  3. 3-Reviewer AI Integration Gate → Run ai-code-reviewer, logic-reviewer, and security-auditor before approving AI code diffs
28
28
 
29
+ 4. Required Skills → Before executing, load and follow procedural rules from:
30
+ - `llm-engineering` (.agent/skills/llm-engineering/SKILL.md): LLM integration patterns, prompt engineering, and cost optimization
31
+ - `ai-prompt-injection-defense` (.agent/skills/ai-prompt-injection-defense/SKILL.md): Prompt injection detection and sanitization patterns
32
+ - `generative-ui-expert` (.agent/skills/generative-ui-expert/SKILL.md): Vercel AI SDK, streaming UI, structured tool calling
33
+
29
34
  ---
30
35
 
31
36
  ## When to Use /review-ai
@@ -26,6 +26,11 @@ Before auditing code for hallucinations or structural flaws, you MUST inspect:
26
26
  2. Package Manifest (`package.json`) → Cross-reference imported packages against installed dependencies
27
27
  3. Pure Read-Only Constraint → Prohibit any file mutations or generation; output findings in structured audit tables strictly
28
28
 
29
+ 4. Required Skills → Before executing, load and follow procedural rules from:
30
+ - `code-review-checklist` (.agent/skills/code-review-checklist/SKILL.md): Code quality, security, and best practice review gates
31
+ - `vulnerability-scanner` (.agent/skills/vulnerability-scanner/SKILL.md): OWASP vulnerability scanning patterns and severity classification
32
+ - `clean-code` (.agent/skills/clean-code/SKILL.md): Self-documenting naming, no over-engineering, error handling patterns
33
+
29
34
  ---
30
35
 
31
36
  ## When to Use /review