claude-code-superkit 0.0.0-stage → 1.5.3

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 (353) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +374 -2
  3. package/bin/cli.js +153 -0
  4. package/bin/inject-tokens.js +224 -0
  5. package/bin/measure-tokens.js +17 -0
  6. package/bin/superkit-counts-verify.sh +30 -0
  7. package/lib/codex.js +246 -0
  8. package/lib/docs-scaffold.js +147 -0
  9. package/lib/installer.js +499 -0
  10. package/lib/prompts.js +51 -0
  11. package/lib/settings-builder.js +51 -0
  12. package/lib/superpowers.js +99 -0
  13. package/lib/utils.js +117 -0
  14. package/lib/validator.js +84 -0
  15. package/package.json +49 -4
  16. package/packages/codex/AGENTS.md +396 -0
  17. package/packages/codex/INSTALL.md +342 -0
  18. package/packages/codex/config.toml +22 -0
  19. package/packages/codex/hooks/superkit.mjs +203 -0
  20. package/packages/codex/hooks.json +30 -0
  21. package/packages/codex/legacy-baseline.json +88 -0
  22. package/packages/codex/native-skills.txt +65 -0
  23. package/packages/codex/rules/default.rules +565 -0
  24. package/packages/codex/skills/ai-slop-cleaner/SKILL.md +44 -0
  25. package/packages/codex/skills/api-contract-sync/SKILL.md +96 -0
  26. package/packages/codex/skills/architect/SKILL.md +49 -0
  27. package/packages/codex/skills/audit-backend/SKILL.md +80 -0
  28. package/packages/codex/skills/audit-frontend/SKILL.md +82 -0
  29. package/packages/codex/skills/audit-infra/SKILL.md +87 -0
  30. package/packages/codex/skills/audit-orchestrator/SKILL.md +114 -0
  31. package/packages/codex/skills/behavioral-nudge-engine/SKILL.md +110 -0
  32. package/packages/codex/skills/benchmark/SKILL.md +49 -0
  33. package/packages/codex/skills/bot-reviewer/SKILL.md +94 -0
  34. package/packages/codex/skills/code-reviewer/SKILL.md +67 -0
  35. package/packages/codex/skills/codebase-onboarding-engineer/SKILL.md +46 -0
  36. package/packages/codex/skills/comment-rot-analyzer/SKILL.md +75 -0
  37. package/packages/codex/skills/commit-helper/SKILL.md +101 -0
  38. package/packages/codex/skills/critic/SKILL.md +56 -0
  39. package/packages/codex/skills/database-reviewer/SKILL.md +79 -0
  40. package/packages/codex/skills/debug-observer/SKILL.md +107 -0
  41. package/packages/codex/skills/dependency-checker/SKILL.md +69 -0
  42. package/packages/codex/skills/design-system-reviewer/SKILL.md +121 -0
  43. package/packages/codex/skills/dev-orchestrator/SKILL.md +304 -0
  44. package/packages/codex/skills/docs-reviewer/SKILL.md +86 -0
  45. package/packages/codex/skills/drizzle-orm-expert/SKILL.md +246 -0
  46. package/packages/codex/skills/e2e-test-generator/SKILL.md +95 -0
  47. package/packages/codex/skills/evaluator/SKILL.md +63 -0
  48. package/packages/codex/skills/frontend-perf-reviewer/SKILL.md +95 -0
  49. package/packages/codex/skills/frontend-ui-color-reviewer/SKILL.md +68 -0
  50. package/packages/codex/skills/frontend-ui-design-critic/SKILL.md +99 -0
  51. package/packages/codex/skills/frontend-ui-interaction-reviewer/SKILL.md +102 -0
  52. package/packages/codex/skills/frontend-ui-motion-reviewer/SKILL.md +85 -0
  53. package/packages/codex/skills/frontend-ui-reviewer/SKILL.md +81 -0
  54. package/packages/codex/skills/frontend-ui-typography-reviewer/SKILL.md +62 -0
  55. package/packages/codex/skills/gltf-debugging/SKILL.md +128 -0
  56. package/packages/codex/skills/go-benchmark/SKILL.md +217 -0
  57. package/packages/codex/skills/go-concurrency-reviewer/SKILL.md +113 -0
  58. package/packages/codex/skills/go-error-reviewer/SKILL.md +107 -0
  59. package/packages/codex/skills/go-grpc-patterns/SKILL.md +285 -0
  60. package/packages/codex/skills/go-modernizer/SKILL.md +111 -0
  61. package/packages/codex/skills/go-observability-reviewer/SKILL.md +121 -0
  62. package/packages/codex/skills/go-performance-reviewer/SKILL.md +112 -0
  63. package/packages/codex/skills/go-reviewer/SKILL.md +109 -0
  64. package/packages/codex/skills/go-samber-do/SKILL.md +158 -0
  65. package/packages/codex/skills/go-samber-lo/SKILL.md +178 -0
  66. package/packages/codex/skills/go-samber-oops/SKILL.md +174 -0
  67. package/packages/codex/skills/goal-verifier/SKILL.md +53 -0
  68. package/packages/codex/skills/health-checker/SKILL.md +109 -0
  69. package/packages/codex/skills/html-to-3d-texture/SKILL.md +153 -0
  70. package/packages/codex/skills/impeccable-craft/SKILL.md +101 -0
  71. package/packages/codex/skills/lint-runner/SKILL.md +85 -0
  72. package/packages/codex/skills/migrate/SKILL.md +60 -0
  73. package/packages/codex/skills/migration-reviewer/SKILL.md +88 -0
  74. package/packages/codex/skills/minimal-change-engineer/SKILL.md +44 -0
  75. package/packages/codex/skills/new-migration/SKILL.md +59 -0
  76. package/packages/codex/skills/nextjs-supabase-auth/SKILL.md +227 -0
  77. package/packages/codex/skills/output-enforcement/SKILL.md +71 -0
  78. package/packages/codex/skills/plan-checker/SKILL.md +53 -0
  79. package/packages/codex/skills/postgresql-optimization/SKILL.md +159 -0
  80. package/packages/codex/skills/pre-deploy-validator/SKILL.md +111 -0
  81. package/packages/codex/skills/presentation-reviewer/SKILL.md +88 -0
  82. package/packages/codex/skills/product-3d-lighting/SKILL.md +137 -0
  83. package/packages/codex/skills/project-architecture/SKILL.md +52 -0
  84. package/packages/codex/skills/py-reviewer/SKILL.md +100 -0
  85. package/packages/codex/skills/r3f-scene-reviewer/SKILL.md +88 -0
  86. package/packages/codex/skills/r3f-scroll-driven-3d/SKILL.md +162 -0
  87. package/packages/codex/skills/reality-checker/SKILL.md +61 -0
  88. package/packages/codex/skills/redis-patterns/SKILL.md +260 -0
  89. package/packages/codex/skills/review-orchestrator/SKILL.md +151 -0
  90. package/packages/codex/skills/rs-reviewer/SKILL.md +98 -0
  91. package/packages/codex/skills/ru-text/SKILL.md +132 -0
  92. package/packages/codex/skills/scaffold-endpoint/SKILL.md +44 -0
  93. package/packages/codex/skills/security-scanner/SKILL.md +94 -0
  94. package/packages/codex/skills/silent-failure-hunter/SKILL.md +176 -0
  95. package/packages/codex/skills/telegram-bot-builder/SKILL.md +120 -0
  96. package/packages/codex/skills/test-generator/SKILL.md +79 -0
  97. package/packages/codex/skills/test-runner/SKILL.md +101 -0
  98. package/packages/codex/skills/threejs-color-management/SKILL.md +97 -0
  99. package/packages/codex/skills/tree-generator/SKILL.md +63 -0
  100. package/packages/codex/skills/ts-reviewer/SKILL.md +90 -0
  101. package/packages/codex/skills/ui-design-reviewer/SKILL.md +89 -0
  102. package/packages/codex/skills/ui-reviewer/SKILL.md +103 -0
  103. package/packages/codex/skills/visual-reviewer/SKILL.md +85 -0
  104. package/packages/codex/skills/writing-agents/SKILL.md +165 -0
  105. package/packages/codex/skills/writing-commands/SKILL.md +173 -0
  106. package/packages/core/CLAUDE.md +118 -0
  107. package/packages/core/INTERNAL-FILES +16 -0
  108. package/packages/core/agents/ai-slop-cleaner.md +187 -0
  109. package/packages/core/agents/api-contract-sync.md +127 -0
  110. package/packages/core/agents/architect.md +205 -0
  111. package/packages/core/agents/audit-backend.md +137 -0
  112. package/packages/core/agents/audit-frontend.md +129 -0
  113. package/packages/core/agents/audit-infra.md +182 -0
  114. package/packages/core/agents/behavioral-nudge-engine.md +170 -0
  115. package/packages/core/agents/code-reviewer.md +195 -0
  116. package/packages/core/agents/codebase-onboarding-engineer.md +172 -0
  117. package/packages/core/agents/comment-rot-analyzer.md +115 -0
  118. package/packages/core/agents/critic.md +172 -0
  119. package/packages/core/agents/database-reviewer.md +201 -0
  120. package/packages/core/agents/debug-observer.md +261 -0
  121. package/packages/core/agents/dependency-checker.md +199 -0
  122. package/packages/core/agents/docs-reviewer.md +206 -0
  123. package/packages/core/agents/e2e-test-generator.md +261 -0
  124. package/packages/core/agents/evaluator.md +141 -0
  125. package/packages/core/agents/goal-verifier.md +130 -0
  126. package/packages/core/agents/health-checker.md +194 -0
  127. package/packages/core/agents/migration-reviewer.md +161 -0
  128. package/packages/core/agents/minimal-change-engineer.md +219 -0
  129. package/packages/core/agents/plan-checker.md +139 -0
  130. package/packages/core/agents/pre-deploy-validator.md +189 -0
  131. package/packages/core/agents/reality-checker.md +175 -0
  132. package/packages/core/agents/scaffold-endpoint.md +162 -0
  133. package/packages/core/agents/security-scanner.md +236 -0
  134. package/packages/core/agents/silent-failure-hunter.md +276 -0
  135. package/packages/core/agents/test-generator.md +146 -0
  136. package/packages/core/agents/tree-generator.md +141 -0
  137. package/packages/core/agents/ui-reviewer.md +172 -0
  138. package/packages/core/agents/visual-reviewer.md +211 -0
  139. package/packages/core/commands/audit.md +166 -0
  140. package/packages/core/commands/benchmark.md +130 -0
  141. package/packages/core/commands/commit.md +148 -0
  142. package/packages/core/commands/dev.md +302 -0
  143. package/packages/core/commands/docs-init.md +75 -0
  144. package/packages/core/commands/lint.md +137 -0
  145. package/packages/core/commands/migrate.md +146 -0
  146. package/packages/core/commands/new-migration.md +182 -0
  147. package/packages/core/commands/pair.md +209 -0
  148. package/packages/core/commands/review.md +195 -0
  149. package/packages/core/commands/security-scan.md +142 -0
  150. package/packages/core/commands/superkit-evolve.md +231 -0
  151. package/packages/core/commands/superkit-init.md +274 -0
  152. package/packages/core/commands/test.md +108 -0
  153. package/packages/core/commands/workflow.md +150 -0
  154. package/packages/core/docs/guide/01-getting-started.md +41 -0
  155. package/packages/core/docs-templates/README.md +33 -0
  156. package/packages/core/docs-templates/adr-template.md +62 -0
  157. package/packages/core/docs-templates/architecture/api-contracts.md +26 -0
  158. package/packages/core/docs-templates/architecture/api-reference.md +48 -0
  159. package/packages/core/docs-templates/architecture/auth-and-sessions.md +38 -0
  160. package/packages/core/docs-templates/architecture/backend-layers.md +42 -0
  161. package/packages/core/docs-templates/architecture/data-flow.md +26 -0
  162. package/packages/core/docs-templates/architecture/database-schema.md +51 -0
  163. package/packages/core/docs-templates/architecture/deployment.md +41 -0
  164. package/packages/core/docs-templates/architecture/frontend-state.md +46 -0
  165. package/packages/core/helpers/statusline.cjs +370 -0
  166. package/packages/core/hooks/CHAIN-SEMANTICS.md +84 -0
  167. package/packages/core/hooks/audit-settings-source.sh +98 -0
  168. package/packages/core/hooks/audit-trail.sh +120 -0
  169. package/packages/core/hooks/block-dangerous-git.sh +189 -0
  170. package/packages/core/hooks/bundle-import-check.sh +64 -0
  171. package/packages/core/hooks/compact-state-inject.sh +84 -0
  172. package/packages/core/hooks/config-protection.sh +68 -0
  173. package/packages/core/hooks/console-log-warning.sh +28 -0
  174. package/packages/core/hooks/context-monitor.sh +35 -0
  175. package/packages/core/hooks/dev-edit-counter.sh +59 -0
  176. package/packages/core/hooks/dev-marker-set.sh +55 -0
  177. package/packages/core/hooks/dev-required-on-commit.sh +426 -0
  178. package/packages/core/hooks/doc-check-on-commit.sh +396 -0
  179. package/packages/core/hooks/edit-streak-check.sh +63 -0
  180. package/packages/core/hooks/evolve-check.sh +78 -0
  181. package/packages/core/hooks/gateguard-pre-edit.sh +154 -0
  182. package/packages/core/hooks/gateguard-record-facts.sh +37 -0
  183. package/packages/core/hooks/intake-classifier.py +449 -0
  184. package/packages/core/hooks/lib/profile.sh +141 -0
  185. package/packages/core/hooks/loop-guard.sh +75 -0
  186. package/packages/core/hooks/migration-safety.sh +56 -0
  187. package/packages/core/hooks/plan-completion-gate.sh +61 -0
  188. package/packages/core/hooks/pre-compact-save.sh +89 -0
  189. package/packages/core/hooks/security-patterns.sh +119 -0
  190. package/packages/core/hooks/session-context-restore.sh +76 -0
  191. package/packages/core/hooks/subagent-stop-validate.sh +73 -0
  192. package/packages/core/hooks/superkit-counts-verify.sh +346 -0
  193. package/packages/core/hooks/superkit-update.sh +367 -0
  194. package/packages/core/hooks/tests/README.md +42 -0
  195. package/packages/core/hooks/tests/audit-trail-chain_test.sh +62 -0
  196. package/packages/core/hooks/tests/block-dangerous-git_test.sh +144 -0
  197. package/packages/core/hooks/tests/chain-semantics/h1.sh +11 -0
  198. package/packages/core/hooks/tests/chain-semantics/h2.sh +9 -0
  199. package/packages/core/hooks/tests/chain-semantics/h3.sh +11 -0
  200. package/packages/core/hooks/tests/chain-semantics/run-experiment.sh +65 -0
  201. package/packages/core/hooks/tests/chain-semantics/settings-experiment.json +15 -0
  202. package/packages/core/hooks/tests/counts-verify_test.sh +118 -0
  203. package/packages/core/hooks/tests/dev-required-on-commit_test.sh +207 -0
  204. package/packages/core/hooks/tests/dev-required-wip-on-main_test.sh +20 -0
  205. package/packages/core/hooks/tests/doc-check-on-commit_test.sh +122 -0
  206. package/packages/core/hooks/tests/edit-streak-check_test.sh +106 -0
  207. package/packages/core/hooks/tests/internal-manifest_test.sh +130 -0
  208. package/packages/core/hooks/tests/json-path_test.sh +108 -0
  209. package/packages/core/hooks/tests/mirror-invariants_test.sh +139 -0
  210. package/packages/core/hooks/tests/nudge-throttle_test.sh +95 -0
  211. package/packages/core/hooks/tests/profile-helper_test.sh +21 -0
  212. package/packages/core/hooks/tests/run-all.sh +47 -0
  213. package/packages/core/hooks/tests/session-key-helper_test.sh +17 -0
  214. package/packages/core/hooks/tests/superkit-update_test.sh +311 -0
  215. package/packages/core/hooks/tests/warn-visibility_test.sh +59 -0
  216. package/packages/core/hooks/user-intent-detect.sh +44 -0
  217. package/packages/core/hooks/verify-hooks.sh +69 -0
  218. package/packages/core/rules/auto-commands.md +124 -0
  219. package/packages/core/rules/coding-style.md +68 -0
  220. package/packages/core/rules/dev-workflow.md +77 -0
  221. package/packages/core/rules/documentation.md +106 -0
  222. package/packages/core/rules/frontend-aesthetics.md +53 -0
  223. package/packages/core/rules/git-workflow.md +14 -0
  224. package/packages/core/rules/security.md +29 -0
  225. package/packages/core/rules/superkit-integrity.md +114 -0
  226. package/packages/core/settings.json +229 -0
  227. package/packages/core/skills/drizzle-orm-expert/SKILL.md +260 -0
  228. package/packages/core/skills/nextjs-supabase-auth/SKILL.md +259 -0
  229. package/packages/core/skills/postgresql-optimization/SKILL.md +150 -0
  230. package/packages/core/skills/project-architecture/SKILL.md +31 -0
  231. package/packages/core/skills/project-scanner/SKILL.md +132 -0
  232. package/packages/core/skills/redis-patterns/SKILL.md +261 -0
  233. package/packages/core/skills/ru-text/SKILL.md +156 -0
  234. package/packages/core/skills/telegram-bot-builder/SKILL.md +145 -0
  235. package/packages/core/skills/writing-agents/SKILL.md +220 -0
  236. package/packages/core/skills/writing-commands/SKILL.md +176 -0
  237. package/packages/core/skills/writing-hooks/SKILL.md +335 -0
  238. package/packages/extras/bot-reviewer.md +279 -0
  239. package/packages/extras/design-system-reviewer.md +234 -0
  240. package/packages/extras/red-blue-auditor/README.md +117 -0
  241. package/packages/extras/red-blue-auditor/agent.md +128 -0
  242. package/packages/extras/red-blue-auditor/patterns/agent-config.txt +4 -0
  243. package/packages/extras/red-blue-auditor/patterns/hook-injection.txt +8 -0
  244. package/packages/extras/red-blue-auditor/patterns/mcp-risk.txt +5 -0
  245. package/packages/extras/red-blue-auditor/patterns/permission-abuse.txt +6 -0
  246. package/packages/extras/red-blue-auditor/patterns/secrets.txt +17 -0
  247. package/packages/extras/red-blue-auditor/scan.sh +88 -0
  248. package/packages/extras/skillsmp-search/SKILL.md +134 -0
  249. package/packages/frontend-3d/README.md +62 -0
  250. package/packages/frontend-3d/agents/frontend-perf-reviewer.md +164 -0
  251. package/packages/frontend-3d/agents/presentation-reviewer.md +146 -0
  252. package/packages/frontend-3d/agents/r3f-scene-reviewer.md +128 -0
  253. package/packages/frontend-3d/agents/ui-design-reviewer.md +169 -0
  254. package/packages/frontend-3d/commands/capture-screen.md +166 -0
  255. package/packages/frontend-3d/hooks/bundle-size-warn.sh +93 -0
  256. package/packages/frontend-3d/hooks/gsap-pattern-check.sh +74 -0
  257. package/packages/frontend-3d/hooks/r3f-color-check.sh +76 -0
  258. package/packages/frontend-3d/hooks/tailwind-version-guard.sh +98 -0
  259. package/packages/frontend-3d/rules/frontend-aesthetics-3d.md +81 -0
  260. package/packages/frontend-3d/rules/gsap-conventions.md +129 -0
  261. package/packages/frontend-3d/rules/threejs-conventions.md +116 -0
  262. package/packages/frontend-3d/skills/gltf-debugging/SKILL.md +145 -0
  263. package/packages/frontend-3d/skills/html-to-3d-texture/SKILL.md +183 -0
  264. package/packages/frontend-3d/skills/output-enforcement/SKILL.md +79 -0
  265. package/packages/frontend-3d/skills/product-3d-lighting/SKILL.md +166 -0
  266. package/packages/frontend-3d/skills/r3f-scroll-driven-3d/SKILL.md +209 -0
  267. package/packages/frontend-3d/skills/threejs-color-management/SKILL.md +111 -0
  268. package/packages/frontend-ui/NOTICE.md +99 -0
  269. package/packages/frontend-ui/README.md +59 -0
  270. package/packages/frontend-ui/agents/ui-color-reviewer.md +174 -0
  271. package/packages/frontend-ui/agents/ui-design-critic.md +198 -0
  272. package/packages/frontend-ui/agents/ui-interaction-reviewer.md +259 -0
  273. package/packages/frontend-ui/agents/ui-motion-reviewer.md +266 -0
  274. package/packages/frontend-ui/agents/ui-reviewer.md +251 -0
  275. package/packages/frontend-ui/agents/ui-typography-reviewer.md +222 -0
  276. package/packages/frontend-ui/hooks/tests/ui-animation-easing-check_test.sh +78 -0
  277. package/packages/frontend-ui/hooks/tests/ui-banned-fonts-check_test.sh +77 -0
  278. package/packages/frontend-ui/hooks/tests/ui-color-check_test.sh +75 -0
  279. package/packages/frontend-ui/hooks/ui-animation-easing-check.sh +86 -0
  280. package/packages/frontend-ui/hooks/ui-banned-fonts-check.sh +90 -0
  281. package/packages/frontend-ui/hooks/ui-color-check.sh +102 -0
  282. package/packages/frontend-ui/rules/color-and-contrast.md +230 -0
  283. package/packages/frontend-ui/rules/frontend-design-aesthetics.md +124 -0
  284. package/packages/frontend-ui/rules/interaction-polish.md +335 -0
  285. package/packages/frontend-ui/rules/motion-and-animation.md +283 -0
  286. package/packages/frontend-ui/rules/spatial-and-layout.md +212 -0
  287. package/packages/frontend-ui/rules/typography-guidelines.md +185 -0
  288. package/packages/frontend-ui/rules/ui-anti-patterns.md +309 -0
  289. package/packages/frontend-ui/settings.json +24 -0
  290. package/packages/frontend-ui/skills/impeccable-craft/SKILL.md +187 -0
  291. package/packages/gan/README.md +232 -0
  292. package/packages/gan/agents/gan-evaluator.md +214 -0
  293. package/packages/gan/agents/gan-generator.md +171 -0
  294. package/packages/gan/agents/gan-planner.md +206 -0
  295. package/packages/gan/rubrics/functionality.md +66 -0
  296. package/packages/gan/rubrics/ui-quality.md +77 -0
  297. package/packages/gan/skills/gan-evaluator/SKILL.md +91 -0
  298. package/packages/gan/skills/gan-generator/SKILL.md +72 -0
  299. package/packages/gan/skills/gan-planner/SKILL.md +93 -0
  300. package/packages/stack-agents/go/go-concurrency-reviewer.md +210 -0
  301. package/packages/stack-agents/go/go-error-reviewer.md +187 -0
  302. package/packages/stack-agents/go/go-modernizer.md +160 -0
  303. package/packages/stack-agents/go/go-observability-reviewer.md +185 -0
  304. package/packages/stack-agents/go/go-performance-reviewer.md +160 -0
  305. package/packages/stack-agents/go/go-reviewer.md +277 -0
  306. package/packages/stack-agents/go/references/benchmark-methodology.md +280 -0
  307. package/packages/stack-agents/go/references/channel-patterns.md +384 -0
  308. package/packages/stack-agents/go/references/cli-cobra-viper.md +190 -0
  309. package/packages/stack-agents/go/references/code-style.md +262 -0
  310. package/packages/stack-agents/go/references/context-propagation.md +317 -0
  311. package/packages/stack-agents/go/references/data-structures.md +315 -0
  312. package/packages/stack-agents/go/references/database-patterns.md +334 -0
  313. package/packages/stack-agents/go/references/design-patterns.md +411 -0
  314. package/packages/stack-agents/go/references/di-frameworks.md +146 -0
  315. package/packages/stack-agents/go/references/error-creation.md +251 -0
  316. package/packages/stack-agents/go/references/error-inspection.md +348 -0
  317. package/packages/stack-agents/go/references/error-wrapping.md +230 -0
  318. package/packages/stack-agents/go/references/gopls-driving.md +62 -0
  319. package/packages/stack-agents/go/references/goroutine-lifecycle.md +351 -0
  320. package/packages/stack-agents/go/references/graphql-patterns.md +221 -0
  321. package/packages/stack-agents/go/references/grpc-patterns.md +373 -0
  322. package/packages/stack-agents/go/references/modernize-guide.md +522 -0
  323. package/packages/stack-agents/go/references/module-management.md +191 -0
  324. package/packages/stack-agents/go/references/naming-conventions.md +176 -0
  325. package/packages/stack-agents/go/references/observability-pipeline.md +352 -0
  326. package/packages/stack-agents/go/references/performance-profiling.md +250 -0
  327. package/packages/stack-agents/go/references/refactoring-mechanics.md +127 -0
  328. package/packages/stack-agents/go/references/rest-openapi-patterns.md +160 -0
  329. package/packages/stack-agents/go/references/samber-do.md +201 -0
  330. package/packages/stack-agents/go/references/samber-libraries.md +363 -0
  331. package/packages/stack-agents/go/references/samber-lo.md +260 -0
  332. package/packages/stack-agents/go/references/samber-oops.md +200 -0
  333. package/packages/stack-agents/go/references/security-checklist.md +441 -0
  334. package/packages/stack-agents/go/references/standard-stdlib-now.md +181 -0
  335. package/packages/stack-agents/go/references/stay-updated.md +147 -0
  336. package/packages/stack-agents/go/references/structs-interfaces.md +312 -0
  337. package/packages/stack-agents/go/references/sync-primitives.md +395 -0
  338. package/packages/stack-agents/go/references/testing-patterns.md +483 -0
  339. package/packages/stack-agents/go/references/troubleshooting.md +98 -0
  340. package/packages/stack-agents/python/py-reviewer.md +194 -0
  341. package/packages/stack-agents/rust/rs-reviewer.md +188 -0
  342. package/packages/stack-agents/typescript/ts-reviewer.md +135 -0
  343. package/packages/stack-hooks/go/go-context-check-on-edit.sh +56 -0
  344. package/packages/stack-hooks/go/go-error-check-on-edit.sh +54 -0
  345. package/packages/stack-hooks/go/go-format-on-edit.sh +32 -0
  346. package/packages/stack-hooks/go/go-safety-check-on-edit.sh +54 -0
  347. package/packages/stack-hooks/go/go-vet-on-edit.sh +61 -0
  348. package/packages/stack-hooks/go/golangci-lint-on-edit.sh +54 -0
  349. package/packages/stack-hooks/python/ruff-on-edit.sh +67 -0
  350. package/packages/stack-hooks/rust/cargo-check-on-edit.sh +64 -0
  351. package/packages/stack-hooks/typescript/typecheck-on-edit.sh +76 -0
  352. package/packages/stack-rules/go/go-conventions.md +44 -0
  353. package/packages/stack-rules/go/go-safety.md +35 -0
@@ -0,0 +1,396 @@
1
+ # YOUR_PROJECT_NAME
2
+
3
+ > TODO: One-line project description.
4
+
5
+ ## Tech Stack
6
+
7
+ | Component | Stack |
8
+ |-----------|-------|
9
+ | **Backend** | TODO: language, framework, database |
10
+ | **Frontend** | TODO: framework, bundler, CSS |
11
+ | **Infra** | TODO: Docker, CI/CD, cloud |
12
+
13
+ ## Project Structure
14
+
15
+ ```
16
+ TODO: top-level directory layout
17
+ ```
18
+
19
+ ## Key Commands
20
+
21
+ ```bash
22
+ # Build
23
+ TODO: build commands
24
+
25
+ # Test
26
+ TODO: test commands
27
+
28
+ # Lint / Format
29
+ TODO: lint commands
30
+
31
+ # Database
32
+ TODO: migration commands
33
+
34
+ # Dev
35
+ TODO: dev server commands
36
+ ```
37
+
38
+ ## Coding Style
39
+
40
+ ### General
41
+ - Use language-standard formatter
42
+ - No magic numbers — named constants
43
+ - No commented-out code
44
+ - Early returns over nesting
45
+ - Max ~50 lines per function
46
+ - No global state — DI via constructors
47
+
48
+ ### Testing
49
+ - Tests required for: new endpoints, bug fixes, business logic
50
+ - Tests optional for: pure UI, config, docs
51
+ - "should [behavior] when [condition]" naming
52
+
53
+ ### Search First
54
+ - Check codebase for existing patterns before writing new code
55
+ - Check packages before reimplementing
56
+ - Name the precedent you follow (file:line) — or state explicitly that no precedent was found after searching
57
+
58
+ ### Solution Ladder (before writing new code)
59
+ Stop at the first rung that holds:
60
+ 1. Doesn't need to exist (YAGNI)? — don't write it
61
+ 2. Already in this codebase? — reuse it
62
+ 3. Stdlib covers it? — use stdlib; don't reimplement, don't add a dependency
63
+ 4. Native platform feature covers it? — use it (`<input type="date">` over a picker lib, CSS over JS, a DB constraint over app-level checks)
64
+ 5. An installed dependency covers it? — use it; never add a NEW dependency for what stdlib, the platform, or a few lines can do
65
+
66
+ Mark a deliberate simplification with a comment naming its ceiling and the upgrade trigger. Minimal never means fragile: input validation at trust boundaries, error handling, security, and accessibility are never simplified away — and anything explicitly requested is never dropped.
67
+
68
+ ## Approval Rules
69
+
70
+ This kit ships `rules/default.rules` — execution rules for commands outside the
71
+ sandbox. Rules do not grant task authority or override the active sandbox and
72
+ approval settings.
73
+
74
+ **Install:** copy `packages/codex/rules/default.rules` to `~/.codex/rules/default.rules`
75
+ (or your project's local `.codex/rules/`) so Codex CLI picks it up.
76
+
77
+ **Format (Starlark-like DSL):**
78
+
79
+ ```
80
+ prefix_rule(
81
+ pattern = ["git", "push"],
82
+ decision = "prompt",
83
+ justification = "Push changes remote state; inspect target and flags.",
84
+ )
85
+ ```
86
+
87
+ **Decisions:**
88
+ - `allow` — permits a matching command at the execution-rule layer
89
+ - `prompt` — requires approval, subject to the runtime's approval policy
90
+ - `forbidden` — forbids a matching command
91
+
92
+ **Coverage:**
93
+ - Destructive system calls (`rm -rf /`, `sudo`, `dd`, `mkfs`, `shutdown`) → forbidden
94
+ - Git / gh CLI / npm / pnpm / yarn / pip / cargo / go → mostly allowed
95
+ - Force-push, hard reset, `git clean -fdx` → prompt
96
+ - Docker / kubectl reads → allowed; deletes / prune → prompt
97
+ - Systemd / pm2 / supervisorctl start/stop/restart/reload → allowed
98
+ - Systemd enable/disable/mask → prompt
99
+ - Nginx / Caddy / Apache config check + reload → allowed
100
+ - `chmod`, `chown` → prompt
101
+ - `curl`, `wget`, `bash -c`, and `sh -c` → prompt; this is not a blanket
102
+ prohibition of downloading and executing a script
103
+
104
+ **Matching:** patterns match literal argv prefixes. When multiple rules match,
105
+ the most restrictive decision wins: `forbidden` > `prompt` > `allow`.
106
+ Simple shell commands may be split for checking; complex shell syntax may be
107
+ checked as the whole shell invocation. Do not infer complete shell or SQL
108
+ inspection from prefix rules. Validate custom rules with `codex execpolicy check`
109
+ before relying on them; check `codex execpolicy check --help` for the installed
110
+ runtime's supported options.
111
+
112
+ Adapted from VKirill/codex-starter-kit (MIT). See `packages/codex/rules/default.rules`
113
+ for the complete ruleset.
114
+
115
+ ## Security
116
+
117
+ - SQL: parameterized queries ($1 for pgx, ? for MySQL, %s for Python)
118
+ - XSS: no dangerouslySetInnerHTML without DOMPurify
119
+ - Secrets: no hardcoded tokens/passwords/keys — use env vars
120
+ - Auth: all API endpoints require auth middleware
121
+ - Input: validate at system boundaries
122
+ - Files: validate MIME type and size server-side
123
+ - CORS: explicit origin allowlist, no wildcards in production
124
+
125
+ ## Git Workflow
126
+
127
+ - **Commits**: conventional format `type(scope): description`
128
+ - Types: feat, fix, docs, refactor, chore, test, perf
129
+ - Scope: backend, frontend, admin, bot, claude
130
+ - **No --no-verify**: Fix pre-commit hook issues, don't skip them
131
+ - **No force push to main**: Use PRs
132
+ - **No git reset --hard**: Use stash or soft reset
133
+ - **Branch naming**: `feature/description`, `fix/description`, `chore/description`
134
+
135
+ ## Conventions
136
+
137
+ - TODO: language formatting rules
138
+ - TODO: error handling patterns
139
+ - TODO: commit message format (conventional commits recommended)
140
+ - TODO: API style (REST/GraphQL, auth pattern)
141
+ - TODO: env var strategy (.env files, VITE_* prefix, etc.)
142
+
143
+ ## Architecture Reference
144
+
145
+ > Before changing any component, read the corresponding architecture doc.
146
+
147
+ | File | Description |
148
+ |------|-------------|
149
+ | `docs/architecture/TODO.md` | TODO: list architecture docs |
150
+
151
+ ## Migrations
152
+
153
+ Format: `TODO: path/000NNN_description.{up,down}.sql`
154
+ Current: `TODO: 000001..000NNN`
155
+
156
+ ## Mandatory Documentation Updates
157
+
158
+ **HARD RULE**: Code changes affecting logic, API, architecture, or behavior MUST include documentation updates **IN THE SAME RESPONSE** as the code. Code without updated docs = **INCOMPLETE TASK**. NEVER defer docs to "later" or "next commit".
159
+
160
+ ### Pre-Commit Checklist (15 points):
161
+
162
+ Before EVERY commit, check if any apply. The doc names below are the SHOWCASE example map (a real social app) — ADAPT the rows to your project's own `docs/architecture/` set:
163
+
164
+ 1. **API changed?** -> update `docs/architecture/backend-api-reference.md` + OpenAPI spec
165
+ 2. **Frontend behavior changed?** -> update `docs/architecture/frontend-state-contracts.md`
166
+ 3. **Onboarding changed?** -> update `docs/architecture/frontend-onboarding-flow.md`
167
+ 4. **DB schema changed?** -> update `docs/architecture/database-schema.md`
168
+ 5. **Files created/deleted/moved?** -> update `docs/trees/` (relevant tree file)
169
+ 6. **Backend layers/DI changed?** -> update `docs/architecture/backend-layers.md`
170
+ 7. **Auth/sessions changed?** -> update `docs/architecture/auth-and-sessions.md`
171
+ 8. **Feed algorithm changed?** -> update `docs/architecture/feed-and-antiabuse.md`
172
+ 9. **Moderation flow changed?** -> update `docs/architecture/moderation-pipeline.md`
173
+ 10. **Bot behavior changed?** -> update `docs/architecture/bot-moderator.md` or `bot-support.md`
174
+ 11. **Architecture docs** (`docs/architecture/`) — update affected files
175
+ 12. **AGENTS.md** — update Active Plans, Project Structure, Known Constraints
176
+ 13. **README files** — update all affected READMEs
177
+ 14. **Project trees** (`docs/trees/`) — update on ANY file structure changes
178
+ 15. **OpenAPI spec** — update on API endpoint changes
179
+
180
+ If ANY answer is YES -> update docs BEFORE committing.
181
+
182
+ ### When NOT needed
183
+ - Pure refactors (no behavior change)
184
+ - Test-only changes
185
+ - Config/env changes
186
+ - Typo fixes
187
+
188
+ ### 4-Layer Enforcement
189
+
190
+ 1. **AGENTS.md (this file)** — Codex reads this on every session. Primary mechanism.
191
+ 2. **Pre-commit checklist (above)** — 15-point check before every commit.
192
+ 3. **docs-reviewer skill** — used by dev-orchestrator in Phase 14 (Document) to verify completeness.
193
+ 4. **Plan completion gate** — plans are NOT complete until docs are updated.
194
+
195
+ Do NOT rely on a single layer — update docs proactively with every code change.
196
+
197
+ ## Model Configuration
198
+
199
+ The shipped `.codex/config.toml` selects **gpt-6-astra / high** for the coordinator
200
+ and **gpt-5.6-sol / medium** as the subagent fallback. Configuration is a default,
201
+ not evidence of which model executed a task or of independent review. Honor the
202
+ user's explicit routing and verify available models/efforts before dispatch.
203
+
204
+ Astra owns architecture, shared prompt/behavior contracts, consequential
205
+ security/authority/data-loss decisions, and final high-risk acceptance. Sol may
206
+ perform bounded implementation, evidence collection, and review with an explicit
207
+ task packet. Use a supported effort appropriate to the task (normally high for
208
+ substantive review); do not silently substitute another model or lower effort.
209
+ If required Astra acceptance is unavailable, report it as pending rather than
210
+ delegating that acceptance to a fallback model.
211
+
212
+ These are consumer runtime defaults. Superkit's contributor model choices and
213
+ prompt-authoring agreement are maintained separately in its repository working
214
+ agreement; they do not alter the model conventions of shipped Claude assets.
215
+
216
+ ## Codex-Specific Notes
217
+
218
+ ### Skill Execution and Delegation
219
+ - Read the named skill and preserve its authority, evidence, and verdict contract.
220
+ Check actual runtime delegation tools and user authorization before spawning;
221
+ a skill name alone does not create an agent or grant additional permissions.
222
+ - When delegation is available and authorized, use clean worker contexts by
223
+ default. Supply explicit model and reasoning effort, objective, owned scope,
224
+ relevant contracts, permitted tools/actions, acceptance checks, and required
225
+ return evidence. Include full history only when specifically necessary.
226
+ - Parallelize independent work within available slots and use disjoint ownership
227
+ for edits. Workers must preserve others' changes and may not recursively fan out
228
+ unless assigned. The coordinator integrates results and accepts the outcome.
229
+ - If delegation or explicit routing is unavailable, perform suitable skills as
230
+ separate inline passes and disclose the missing independence/routing. Do not
231
+ claim an independent review or waive a mandatory independent/Astra gate.
232
+ - Review roles are read-only; their verdicts do not authorize edits, external
233
+ writes, merge, or release. Implement corrections in a separately authorized
234
+ implementation step. Preserve prior user authorization; ask only for a missing
235
+ decision or permission that blocks the next action.
236
+ - Reuse checks when command/results, relevant code, inputs, and environment are
237
+ recorded and unchanged. Rerun for relevant change or concrete uncertainty.
238
+ Report mandatory unknowns separately from observed failures; neither becomes
239
+ success because a retry budget is exhausted.
240
+
241
+ ### Planning
242
+ - Use the runtime's plan tool when available; otherwise keep a concise plan in
243
+ the conversation or an authorized project note.
244
+
245
+ ### Skills
246
+ - Discover installed skills through `/skills` or `$`; explicitly select a skill
247
+ such as `$review-orchestrator`, or describe the matching task. Description-based
248
+ selection depends on the active runtime and is not guaranteed activation.
249
+ - Resolve and read the selected installed `SKILL.md` before executing it. Missing
250
+ roles, executables, browser/service access or delegation remain explicit gaps.
251
+ - Orchestrator skills use available, authorized delegation or disclosed inline
252
+ execution as described above.
253
+
254
+ ### Local Tool Mapping
255
+ - Discover the active runtime's tools; names differ between CLI and desktop/API.
256
+ - When available, search with `rg` / `rg --files`, run shell checks with
257
+ `exec_command`, and edit with `apply_patch` or an appropriate file tool.
258
+
259
+ ### Native Hook Checks
260
+
261
+ The installer supplies `.codex/hooks/superkit.mjs` and a merge template at
262
+ `.codex/superkit-hooks.json`. It creates `.codex/hooks.json` only when absent,
263
+ the project config is absent or exactly stock, and hook assets have no conflict.
264
+ Existing hook definitions/configuration are preserved; inspect and merge the
265
+ template manually when needed. Installation grants no project or hook trust:
266
+ review the definition and script, then use `/hooks` in a supporting runtime.
267
+
268
+ - `PreToolUse` rejects recognized static destructive Git commands. It never
269
+ returns a permission allow; opaque shell syntax is unassessed, not safe.
270
+ - `Stop` first enumerates Git config keys only. If any `filter.*.clean` or
271
+ `filter.*.process` is configured, including unused/global Git LFS drivers, it
272
+ skips both diffs and reports UNVERIFIED to avoid executing conversion programs.
273
+ It captures no filter values and changes no Git config. Otherwise it runs
274
+ read-only tracked/staged `git diff --check` checks and can request one
275
+ continuation. It does not establish tests/builds passed or verify untracked
276
+ file behavior. It runs no project scripts and reads no transcripts/services.
277
+ - These two handlers in one script do not reproduce Claude's formatting,
278
+ documentation, migration, profile or session-continuity hooks. The wiring uses
279
+ a POSIX shell/Git root; Windows and cloud execution are unqualified.
280
+ - Hook-definition trust is not complete attestation of the referenced script:
281
+ review managed script updates separately. Discovery, trust, handler execution
282
+ and observed native hook firing are separate evidence.
283
+
284
+ See [official hook/trust documentation](https://learn.chatgpt.com/docs/hooks).
285
+
286
+ ### Available Skills
287
+
288
+ The installer stores skills in `.codex/skills/<name>/SKILL.md` and exposes relative
289
+ links at `.agents/skills/<name>` for discovery. Manual user skills may live in
290
+ `~/.agents/skills/`. Each selected skill's instructions govern its execution.
291
+
292
+ **Command skills (user-invocable):**
293
+
294
+ | Skill | Description |
295
+ |-------|-------------|
296
+ | `dev-orchestrator` | 16-phase development cycle: read-docs, understand, architect, pseudocode, plan, contract, validate, implement, evaluate, verify, test, verify-goals, review, critic, document, report |
297
+ | `review-orchestrator` | Detect changes, dispatch reviewer agents, collect and deduplicate findings |
298
+ | `audit-orchestrator` | Parallel audit: frontend, backend, infra, security |
299
+ | `test-runner` | Auto-detect and run project tests (Go, TS, Python, Rust) |
300
+ | `lint-runner` | Auto-detect and run project linters with optional --fix |
301
+ | `commit-helper` | Conventional commit: analyze changes, detect secrets, create commit |
302
+ | `new-migration` | Discover the project's migration tool/dialect and scaffold its native format without applying it |
303
+ | `migrate` | Inspect status by default; apply or roll back an explicitly authorized, bounded migration set |
304
+ | `benchmark` | Run available Go benchmarks; compare an isolated baseline with installed tools |
305
+
306
+ **Agent skills (available for task-specific use or existing orchestrator dispatch):**
307
+ ai-slop-cleaner, api-contract-sync, architect, audit-backend, audit-frontend, audit-infra, behavioral-nudge-engine, bot-reviewer, code-reviewer, codebase-onboarding-engineer, comment-rot-analyzer, critic, database-reviewer, debug-observer, dependency-checker, design-system-reviewer, docs-reviewer, e2e-test-generator, evaluator, goal-verifier, health-checker, migration-reviewer, minimal-change-engineer, plan-checker, pre-deploy-validator, project-architecture, reality-checker, scaffold-endpoint, security-scanner, silent-failure-hunter, test-generator, tree-generator, ui-reviewer, visual-reviewer, writing-agents, writing-commands
308
+
309
+ **Production skills (eligible for description-based selection):**
310
+ telegram-bot-builder, nextjs-supabase-auth, drizzle-orm-expert, ru-text, postgresql-optimization, redis-patterns
311
+
312
+ **GAN harness skills (separate optional package, requires Playwright):**
313
+ gan-planner, gan-generator, gan-evaluator
314
+
315
+ **Frontend 3D skills (optional, for R3F/Three.js/GSAP projects):**
316
+
317
+ | Skill | Category |
318
+ |-------|----------|
319
+ | `presentation-reviewer` | Quality — scroll-driven web presentations (GSAP, phone frames, DOM/3D coordination and runtime evidence) |
320
+ | `r3f-scene-reviewer` | Quality — R3F/Three.js scenes (color/output pipeline, GLTF ownership, render loops and GPU evidence) |
321
+ | `ui-design-reviewer` | Quality — product-grounded UI design (typography, color, layout, motion, interactive states and applicable glass) |
322
+ | `frontend-perf-reviewer` | Quality — frontend performance (bundle/media/render/runtime paths, Core Web Vitals and measurement evidence) |
323
+ | `threejs-color-management` | Knowledge — Three.js color pipeline (sRGB vs Linear, toneMapping, texture colorSpace) |
324
+ | `r3f-scroll-driven-3d` | Knowledge — GSAP ScrollTrigger + R3F via Zustand bridge pattern |
325
+ | `gltf-debugging` | Knowledge — runtime GLB/GLTF inspection (UV, materials, texture replacement) |
326
+ | `html-to-3d-texture` | Knowledge — capture HTML/React as PNG textures for 3D models |
327
+ | `product-3d-lighting` | Knowledge — studio lighting setups for 3D product showcases |
328
+ | `output-enforcement` | Knowledge — anti-laziness enforcement, bans placeholder patterns |
329
+
330
+ **Frontend UI skills (optional, for 2D UI / landing page / dashboard projects):**
331
+
332
+ | Skill | Category |
333
+ |-------|----------|
334
+ | `frontend-ui-reviewer` | 2D UI umbrella — audience/design contracts, complete domain coverage, bounded specialist routing, evidence-based consolidation; source/rendered/exercised limits |
335
+ | `frontend-ui-typography-reviewer` | Typography — hierarchy, scale, readability, glyphs, font loading/fallback, OpenType and warranted font selection against actual product constraints |
336
+ | `frontend-ui-color-reviewer` | Color — semantic palettes, perceptual spaces/gamut, supported themes and measured contrast against the applicable standard/version; no syntax or palette bans |
337
+ | `frontend-ui-motion-reviewer` | Motion — purpose, contextual easing/duration, spring vs tween, interruption/lifecycle, measured performance and reduced motion; Before/After/Why evidence table |
338
+ | `frontend-ui-interaction-reviewer` | Interaction — control semantics, dialogs/drawers, forms, keyboard/focus, loading/error recovery, empty states and microcopy against actual task contracts |
339
+ | `frontend-ui-design-critic` | Holistic design — gestalt, composition/rhythm, hierarchy, coherence and audience/intent; grounded narrative and actionable priority without style bans or reflex scores |
340
+ | `impeccable-craft` | Knowledge (user-invocable) — shape-then-build 4-stage craft flow: Shape → Refine → Implement → Polish |
341
+
342
+ **Stack-specific reviewers (optional):**
343
+ go-reviewer, go-error-reviewer, go-concurrency-reviewer, go-performance-reviewer, go-modernizer, go-observability-reviewer, ts-reviewer, py-reviewer, rs-reviewer
344
+
345
+ **Go semantic navigation via gopls MCP (optional, opt-in):** if a gopls MCP server is registered (Codex: `[mcp_servers]` in config.toml; Claude Code: `claude mcp add gopls -- gopls mcp`), prefer its `go_symbol_references` / `go_diagnostics` / `go_package_api` tools over grep for build-resolved Go questions (references, interface satisfaction, blast radius). Never assume it is wired — with no server registered, fall back to grep + `go doc`.
346
+
347
+ **Go knowledge skills (optional, eligible for description-based selection):**
348
+
349
+ | Skill | Category |
350
+ |-------|----------|
351
+ | `go-samber-do` | Knowledge — DI container (Provide/Invoke, named providers, scoped injectors, shutdown order, testing overrides, migration from manual wiring) |
352
+ | `go-samber-oops` | Knowledge — structured errors (Code/In/With/Hint/Owner/Public, stack traces, APM serialization, HTTP boundary safety, errors.Is/As compat) |
353
+ | `go-samber-lo` | Knowledge — generic collection helpers (Map/Filter/Reduce/FilterMap/GroupBy/Must/Try), stdlib slices overlap, parallel.Map, perf caveats |
354
+ | `go-grpc-patterns` | Knowledge — gRPC service/stream types, interceptors, status codes, deadline propagation, TLS/mTLS, bufconn testing |
355
+ | `go-benchmark` | Knowledge — testing.B, benchstat, sub-benchmarks, profile capture, reading output, dead-code elimination trap |
356
+
357
+ ### Auto-Activation Rules
358
+
359
+ When a listed task is in scope and the skill is installed/discoverable, select
360
+ the relevant skill below. These are routing instructions, not a runtime
361
+ auto-activation guarantee. Preserve the user's narrower scope, existing caller
362
+ gates and each skill's authority; selection grants no additional permissions.
363
+
364
+ | Skill | Auto-trigger when |
365
+ |-------|-------------------|
366
+ | `dev-orchestrator` | Work needs coordinated planning, implementation, and acceptance across meaningful dependencies or risks |
367
+ | `review-orchestrator` | Requested code review, consequential behavior/contract changes, or a required project review gate |
368
+ | `test-runner` | After feature implementation, bug fix, refactor, or test file edits |
369
+ | `lint-runner` | Before any commit with code changes (not docs-only) |
370
+ | `audit-orchestrator` | Requested cross-domain audit or required infrastructure/CI/security audit gate; declare scope and unavailable domains |
371
+ | `frontend-ui-reviewer` | Assigned 2D UI audit/review/polish/critique or meaningful UI contract change under caller workflow, including tokens/assets and consumers. Counts/staging alone do not trigger review; backend and 3D internals are excluded |
372
+ | `frontend-ui-typography-reviewer` | Assigned typography review or meaningful family/weight/scale/spacing/glyph/loading/fallback change; direct typography question or bounded umbrella referral |
373
+ | `frontend-ui-color-reviewer` | Assigned palette/theme/contrast review or meaningful semantic color, gamut, theme or state change; direct color question or bounded umbrella referral |
374
+ | `frontend-ui-motion-reviewer` | Assigned motion review or meaningful animation/transition/spring/interruption/reduced-motion change under caller workflow; direct motion question or bounded umbrella referral |
375
+ | `frontend-ui-interaction-reviewer` | Assigned interaction review or meaningful controls/forms/overlays/focus/feedback/recovery/microcopy change; direct interaction/accessibility/polish question or bounded umbrella referral |
376
+ | `frontend-ui-design-critic` | Explicit holistic critique or meaningful composition/design-direction question under caller workflow, including bounded umbrella referral; file counts alone do not trigger review |
377
+ | `go-samber-do` | Code imports `github.com/samber/do` or `github.com/samber/do/v2` · user asks about Go dependency injection · reviewing service wiring / Provide/Invoke patterns |
378
+ | `go-samber-oops` | Code imports `github.com/samber/oops` · user asks about structured Go errors, error codes, APM context, stack traces in Go |
379
+ | `go-samber-lo` | Code imports `github.com/samber/lo` or `github.com/samber/lo/parallel` · user asks about Go collection utilities, Map/Filter/Reduce helpers |
380
+ | `go-grpc-patterns` | Code imports `google.golang.org/grpc` · `.proto` file in scope · user asks about gRPC services, interceptors, status codes, streaming |
381
+ | `go-benchmark` | File matches `*_test.go` containing `func Benchmark*` · user asks about Go benchmarks, benchstat, performance measurement methodology |
382
+
383
+ **Avoid duplicate or irrelevant selection:**
384
+ - Reuse the relevant pass already owned by `dev-orchestrator` or another caller.
385
+ - Honor explicit bounded requests and use focused checks for narrow low-risk work.
386
+ - Skip unrelated skills for docs/config changes; consequential config changes
387
+ still require the applicable checks. File counts, "quick fix" wording and
388
+ description matching never waive a mandatory review or safety gate.
389
+
390
+ ## Active Plans
391
+
392
+ None yet.
393
+
394
+ ## Known Constraints
395
+
396
+ TODO: list known limitations, stubs, tech debt.