@mrciphersmith/keryx 0.2.9

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 (297) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +351 -0
  3. package/dist/cli.js +48427 -0
  4. package/dist/proxy-worker.js +381 -0
  5. package/package.json +63 -0
  6. package/src/gdgraph/affected.test.ts +100 -0
  7. package/src/gdgraph/affected.ts +135 -0
  8. package/src/gdgraph/build-integrity.test.ts +193 -0
  9. package/src/gdgraph/build-lang.test.ts +399 -0
  10. package/src/gdgraph/build.test.ts +120 -0
  11. package/src/gdgraph/build.ts +804 -0
  12. package/src/gdgraph/config.test.ts +47 -0
  13. package/src/gdgraph/config.ts +113 -0
  14. package/src/gdgraph/core-sources.test.ts +99 -0
  15. package/src/gdgraph/core-sources.ts +20 -0
  16. package/src/gdgraph/enrich.ts +79 -0
  17. package/src/gdgraph/fallback.test.ts +153 -0
  18. package/src/gdgraph/find.test.ts +78 -0
  19. package/src/gdgraph/find.ts +107 -0
  20. package/src/gdgraph/pagerank.ts +129 -0
  21. package/src/gdgraph/path.test.ts +56 -0
  22. package/src/gdgraph/path.ts +112 -0
  23. package/src/gdgraph/query.ts +133 -0
  24. package/src/gdgraph/repomap.test.ts +110 -0
  25. package/src/gdgraph/repomap.ts +193 -0
  26. package/src/gdgraph/service.test.ts +59 -0
  27. package/src/gdgraph/service.ts +51 -0
  28. package/src/gdgraph/staleness.ts +20 -0
  29. package/src/gdgraph/symbol.test.ts +89 -0
  30. package/src/gdgraph/symbol.ts +123 -0
  31. package/src/gdgraph/symbols-capability.test.ts +41 -0
  32. package/src/gdgraph/symbols-capability.ts +49 -0
  33. package/src/gdgraph/target.ts +56 -0
  34. package/src/gdgraph/treesitter/adapter.test.ts +249 -0
  35. package/src/gdgraph/treesitter/adapter.ts +213 -0
  36. package/src/gdgraph/treesitter/extract.test.ts +278 -0
  37. package/src/gdgraph/treesitter/extract.ts +389 -0
  38. package/src/gdgraph/treesitter/grammars.ts +110 -0
  39. package/src/gdgraph/treesitter/no-treesitter-import.test.ts +51 -0
  40. package/src/gdgraph/treesitter/resolve-calls.test.ts +38 -0
  41. package/src/gdgraph/types.ts +63 -0
  42. package/src/gdskills/bundled/rules/core/api-contracts.mdc +148 -0
  43. package/src/gdskills/bundled/rules/core/async-patterns.mdc +185 -0
  44. package/src/gdskills/bundled/rules/core/clean-architecture.mdc +163 -0
  45. package/src/gdskills/bundled/rules/core/code-review-ai-assistant.mdc +49 -0
  46. package/src/gdskills/bundled/rules/core/code-review-b091-profile.mdc +48 -0
  47. package/src/gdskills/bundled/rules/core/code-style-patterns.mdc +54 -0
  48. package/src/gdskills/bundled/rules/core/commit-message-formatting.mdc +25 -0
  49. package/src/gdskills/bundled/rules/core/database-patterns.mdc +162 -0
  50. package/src/gdskills/bundled/rules/core/documentation-management.mdc +106 -0
  51. package/src/gdskills/bundled/rules/core/error-handling.mdc +163 -0
  52. package/src/gdskills/bundled/rules/core/execution-metrics.md +99 -0
  53. package/src/gdskills/bundled/rules/core/frontend-assistant.mdc +40 -0
  54. package/src/gdskills/bundled/rules/core/git-rules.mdc +37 -0
  55. package/src/gdskills/bundled/rules/core/gproject-contracts.mdc +198 -0
  56. package/src/gdskills/bundled/rules/core/implementation-doc-mandate.mdc +149 -0
  57. package/src/gdskills/bundled/rules/core/implementation-plans.mdc +58 -0
  58. package/src/gdskills/bundled/rules/core/jobs-documentation.mdc +221 -0
  59. package/src/gdskills/bundled/rules/core/mobx-store-template.mdc +561 -0
  60. package/src/gdskills/bundled/rules/core/model-selection.mdc +53 -0
  61. package/src/gdskills/bundled/rules/core/nestjs-dto.mdc +50 -0
  62. package/src/gdskills/bundled/rules/core/playwright-testing.mdc +321 -0
  63. package/src/gdskills/bundled/rules/core/requirements-management.mdc +35 -0
  64. package/src/gdskills/bundled/rules/core/requirements-package-standard.mdc +103 -0
  65. package/src/gdskills/bundled/rules/core/review-agent-profile.mdc +49 -0
  66. package/src/gdskills/bundled/rules/core/review-strict-profile.mdc +44 -0
  67. package/src/gdskills/bundled/rules/core/rule-management-workflow.mdc +62 -0
  68. package/src/gdskills/bundled/rules/core/security-baseline.mdc +155 -0
  69. package/src/gdskills/bundled/rules/core/shared-definitions.mdc +79 -0
  70. package/src/gdskills/bundled/rules/core/skill-lifecycle.mdc +55 -0
  71. package/src/gdskills/bundled/rules/core/skills-storage-workflow.mdc +88 -0
  72. package/src/gdskills/bundled/rules/core/solid-principles.mdc +149 -0
  73. package/src/gdskills/bundled/rules/core/storybook-guidelines.mdc +36 -0
  74. package/src/gdskills/bundled/rules/core/subagent-context-construction.md +107 -0
  75. package/src/gdskills/bundled/rules/core/subagent-status-protocol.md +169 -0
  76. package/src/gdskills/bundled/rules/core/tdd-workflow.mdc +96 -0
  77. package/src/gdskills/bundled/skills/orchestration/code-verifier/SKILL.codex.md +47 -0
  78. package/src/gdskills/bundled/skills/orchestration/code-verifier/SKILL.cursor.md +55 -0
  79. package/src/gdskills/bundled/skills/orchestration/code-verifier/SKILL.md +352 -0
  80. package/src/gdskills/bundled/skills/orchestration/code-verifier/SKILL.opencode.md +39 -0
  81. package/src/gdskills/bundled/skills/orchestration/code-verifier/SKILL.zed.md +29 -0
  82. package/src/gdskills/bundled/skills/orchestration/context-collector/SKILL.codex.md +567 -0
  83. package/src/gdskills/bundled/skills/orchestration/context-collector/SKILL.cursor.md +567 -0
  84. package/src/gdskills/bundled/skills/orchestration/context-collector/SKILL.md +655 -0
  85. package/src/gdskills/bundled/skills/orchestration/context-collector/SKILL.opencode.md +567 -0
  86. package/src/gdskills/bundled/skills/orchestration/context-collector/SKILL.zed.md +567 -0
  87. package/src/gdskills/bundled/skills/orchestration/context-collector/input-contract.schema.json +134 -0
  88. package/src/gdskills/bundled/skills/orchestration/context-collector/orchestrator-prompt.md +183 -0
  89. package/src/gdskills/bundled/skills/orchestration/context-collector/output-contract.schema.json +208 -0
  90. package/src/gdskills/bundled/skills/orchestration/feature-analyzer/SKILL.codex.md +1412 -0
  91. package/src/gdskills/bundled/skills/orchestration/feature-analyzer/SKILL.cursor.md +1412 -0
  92. package/src/gdskills/bundled/skills/orchestration/feature-analyzer/SKILL.detail.md +735 -0
  93. package/src/gdskills/bundled/skills/orchestration/feature-analyzer/SKILL.md +468 -0
  94. package/src/gdskills/bundled/skills/orchestration/feature-analyzer/SKILL.opencode.md +1412 -0
  95. package/src/gdskills/bundled/skills/orchestration/feature-analyzer/SKILL.zed.md +1412 -0
  96. package/src/gdskills/bundled/skills/orchestration/feature-analyzer/analysis-request.md +62 -0
  97. package/src/gdskills/bundled/skills/orchestration/feature-analyzer/analysis-request.template.md +79 -0
  98. package/src/gdskills/bundled/skills/orchestration/feature-analyzer/input-contract.schema.json +247 -0
  99. package/src/gdskills/bundled/skills/orchestration/feature-analyzer/orchestrator-prompt.md +362 -0
  100. package/src/gdskills/bundled/skills/orchestration/feature-analyzer/output-contract.schema.json +87 -0
  101. package/src/gdskills/bundled/skills/orchestration/feature-dev/SKILL.codex.md +105 -0
  102. package/src/gdskills/bundled/skills/orchestration/feature-dev/SKILL.cursor.md +105 -0
  103. package/src/gdskills/bundled/skills/orchestration/feature-dev/SKILL.md +165 -0
  104. package/src/gdskills/bundled/skills/orchestration/flow-orchestrator/SKILL.md +379 -0
  105. package/src/gdskills/bundled/skills/orchestration/flow-orchestrator/input-contract.schema.json +33 -0
  106. package/src/gdskills/bundled/skills/orchestration/flow-orchestrator/output-contract.schema.json +41 -0
  107. package/src/gdskills/bundled/skills/orchestration/issue-analyzer/SKILL.codex.md +307 -0
  108. package/src/gdskills/bundled/skills/orchestration/issue-analyzer/SKILL.cursor.md +307 -0
  109. package/src/gdskills/bundled/skills/orchestration/issue-analyzer/SKILL.md +373 -0
  110. package/src/gdskills/bundled/skills/orchestration/issue-analyzer/SKILL.opencode.md +307 -0
  111. package/src/gdskills/bundled/skills/orchestration/issue-analyzer/SKILL.zed.md +307 -0
  112. package/src/gdskills/bundled/skills/orchestration/issue-analyzer/input-contract.schema.json +130 -0
  113. package/src/gdskills/bundled/skills/orchestration/issue-analyzer/issue-request.template.md +50 -0
  114. package/src/gdskills/bundled/skills/orchestration/issue-analyzer/orchestrator-prompt.md +155 -0
  115. package/src/gdskills/bundled/skills/orchestration/issue-analyzer/output-contract.schema.json +61 -0
  116. package/src/gdskills/bundled/skills/orchestration/job-documenter/SKILL.codex.md +365 -0
  117. package/src/gdskills/bundled/skills/orchestration/job-documenter/SKILL.cursor.md +365 -0
  118. package/src/gdskills/bundled/skills/orchestration/job-documenter/SKILL.md +373 -0
  119. package/src/gdskills/bundled/skills/orchestration/job-documenter/SKILL.opencode.md +365 -0
  120. package/src/gdskills/bundled/skills/orchestration/job-documenter/SKILL.zed.md +365 -0
  121. package/src/gdskills/bundled/skills/orchestration/job-documenter/input-contract.schema.json +55 -0
  122. package/src/gdskills/bundled/skills/orchestration/job-documenter/output-contract.schema.json +58 -0
  123. package/src/gdskills/bundled/skills/orchestration/job-orchestrator/SKILL.codex.md +1701 -0
  124. package/src/gdskills/bundled/skills/orchestration/job-orchestrator/SKILL.cursor.md +1701 -0
  125. package/src/gdskills/bundled/skills/orchestration/job-orchestrator/SKILL.md +1734 -0
  126. package/src/gdskills/bundled/skills/orchestration/job-orchestrator/SKILL.opencode.md +1701 -0
  127. package/src/gdskills/bundled/skills/orchestration/job-orchestrator/SKILL.zed.md +1701 -0
  128. package/src/gdskills/bundled/skills/orchestration/job-orchestrator/input-contract.schema.json +188 -0
  129. package/src/gdskills/bundled/skills/orchestration/job-orchestrator/orchestrator-prompt.md +179 -0
  130. package/src/gdskills/bundled/skills/orchestration/job-orchestrator/output-contract.schema.json +103 -0
  131. package/src/gdskills/bundled/skills/orchestration/job-orchestrator/state.schema.json +164 -0
  132. package/src/gdskills/bundled/skills/orchestration/task-implementer/SKILL.codex.md +395 -0
  133. package/src/gdskills/bundled/skills/orchestration/task-implementer/SKILL.cursor.md +395 -0
  134. package/src/gdskills/bundled/skills/orchestration/task-implementer/SKILL.md +556 -0
  135. package/src/gdskills/bundled/skills/orchestration/task-implementer/SKILL.opencode.md +395 -0
  136. package/src/gdskills/bundled/skills/orchestration/task-implementer/SKILL.zed.md +395 -0
  137. package/src/gdskills/bundled/skills/orchestration/task-implementer/input-contract.schema.json +204 -0
  138. package/src/gdskills/bundled/skills/orchestration/task-implementer/orchestrator-prompt.md +206 -0
  139. package/src/gdskills/bundled/skills/orchestration/task-implementer/output-contract.schema.json +51 -0
  140. package/src/gdskills/bundled/skills/orchestration/task-implementer/task-request.template.md +111 -0
  141. package/src/gdskills/bundled/skills/planning/autodoc-analyst/SKILL.md +163 -0
  142. package/src/gdskills/bundled/skills/planning/autodoc-architect/SKILL.md +161 -0
  143. package/src/gdskills/bundled/skills/planning/autodoc-assembler/SKILL.md +128 -0
  144. package/src/gdskills/bundled/skills/planning/autodoc-orchestrator/SKILL.md +321 -0
  145. package/src/gdskills/bundled/skills/planning/autodoc-scanner/SKILL.md +166 -0
  146. package/src/gdskills/bundled/skills/planning/autodoc-writer/SKILL.md +253 -0
  147. package/src/gdskills/bundled/skills/planning/brainstorm/SKILL.claude.md +46 -0
  148. package/src/gdskills/bundled/skills/planning/brainstorm/SKILL.codex.md +90 -0
  149. package/src/gdskills/bundled/skills/planning/brainstorm/SKILL.cursor.md +90 -0
  150. package/src/gdskills/bundled/skills/planning/brainstorm/SKILL.md +90 -0
  151. package/src/gdskills/bundled/skills/planning/consistency-checker/SKILL.codex.md +33 -0
  152. package/src/gdskills/bundled/skills/planning/consistency-checker/SKILL.cursor.md +33 -0
  153. package/src/gdskills/bundled/skills/planning/consistency-checker/SKILL.md +190 -0
  154. package/src/gdskills/bundled/skills/planning/docpack-orchestrator/SKILL.md +142 -0
  155. package/src/gdskills/bundled/skills/planning/docpack-orchestrator/input-contract.schema.json +31 -0
  156. package/src/gdskills/bundled/skills/planning/docpack-orchestrator/output-contract.schema.json +31 -0
  157. package/src/gdskills/bundled/skills/planning/docpack-review/SKILL.md +80 -0
  158. package/src/gdskills/bundled/skills/planning/docpack-review/input-contract.schema.json +20 -0
  159. package/src/gdskills/bundled/skills/planning/docpack-review/output-contract.schema.json +36 -0
  160. package/src/gdskills/bundled/skills/planning/interview/SKILL.codex.md +181 -0
  161. package/src/gdskills/bundled/skills/planning/interview/SKILL.cursor.md +181 -0
  162. package/src/gdskills/bundled/skills/planning/interview/SKILL.md +187 -0
  163. package/src/gdskills/bundled/skills/planning/interviewer/SKILL.claude.md +94 -0
  164. package/src/gdskills/bundled/skills/planning/interviewer/SKILL.codex.md +99 -0
  165. package/src/gdskills/bundled/skills/planning/interviewer/SKILL.cursor.md +99 -0
  166. package/src/gdskills/bundled/skills/planning/interviewer/SKILL.md +105 -0
  167. package/src/gdskills/bundled/skills/planning/patterns-researcher/SKILL.codex.md +33 -0
  168. package/src/gdskills/bundled/skills/planning/patterns-researcher/SKILL.cursor.md +33 -0
  169. package/src/gdskills/bundled/skills/planning/patterns-researcher/SKILL.md +237 -0
  170. package/src/gdskills/bundled/skills/planning/planner/SKILL.codex.md +33 -0
  171. package/src/gdskills/bundled/skills/planning/planner/SKILL.cursor.md +33 -0
  172. package/src/gdskills/bundled/skills/planning/planner/SKILL.md +190 -0
  173. package/src/gdskills/bundled/skills/planning/prd-creator/SKILL.codex.md +193 -0
  174. package/src/gdskills/bundled/skills/planning/prd-creator/SKILL.cursor.md +193 -0
  175. package/src/gdskills/bundled/skills/planning/prd-creator/SKILL.md +193 -0
  176. package/src/gdskills/bundled/skills/planning/prd-creator/SKILL.opencode.md +193 -0
  177. package/src/gdskills/bundled/skills/planning/prd-creator/SKILL.zed.md +193 -0
  178. package/src/gdskills/bundled/skills/planning/prd-creator/input-contract.schema.json +63 -0
  179. package/src/gdskills/bundled/skills/planning/prd-creator/output-contract.schema.json +175 -0
  180. package/src/gdskills/bundled/skills/planning/problem-definer/SKILL.codex.md +31 -0
  181. package/src/gdskills/bundled/skills/planning/problem-definer/SKILL.cursor.md +31 -0
  182. package/src/gdskills/bundled/skills/planning/problem-definer/SKILL.md +153 -0
  183. package/src/gdskills/bundled/skills/planning/project-discovery/SKILL.codex.md +32 -0
  184. package/src/gdskills/bundled/skills/planning/project-discovery/SKILL.cursor.md +32 -0
  185. package/src/gdskills/bundled/skills/planning/project-discovery/SKILL.md +166 -0
  186. package/src/gdskills/bundled/skills/planning/spec-writer/SKILL.codex.md +44 -0
  187. package/src/gdskills/bundled/skills/planning/spec-writer/SKILL.cursor.md +44 -0
  188. package/src/gdskills/bundled/skills/planning/spec-writer/SKILL.md +243 -0
  189. package/src/gdskills/bundled/skills/planning/stack-advisor/SKILL.codex.md +43 -0
  190. package/src/gdskills/bundled/skills/planning/stack-advisor/SKILL.cursor.md +43 -0
  191. package/src/gdskills/bundled/skills/planning/stack-advisor/SKILL.md +193 -0
  192. package/src/gdskills/bundled/skills/platform/agent-entrypoint-distiller/SKILL.md +47 -0
  193. package/src/gdskills/bundled/skills/platform/claude-md-management/SKILL.codex.md +87 -0
  194. package/src/gdskills/bundled/skills/platform/claude-md-management/SKILL.cursor.md +87 -0
  195. package/src/gdskills/bundled/skills/platform/claude-md-management/SKILL.md +87 -0
  196. package/src/gdskills/bundled/skills/platform/hookify/SKILL.codex.md +100 -0
  197. package/src/gdskills/bundled/skills/platform/hookify/SKILL.cursor.md +100 -0
  198. package/src/gdskills/bundled/skills/platform/hookify/SKILL.md +100 -0
  199. package/src/gdskills/bundled/skills/quality/changelog/SKILL.claude.md +45 -0
  200. package/src/gdskills/bundled/skills/quality/changelog/SKILL.codex.md +84 -0
  201. package/src/gdskills/bundled/skills/quality/changelog/SKILL.cursor.md +84 -0
  202. package/src/gdskills/bundled/skills/quality/changelog/SKILL.md +84 -0
  203. package/src/gdskills/bundled/skills/quality/commit/SKILL.codex.md +66 -0
  204. package/src/gdskills/bundled/skills/quality/commit/SKILL.cursor.md +66 -0
  205. package/src/gdskills/bundled/skills/quality/commit/SKILL.md +66 -0
  206. package/src/gdskills/bundled/skills/quality/db-migrate/SKILL.claude.md +40 -0
  207. package/src/gdskills/bundled/skills/quality/db-migrate/SKILL.codex.md +66 -0
  208. package/src/gdskills/bundled/skills/quality/db-migrate/SKILL.cursor.md +66 -0
  209. package/src/gdskills/bundled/skills/quality/db-migrate/SKILL.md +66 -0
  210. package/src/gdskills/bundled/skills/quality/dependency-update/SKILL.claude.md +45 -0
  211. package/src/gdskills/bundled/skills/quality/dependency-update/SKILL.codex.md +81 -0
  212. package/src/gdskills/bundled/skills/quality/dependency-update/SKILL.cursor.md +81 -0
  213. package/src/gdskills/bundled/skills/quality/dependency-update/SKILL.md +81 -0
  214. package/src/gdskills/bundled/skills/quality/deploy/SKILL.claude.md +42 -0
  215. package/src/gdskills/bundled/skills/quality/deploy/SKILL.codex.md +70 -0
  216. package/src/gdskills/bundled/skills/quality/deploy/SKILL.cursor.md +70 -0
  217. package/src/gdskills/bundled/skills/quality/deploy/SKILL.md +70 -0
  218. package/src/gdskills/bundled/skills/quality/metaproject-security/SKILL.md +103 -0
  219. package/src/gdskills/bundled/skills/quality/perf-check/SKILL.claude.md +48 -0
  220. package/src/gdskills/bundled/skills/quality/perf-check/SKILL.codex.md +83 -0
  221. package/src/gdskills/bundled/skills/quality/perf-check/SKILL.cursor.md +83 -0
  222. package/src/gdskills/bundled/skills/quality/perf-check/SKILL.md +83 -0
  223. package/src/gdskills/bundled/skills/quality/pr/SKILL.codex.md +75 -0
  224. package/src/gdskills/bundled/skills/quality/pr/SKILL.cursor.md +75 -0
  225. package/src/gdskills/bundled/skills/quality/pr/SKILL.md +75 -0
  226. package/src/gdskills/bundled/skills/quality/pr-issue-documenter/SKILL.codex.md +364 -0
  227. package/src/gdskills/bundled/skills/quality/pr-issue-documenter/SKILL.cursor.md +295 -0
  228. package/src/gdskills/bundled/skills/quality/pr-issue-documenter/SKILL.md +378 -0
  229. package/src/gdskills/bundled/skills/quality/pr-issue-documenter/SKILL.opencode.md +364 -0
  230. package/src/gdskills/bundled/skills/quality/pr-issue-documenter/SKILL.zed.md +38 -0
  231. package/src/gdskills/bundled/skills/quality/pr-issue-documenter/input-contract.schema.json +53 -0
  232. package/src/gdskills/bundled/skills/quality/pr-issue-documenter/output-contract.schema.json +46 -0
  233. package/src/gdskills/bundled/skills/quality/push/SKILL.codex.md +52 -0
  234. package/src/gdskills/bundled/skills/quality/push/SKILL.cursor.md +52 -0
  235. package/src/gdskills/bundled/skills/quality/push/SKILL.md +52 -0
  236. package/src/gdskills/bundled/skills/quality/security-audit/SKILL.claude.md +40 -0
  237. package/src/gdskills/bundled/skills/quality/security-audit/SKILL.codex.md +61 -0
  238. package/src/gdskills/bundled/skills/quality/security-audit/SKILL.cursor.md +61 -0
  239. package/src/gdskills/bundled/skills/quality/security-audit/SKILL.md +61 -0
  240. package/src/gdskills/bundled/skills/quality/test-gen/SKILL.claude.md +30 -0
  241. package/src/gdskills/bundled/skills/quality/test-gen/SKILL.codex.md +75 -0
  242. package/src/gdskills/bundled/skills/quality/test-gen/SKILL.cursor.md +75 -0
  243. package/src/gdskills/bundled/skills/quality/test-gen/SKILL.md +75 -0
  244. package/src/gdskills/bundled/skills/quality/tests-creator/SKILL.codex.md +64 -0
  245. package/src/gdskills/bundled/skills/quality/tests-creator/SKILL.cursor.md +74 -0
  246. package/src/gdskills/bundled/skills/quality/tests-creator/SKILL.md +339 -0
  247. package/src/gdskills/bundled/skills/quality/tests-creator/SKILL.opencode.md +48 -0
  248. package/src/gdskills/bundled/skills/quality/tests-creator/SKILL.zed.md +44 -0
  249. package/src/gdskills/bundled/skills/quality/tests-creator/input-contract.schema.json +121 -0
  250. package/src/gdskills/bundled/skills/quality/tests-creator/output-contract.schema.json +127 -0
  251. package/src/gdskills/bundled/skills/review/code-ai-review/SKILL.codex.md +204 -0
  252. package/src/gdskills/bundled/skills/review/code-ai-review/SKILL.cursor.md +204 -0
  253. package/src/gdskills/bundled/skills/review/code-ai-review/SKILL.md +203 -0
  254. package/src/gdskills/bundled/skills/review/code-ai-review/SKILL.opencode.md +204 -0
  255. package/src/gdskills/bundled/skills/review/code-ai-review/SKILL.zed.md +204 -0
  256. package/src/gdskills/bundled/skills/review/code-b091-review/SKILL.codex.md +209 -0
  257. package/src/gdskills/bundled/skills/review/code-b091-review/SKILL.cursor.md +209 -0
  258. package/src/gdskills/bundled/skills/review/code-b091-review/SKILL.md +208 -0
  259. package/src/gdskills/bundled/skills/review/code-b091-review/SKILL.opencode.md +209 -0
  260. package/src/gdskills/bundled/skills/review/code-b091-review/SKILL.zed.md +209 -0
  261. package/src/gdskills/bundled/skills/review/code-mobx-store-review/SKILL.codex.md +263 -0
  262. package/src/gdskills/bundled/skills/review/code-mobx-store-review/SKILL.cursor.md +263 -0
  263. package/src/gdskills/bundled/skills/review/code-mobx-store-review/SKILL.md +258 -0
  264. package/src/gdskills/bundled/skills/review/code-mobx-store-review/SKILL.opencode.md +263 -0
  265. package/src/gdskills/bundled/skills/review/code-mobx-store-review/SKILL.zed.md +263 -0
  266. package/src/gdskills/bundled/skills/review/code-style-review/SKILL.codex.md +175 -0
  267. package/src/gdskills/bundled/skills/review/code-style-review/SKILL.cursor.md +175 -0
  268. package/src/gdskills/bundled/skills/review/code-style-review/SKILL.md +168 -0
  269. package/src/gdskills/bundled/skills/review/code-style-review/SKILL.opencode.md +175 -0
  270. package/src/gdskills/bundled/skills/review/code-style-review/SKILL.zed.md +175 -0
  271. package/src/gdskills/bundled/skills/review/review-architecture/SKILL.md +360 -0
  272. package/src/gdskills/bundled/skills/review/review-backend/SKILL.md +337 -0
  273. package/src/gdskills/bundled/skills/review/review-clean-code/SKILL.md +477 -0
  274. package/src/gdskills/bundled/skills/review/review-core-boundaries/SKILL.md +93 -0
  275. package/src/gdskills/bundled/skills/review/review-flow-graph/SKILL.md +119 -0
  276. package/src/gdskills/bundled/skills/review/review-frontend/SKILL.md +595 -0
  277. package/src/gdskills/bundled/skills/review/review-frontend-conventions/SKILL.md +144 -0
  278. package/src/gdskills/bundled/skills/review/review-highload/SKILL.md +519 -0
  279. package/src/gdskills/bundled/skills/review/review-logic/SKILL.md +323 -0
  280. package/src/gdskills/bundled/skills/review/review-orchestrator/SKILL.md +927 -0
  281. package/src/gdskills/bundled/skills/review/review-orchestrator/input-contract.schema.json +153 -0
  282. package/src/gdskills/bundled/skills/review/review-orchestrator/output-contract.schema.json +77 -0
  283. package/src/gdskills/bundled/skills/review/review-orchestrator/review-context.schema.json +389 -0
  284. package/src/gdskills/bundled/skills/review/review-orchestrator/reviewer-finding.schema.json +189 -0
  285. package/src/gdskills/bundled/skills/review/review-orchestrator/reviewer-input.schema.json +241 -0
  286. package/src/gdskills/bundled/skills/review/review-performance/SKILL.md +344 -0
  287. package/src/gdskills/bundled/skills/review/review-pr-feedback/SKILL.md +327 -0
  288. package/src/gdskills/bundled/skills/review/review-security-code/SKILL.md +348 -0
  289. package/src/gdskills/bundled/skills/review/review-strict/SKILL.md +328 -0
  290. package/src/gdskills/bundled/skills/review/review-style/SKILL.md +343 -0
  291. package/src/gdskills/bundled/skills/review/review-testing-practices/SKILL.md +134 -0
  292. package/src/gdskills/bundled/skills/shared/git-merge-base.md +33 -0
  293. package/src/gdskills/contracts/agent-event.schema.json +32 -0
  294. package/src/gdskills/contracts/orchestrator-state.schema.json +58 -0
  295. package/src/gdskills/contracts/review-finding.schema.json +59 -0
  296. package/src/gdskills/contracts/subagent-dispatch.schema.json +123 -0
  297. package/src/gdskills/contracts/subagent-result.schema.json +136 -0
@@ -0,0 +1,253 @@
1
+ ---
2
+ name: autodoc-writer
3
+ description: >
4
+ Phase 4 subagent for autodoc-orchestrator. Writes one documentation section
5
+ from analysis artifacts. Dispatched in parallel — one instance per section.
6
+ Use when: dispatched by autodoc-orchestrator Phase 4.
7
+ NOT for: direct user invocation.
8
+ version: 1.0.0
9
+ ---
10
+
11
+ # autodoc-writer
12
+
13
+ ## Purpose
14
+
15
+ Transform technical analysis artifacts into clear, human-readable documentation
16
+ for one specific section. Each instance handles exactly one output file.
17
+
18
+ ## Iron Laws
19
+
20
+ | # | Law |
21
+ |---|-----|
22
+ | 1 | Write ONE section per invocation |
23
+ | 2 | All content MUST be derived from input artifacts — no hallucination |
24
+ | 3 | Write for the target audience (developer onboarding, API consumers, architects) |
25
+ | 4 | Use concrete examples from the actual codebase (real file paths, real commands) |
26
+ | 5 | If a section requires info not in the artifacts, note it as [TODO: add X] rather than inventing |
27
+
28
+ ---
29
+
30
+ ## Input Contract
31
+
32
+ ```yaml
33
+ section: "onboarding | architecture | modules | api-reference | data-models"
34
+ language: "en | ru"
35
+ input_artifacts:
36
+ - ".metaproject/jobs/<job>/artifacts/project-map.md"
37
+ - ".metaproject/jobs/<job>/artifacts/architecture.md"
38
+ - ".metaproject/jobs/<job>/artifacts/analysis/*.md"
39
+ output_path: ".metaproject/jobs/<job>/docs/<section>.md"
40
+ JOB_DIR: "<job directory>"
41
+ PROJECT_DIR: "<project path>"
42
+ ```
43
+
44
+ ## Output Contract
45
+
46
+ ```yaml
47
+ status: "DONE" | "DONE_WITH_CONCERNS"
48
+ summary: "<2-3 sentences: what was written, any gaps found>"
49
+ concerns: ["<info that was missing from artifacts>"]
50
+ artifact_path: ".metaproject/jobs/<job>/docs/<section>.md"
51
+ ```
52
+
53
+ ---
54
+
55
+ ## Section Templates
56
+
57
+ ### onboarding.md
58
+
59
+ Target audience: developer joining the project for the first time.
60
+
61
+ ```markdown
62
+ # Getting Started with <Project Name>
63
+
64
+ ## What Is This Project?
65
+ <1-paragraph overview: what it does, who uses it, main value>
66
+
67
+ ## Architecture at a Glance
68
+ <3-5 bullet points covering the main components>
69
+ Full details: [Architecture](architecture.md)
70
+
71
+ ## Prerequisites
72
+ - <runtime + version>
73
+ - <tool + version>
74
+ - <env requirements>
75
+
76
+ ## Setup
77
+
78
+ ### 1. Clone the Repository
79
+ ```bash
80
+ git clone <repo url>
81
+ cd <project>
82
+ ```
83
+
84
+ ### 2. Install Dependencies
85
+ ```bash
86
+ <install command per module>
87
+ ```
88
+
89
+ ### 3. Configure Environment
90
+ ```bash
91
+ cp .env.example .env
92
+ # Required variables:
93
+ # DATABASE_URL=...
94
+ # API_KEY=...
95
+ ```
96
+
97
+ ### 4. Run Locally
98
+ ```bash
99
+ <dev command>
100
+ ```
101
+
102
+ ### 5. Run Tests
103
+ ```bash
104
+ <test command>
105
+ ```
106
+
107
+ ## Project Structure
108
+ <annotated top-level directory tree>
109
+
110
+ ## Development Workflow
111
+ <branch strategy, PR process, CI/CD pipeline>
112
+
113
+ ## Common Tasks
114
+ | Task | Command |
115
+ |------|---------|
116
+ | Start dev server | `<cmd>` |
117
+ | Run tests | `<cmd>` |
118
+ | Build for production | `<cmd>` |
119
+ | Run migrations | `<cmd>` |
120
+ ```
121
+
122
+ ---
123
+
124
+ ### architecture.md
125
+
126
+ Target audience: developer understanding system design.
127
+
128
+ ```markdown
129
+ # Architecture
130
+
131
+ ## Overview
132
+ <2-3 paragraphs: architectural style, why it was chosen (if evident), main trade-offs>
133
+
134
+ ## Components
135
+ <system diagram in text / table form>
136
+
137
+ ## Module Breakdown
138
+ <for each module: 1 paragraph + key responsibilities>
139
+
140
+ ## Data Flow
141
+ <main request path through the system, step by step>
142
+
143
+ ## Cross-Cutting Concerns
144
+ <auth, logging, error handling, caching — how each works>
145
+
146
+ ## Key Design Decisions
147
+ <important architectural choices evident from the codebase>
148
+ ```
149
+
150
+ ---
151
+
152
+ ### modules.md
153
+
154
+ Target audience: developer working on a specific module.
155
+
156
+ ```markdown
157
+ # Module Reference
158
+
159
+ ## <Module Name>
160
+
161
+ ### Purpose
162
+ <what this module does>
163
+
164
+ ### Entry Point
165
+ `<file path>`
166
+
167
+ ### Directory Structure
168
+ <annotated tree>
169
+
170
+ ### Key Components
171
+ | Component | File | Responsibility |
172
+ |-----------|------|---------------|
173
+
174
+ ### Public API
175
+ <endpoints or exports with descriptions>
176
+
177
+ ### Configuration
178
+ | Variable | Required | Description |
179
+ |----------|---------|-------------|
180
+
181
+ ### Testing
182
+ <how to run, test patterns>
183
+
184
+ ---
185
+ <repeat for each module>
186
+ ```
187
+
188
+ ---
189
+
190
+ ### api-reference.md
191
+
192
+ Target audience: API consumer / integration developer.
193
+
194
+ ```markdown
195
+ # API Reference
196
+
197
+ ## Base URL
198
+ `<base URL>`
199
+
200
+ ## Authentication
201
+ <how to authenticate>
202
+
203
+ ## Endpoints
204
+
205
+ ### <Resource Name>
206
+
207
+ #### `<METHOD> <path>`
208
+ **Description**: <what it does>
209
+
210
+ **Request**
211
+ ```json
212
+ {
213
+ "field": "type — description"
214
+ }
215
+ ```
216
+
217
+ **Response**
218
+ ```json
219
+ {
220
+ "field": "type — description"
221
+ }
222
+ ```
223
+
224
+ **Errors**
225
+ | Code | Meaning |
226
+ |------|---------|
227
+
228
+ ---
229
+ <repeat for each endpoint group>
230
+ ```
231
+
232
+ ---
233
+
234
+ ### data-models.md
235
+
236
+ Target audience: developer working with data layer.
237
+
238
+ ```markdown
239
+ # Data Models
240
+
241
+ ## <Model Name>
242
+ **Source**: `<schema file path>`
243
+ **Used in**: <modules/endpoints>
244
+
245
+ | Field | Type | Required | Description |
246
+ |-------|------|---------|-------------|
247
+
248
+ ## Relationships
249
+ <entity relationship description>
250
+
251
+ ## Migrations
252
+ <how to run, where they live>
253
+ ```
@@ -0,0 +1,46 @@
1
+ ---
2
+ description: Structured brainstorming — architecture decisions, problem solving, open exploration
3
+ allowed-tools: Read(*), Glob(*), Bash(git log:*), Bash(git branch:*)
4
+ ---
5
+
6
+ ## Context
7
+
8
+ - Project: !`basename $(git rev-parse --show-toplevel 2>/dev/null) 2>/dev/null || basename $PWD`
9
+ - Current branch: !`git branch --show-current 2>/dev/null || echo "n/a"`
10
+ - Recent work: !`git log --oneline -5 2>/dev/null || echo "n/a"`
11
+
12
+ ## Your task
13
+
14
+ Topic to brainstorm: $ARGUMENTS
15
+
16
+ Run a structured brainstorm session. Auto-detect mode from topic:
17
+
18
+ ### Mode A — Feature / Architecture
19
+ *when topic is about building or designing something*
20
+
21
+ 1. **Restate the problem** in one sentence
22
+ 2. **Constraints** — perf, compat, team, time, existing stack
23
+ 3. **5-7 distinct approaches** — each with: catchy name, core idea (1-2 sentences), key trade-off
24
+ 4. **Wild card** — one unconventional idea that breaks assumptions
25
+ 5. **Recommendation** — top 2 with reasoning
26
+ 6. **Open questions** — what must be decided before committing
27
+
28
+ ### Mode B — Problem Solving
29
+ *when topic is a bug, failure, or "why is X happening"*
30
+
31
+ 1. **Reproduce** — what fails, when, under what conditions
32
+ 2. **5 hypotheses** — ordered by likelihood
33
+ 3. **Fastest disproof** — specific command or check for each
34
+ 4. **Most likely culprit** — and why
35
+ 5. **Fix options** — quick fix vs proper fix
36
+
37
+ ### Mode C — Open-ended / Creative
38
+ *when topic is vague or exploratory*
39
+
40
+ 1. **Expand the space** — 3 different framings of the question
41
+ 2. **Diverge** — 10 raw ideas, no filtering
42
+ 3. **Converge** — cluster into 3 strongest themes
43
+ 4. **Stress test** — what could go wrong with each?
44
+ 5. **Next step** — one concrete action
45
+
46
+ Be direct and opinionated. Never end without a concrete recommendation.
@@ -0,0 +1,90 @@
1
+ ---
2
+ name: brainstorm
3
+ description: "Structured brainstorming with multiple thinking perspectives (Pragmatist, Innovator, Critic). Generates ideas, evaluates trade-offs via comparison matrix, produces actionable recommendation. Use for architecture decisions, feature ideation, problem solving, tech choices, naming."
4
+ triggers:
5
+ - "/brainstorm"
6
+ - "Brainstorm"
7
+ - "Let's think about"
8
+ - "What are options for"
9
+ - "How should we approach"
10
+ - "Compare approaches"
11
+ metadata:
12
+ author: "MrCipherSmith"
13
+ version: "1.0.0"
14
+ category: "ideation"
15
+ license: "MIT"
16
+ compatibility: "cursor,codex,zed,opencode,claude"
17
+ ---
18
+
19
+ # Brainstorm
20
+
21
+ Structured brainstorming that explores a topic from multiple angles and converges on actionable options.
22
+
23
+ ## Arguments
24
+
25
+ - `/brainstorm <topic>` — full brainstorm with 3 parallel agents
26
+ - `/brainstorm --quick <topic>` — inline fast brainstorm (no agents, for simple decisions)
27
+ - `/brainstorm --deep <topic>` — 5 agents (+Security Analyst, +UX Advocate)
28
+ - `/brainstorm --code` — focus on code architecture (reads codebase for context)
29
+
30
+ ## Workflow
31
+
32
+ ### Step 1: Frame the Problem
33
+ 1. Restate the user's challenge in clear terms
34
+ 2. Identify constraints: technical, business, quality
35
+ 3. If in a project directory, scan codebase for relevant context
36
+
37
+ ### Step 2: Diverge — Generate Ideas (3 Parallel Agents)
38
+
39
+ Launch 3 agents simultaneously:
40
+
41
+ **Agent 1 — Pragmatist**
42
+ > "Propose 2-3 solutions optimizing for speed of delivery, simplicity, and maintainability. Use boring, proven technology. For each: approach, pros/cons, effort (S/M/L)."
43
+
44
+ **Agent 2 — Innovator**
45
+ > "Propose 2-3 unconventional or cutting-edge solutions. Think new patterns, emerging tools, or approaches from other domains. For each: approach, pros/cons, effort."
46
+
47
+ **Agent 3 — Critic**
48
+ > "What are the hidden risks? What will break at scale? What will be painful to maintain? Produce 5-7 critical questions any solution must address."
49
+
50
+ ### Step 3: Converge — Synthesize
51
+
52
+ ```markdown
53
+ ## Ideas Map
54
+ ### Option A: [Name]
55
+ **Approach:** ... | **Pros:** ... | **Cons:** ...
56
+ **Effort:** S/M/L | **Risk:** Low/Med/High
57
+
58
+ ## Critical Questions
59
+ (from Critic — apply to ALL options)
60
+
61
+ ## Comparison Matrix
62
+ | Criteria | Option A | Option B | Option C |
63
+ |-----------------|----------|----------|----------|
64
+ | Effort | S | M | L |
65
+ | Risk | Low | Med | High |
66
+ | Scalability | ★★★ | ★★★★ | ★★★★★ |
67
+ | Time to ship | 1 week | 3 weeks | 6 weeks |
68
+ ```
69
+
70
+ ### Step 4: Recommend
71
+ 1. **Recommended option** with reasoning
72
+ 2. **Runner-up** and when you'd pick it instead
73
+ 3. **Next steps** — concrete action items
74
+
75
+ ### Step 5: Discuss
76
+ Offer to go deeper on any option or kick off `/feature-dev` / `/prd-creator`.
77
+
78
+ ## Quick Mode (--quick)
79
+ Skip agents. Inline: 3-5 options in table, score each, recommend one.
80
+
81
+ ## Deep Mode (--deep)
82
+ Add: **Security Analyst** (auth, data exposure, compliance) and **UX Advocate** (complexity, learning curve, accessibility).
83
+
84
+ ## Rules
85
+
86
+ - Ground ideas in the project's actual tech stack and constraints
87
+ - Include effort estimates — ideas without estimates aren't actionable
88
+ - The Critic's questions must be answered by the recommendation
89
+ - Don't dismiss "boring" solutions — they often win
90
+ - End with concrete next steps, not just analysis
@@ -0,0 +1,90 @@
1
+ ---
2
+ name: brainstorm
3
+ description: "Structured brainstorming with multiple thinking perspectives (Pragmatist, Innovator, Critic). Generates ideas, evaluates trade-offs via comparison matrix, produces actionable recommendation. Use for architecture decisions, feature ideation, problem solving, tech choices, naming."
4
+ triggers:
5
+ - "/brainstorm"
6
+ - "Brainstorm"
7
+ - "Let's think about"
8
+ - "What are options for"
9
+ - "How should we approach"
10
+ - "Compare approaches"
11
+ metadata:
12
+ author: "MrCipherSmith"
13
+ version: "1.0.0"
14
+ category: "ideation"
15
+ license: "MIT"
16
+ compatibility: "cursor,codex,zed,opencode,claude"
17
+ ---
18
+
19
+ # Brainstorm
20
+
21
+ Structured brainstorming that explores a topic from multiple angles and converges on actionable options.
22
+
23
+ ## Arguments
24
+
25
+ - `/brainstorm <topic>` — full brainstorm with 3 parallel agents
26
+ - `/brainstorm --quick <topic>` — inline fast brainstorm (no agents, for simple decisions)
27
+ - `/brainstorm --deep <topic>` — 5 agents (+Security Analyst, +UX Advocate)
28
+ - `/brainstorm --code` — focus on code architecture (reads codebase for context)
29
+
30
+ ## Workflow
31
+
32
+ ### Step 1: Frame the Problem
33
+ 1. Restate the user's challenge in clear terms
34
+ 2. Identify constraints: technical, business, quality
35
+ 3. If in a project directory, scan codebase for relevant context
36
+
37
+ ### Step 2: Diverge — Generate Ideas (3 Parallel Agents)
38
+
39
+ Launch 3 agents simultaneously:
40
+
41
+ **Agent 1 — Pragmatist**
42
+ > "Propose 2-3 solutions optimizing for speed of delivery, simplicity, and maintainability. Use boring, proven technology. For each: approach, pros/cons, effort (S/M/L)."
43
+
44
+ **Agent 2 — Innovator**
45
+ > "Propose 2-3 unconventional or cutting-edge solutions. Think new patterns, emerging tools, or approaches from other domains. For each: approach, pros/cons, effort."
46
+
47
+ **Agent 3 — Critic**
48
+ > "What are the hidden risks? What will break at scale? What will be painful to maintain? Produce 5-7 critical questions any solution must address."
49
+
50
+ ### Step 3: Converge — Synthesize
51
+
52
+ ```markdown
53
+ ## Ideas Map
54
+ ### Option A: [Name]
55
+ **Approach:** ... | **Pros:** ... | **Cons:** ...
56
+ **Effort:** S/M/L | **Risk:** Low/Med/High
57
+
58
+ ## Critical Questions
59
+ (from Critic — apply to ALL options)
60
+
61
+ ## Comparison Matrix
62
+ | Criteria | Option A | Option B | Option C |
63
+ |-----------------|----------|----------|----------|
64
+ | Effort | S | M | L |
65
+ | Risk | Low | Med | High |
66
+ | Scalability | ★★★ | ★★★★ | ★★★★★ |
67
+ | Time to ship | 1 week | 3 weeks | 6 weeks |
68
+ ```
69
+
70
+ ### Step 4: Recommend
71
+ 1. **Recommended option** with reasoning
72
+ 2. **Runner-up** and when you'd pick it instead
73
+ 3. **Next steps** — concrete action items
74
+
75
+ ### Step 5: Discuss
76
+ Offer to go deeper on any option or kick off `/feature-dev` / `/prd-creator`.
77
+
78
+ ## Quick Mode (--quick)
79
+ Skip agents. Inline: 3-5 options in table, score each, recommend one.
80
+
81
+ ## Deep Mode (--deep)
82
+ Add: **Security Analyst** (auth, data exposure, compliance) and **UX Advocate** (complexity, learning curve, accessibility).
83
+
84
+ ## Rules
85
+
86
+ - Ground ideas in the project's actual tech stack and constraints
87
+ - Include effort estimates — ideas without estimates aren't actionable
88
+ - The Critic's questions must be answered by the recommendation
89
+ - Don't dismiss "boring" solutions — they often win
90
+ - End with concrete next steps, not just analysis
@@ -0,0 +1,90 @@
1
+ ---
2
+ name: brainstorm
3
+ description: "Use when exploring architecture decisions, tech choices, feature ideas, or any open-ended problem that benefits from multiple perspectives."
4
+ triggers:
5
+ - "/brainstorm"
6
+ - "Brainstorm"
7
+ - "Let's think about"
8
+ - "What are options for"
9
+ - "How should we approach"
10
+ - "Compare approaches"
11
+ metadata:
12
+ author: "MrCipherSmith"
13
+ version: "1.0.0"
14
+ category: "ideation"
15
+ license: "MIT"
16
+ compatibility: "cursor,codex,zed,opencode,claude"
17
+ ---
18
+
19
+ # Brainstorm
20
+
21
+ Structured brainstorming that explores a topic from multiple angles and converges on actionable options.
22
+
23
+ ## Arguments
24
+
25
+ - `/brainstorm <topic>` — full brainstorm with 3 parallel agents
26
+ - `/brainstorm --quick <topic>` — inline fast brainstorm (no agents, for simple decisions)
27
+ - `/brainstorm --deep <topic>` — 5 agents (+Security Analyst, +UX Advocate)
28
+ - `/brainstorm --code` — focus on code architecture (reads codebase for context)
29
+
30
+ ## Workflow
31
+
32
+ ### Step 1: Frame the Problem
33
+ 1. Restate the user's challenge in clear terms
34
+ 2. Identify constraints: technical, business, quality
35
+ 3. If in a project directory, scan codebase for relevant context
36
+
37
+ ### Step 2: Diverge — Generate Ideas (3 Parallel Agents)
38
+
39
+ Launch 3 agents simultaneously:
40
+
41
+ **Agent 1 — Pragmatist**
42
+ > "Propose 2-3 solutions optimizing for speed of delivery, simplicity, and maintainability. Use boring, proven technology. For each: approach, pros/cons, effort (S/M/L)."
43
+
44
+ **Agent 2 — Innovator**
45
+ > "Propose 2-3 unconventional or cutting-edge solutions. Think new patterns, emerging tools, or approaches from other domains. For each: approach, pros/cons, effort."
46
+
47
+ **Agent 3 — Critic**
48
+ > "What are the hidden risks? What will break at scale? What will be painful to maintain? Produce 5-7 critical questions any solution must address."
49
+
50
+ ### Step 3: Converge — Synthesize
51
+
52
+ ```markdown
53
+ ## Ideas Map
54
+ ### Option A: [Name]
55
+ **Approach:** ... | **Pros:** ... | **Cons:** ...
56
+ **Effort:** S/M/L | **Risk:** Low/Med/High
57
+
58
+ ## Critical Questions
59
+ (from Critic — apply to ALL options)
60
+
61
+ ## Comparison Matrix
62
+ | Criteria | Option A | Option B | Option C |
63
+ |-----------------|----------|----------|----------|
64
+ | Effort | S | M | L |
65
+ | Risk | Low | Med | High |
66
+ | Scalability | ★★★ | ★★★★ | ★★★★★ |
67
+ | Time to ship | 1 week | 3 weeks | 6 weeks |
68
+ ```
69
+
70
+ ### Step 4: Recommend
71
+ 1. **Recommended option** with reasoning
72
+ 2. **Runner-up** and when you'd pick it instead
73
+ 3. **Next steps** — concrete action items
74
+
75
+ ### Step 5: Discuss
76
+ Offer to go deeper on any option or kick off `/feature-dev` / `/prd-creator`.
77
+
78
+ ## Quick Mode (--quick)
79
+ Skip agents. Inline: 3-5 options in table, score each, recommend one.
80
+
81
+ ## Deep Mode (--deep)
82
+ Add: **Security Analyst** (auth, data exposure, compliance) and **UX Advocate** (complexity, learning curve, accessibility).
83
+
84
+ ## Rules
85
+
86
+ - Ground ideas in the project's actual tech stack and constraints
87
+ - Include effort estimates — ideas without estimates aren't actionable
88
+ - The Critic's questions must be answered by the recommendation
89
+ - Don't dismiss "boring" solutions — they often win
90
+ - End with concrete next steps, not just analysis
@@ -0,0 +1,33 @@
1
+ ---
2
+ name: gproject-consistency-checker
3
+ description: "Validates PRD against decisions registry, architecture doc, and best practices constraints. Adversarial quality gate. Use when: dispatched by gproject-orchestrator Phase 5."
4
+ triggers:
5
+ - "gproject-consistency-checker: validate PRD"
6
+ - "Dispatched by gproject-orchestrator Phase 5"
7
+ metadata:
8
+ author: "MrCipherSmith"
9
+ version: "1.0.0"
10
+ category: "planning"
11
+ license: "MIT"
12
+ compatibility: "cursor,codex,zed,opencode"
13
+ ---
14
+
15
+
16
+ # gproject-consistency-checker
17
+
18
+ ## Purpose
19
+
20
+ Quality gate before human approval. Systematically verify that the PRD
21
+ is internally consistent and fully aligned with all upstream decisions.
22
+ This agent is adversarial — its job is to find problems, not to approve.
23
+
24
+ ## Iron Laws
25
+
26
+ | # | Law |
27
+ |---|-----|
28
+ | 1 | Check EVERY decision in decisions.md against PRD — no sampling |
29
+ | 2 | Check EVERY MUST constraint in tech-bestpractices.md against PRD |
30
+ | 3 | Report ALL violations — don't stop at the first one |
31
+ | 4 | Classify severity: CRITICAL (blocks approval) / WARNING (should fix) / INFO (suggestion) |
32
+ | 5 | NEVER fix violations yourself — only report them |
33
+ | 6 | A clean report still lists what was checked (audit trail) |
@@ -0,0 +1,33 @@
1
+ ---
2
+ name: gproject-consistency-checker
3
+ description: "Validates PRD against decisions registry, architecture doc, and best practices constraints. Adversarial quality gate. Use when: dispatched by gproject-orchestrator Phase 5."
4
+ triggers:
5
+ - "gproject-consistency-checker: validate PRD"
6
+ - "Dispatched by gproject-orchestrator Phase 5"
7
+ metadata:
8
+ author: "MrCipherSmith"
9
+ version: "1.0.0"
10
+ category: "planning"
11
+ license: "MIT"
12
+ compatibility: "cursor,codex,zed,opencode"
13
+ ---
14
+
15
+
16
+ # gproject-consistency-checker
17
+
18
+ ## Purpose
19
+
20
+ Quality gate before human approval. Systematically verify that the PRD
21
+ is internally consistent and fully aligned with all upstream decisions.
22
+ This agent is adversarial — its job is to find problems, not to approve.
23
+
24
+ ## Iron Laws
25
+
26
+ | # | Law |
27
+ |---|-----|
28
+ | 1 | Check EVERY decision in decisions.md against PRD — no sampling |
29
+ | 2 | Check EVERY MUST constraint in tech-bestpractices.md against PRD |
30
+ | 3 | Report ALL violations — don't stop at the first one |
31
+ | 4 | Classify severity: CRITICAL (blocks approval) / WARNING (should fix) / INFO (suggestion) |
32
+ | 5 | NEVER fix violations yourself — only report them |
33
+ | 6 | A clean report still lists what was checked (audit trail) |