@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,352 @@
1
+ ---
2
+ name: code-verifier
3
+ description: "Use when running a full quality gate after implementation — lint, type-check, tests, and import validation. Mandatory step in job-orchestrator after task-implementer and after fix iterations. Use standalone when you need a structured verification report."
4
+ triggers:
5
+ - "Run verification"
6
+ - "Quality gate"
7
+ - "Check code quality"
8
+ - "Run lint and tests"
9
+ - "Verify implementation"
10
+ - "Run checks"
11
+ metadata:
12
+ author: "MrCipherSmith"
13
+ version: "1.0.0"
14
+ category: "verification"
15
+ agent_worthy: true
16
+ license: "MIT"
17
+ compatibility: "cursor,codex,zed,opencode"
18
+ ---
19
+
20
+ # Code Verifier
21
+
22
+ ## Purpose
23
+
24
+ Runs the full quality gate for a project: lint, type-check, tests, and import validation. Provides a structured, parseable result that the orchestrator uses to decide whether to proceed or trigger a fix loop.
25
+
26
+ **Distinct from `task-implementer` Phase 5:** task-implementer does inline self-verification during implementation. `code-verifier` is an independent gate that runs after all tasks in a wave are complete — giving a clean, consolidated view of the whole diff, not per-task.
27
+
28
+ **Input:** Codebase path + worktree path + scope (changed files or full project)
29
+ **Output:** `VERIFICATION_RESULT` structured report — gate status (pass/fail), per-check results, actionable findings
30
+
31
+ ## When to Use
32
+
33
+ - Dispatched by `job-orchestrator` after each task-implementer wave (mandatory)
34
+ - Dispatched by `job-orchestrator` after each fix iteration
35
+ - Run standalone: "verify my code", "run quality gate", "/code-verifier"
36
+ - Any time you need a reproducible, structured view of project health
37
+
38
+ ## Architecture: 4 Phases
39
+
40
+ ```
41
+ Phase 1: DETECT → Auto-detect stack, tooling, commands
42
+ Phase 2: RUN → Execute lint → type-check → tests → import-check
43
+ Phase 3: ANALYZE → Parse outputs, classify findings by severity
44
+ Phase 4: REPORT → Emit VERIFICATION_RESULT
45
+ ```
46
+
47
+ ---
48
+
49
+ ## Workflow
50
+
51
+ ```
52
+ Code Verifier Progress:
53
+ - [ ] Phase 1: Detect stack and tooling
54
+ - [ ] Phase 2: Run verification checks
55
+ - [ ] Phase 3: Analyze and classify findings
56
+ - [ ] Phase 4: Report results
57
+ ```
58
+
59
+ ---
60
+
61
+ ### Phase 1: DETECT
62
+
63
+ Auto-detect the project stack and available verification tools.
64
+
65
+ **1.1 Package manager and runner:**
66
+
67
+ ```bash
68
+ cd <codebase_path>
69
+
70
+ if [ -f bun.lockb ]; then PM=bun; RUNNER="bun run"
71
+ elif [ -f pnpm-lock.yaml ]; then PM=pnpm; RUNNER="pnpm run"
72
+ elif [ -f yarn.lock ]; then PM=yarn; RUNNER="yarn"
73
+ elif [ -f package-lock.json ]; then PM=npm; RUNNER="npm run"
74
+ elif [ -f pyproject.toml ] || [ -f requirements.txt ]; then PM=python; RUNNER=""
75
+ elif [ -f go.mod ]; then PM=go; RUNNER=""
76
+ else PM=unknown; RUNNER=""
77
+ fi
78
+ ```
79
+
80
+ **1.2 Detect available check commands:**
81
+
82
+ | Check | How to detect | Command |
83
+ |---|---|---|
84
+ | Lint | `package.json` has `"lint"` script | `$RUNNER lint` |
85
+ | Lint (auto) | `eslint.config.*` or `.eslintrc*` present | `npx eslint . --max-warnings 0` |
86
+ | Biome | `biome.json` present | `npx biome check .` |
87
+ | Type-check | `package.json` has `"type-check"` or `"typecheck"` script | `$RUNNER type-check` |
88
+ | Type-check (auto) | `tsconfig.json` present | `npx tsc --noEmit` |
89
+ | Tests | `package.json` has `"test"` script | `$RUNNER test --run` (vitest) or `$RUNNER test` |
90
+ | pytest | `pytest` in `pyproject.toml` or `requirements.txt` | `pytest --tb=short -q` |
91
+ | Go tests | `go.mod` present | `go test ./...` |
92
+ | Circular imports | `madge` in devDependencies | `npx madge --circular src/` |
93
+
94
+ **1.3 Determine scope:**
95
+
96
+ ```
97
+ IF scope = "changed" (default when dispatched by orchestrator):
98
+ FILES = git diff --name-only <base_branch>...HEAD
99
+ Run tests only for files related to changed code
100
+ Run lint only on changed files: npx eslint <changed_files>
101
+ Run type-check on full project (tsc doesn't support file-level scope)
102
+
103
+ IF scope = "full":
104
+ Run all checks on full project
105
+ ```
106
+
107
+ **Output of Phase 1:**
108
+ ```
109
+ TOOLING:
110
+ pm: bun | pnpm | yarn | npm | python | go | unknown
111
+ runner: "bun run" | ...
112
+ checks_available: [lint, type-check, tests, circular-imports]
113
+ checks_skipped: [<reason>]
114
+ scope: changed | full
115
+ changed_files: [<paths>]
116
+ ```
117
+
118
+ ---
119
+
120
+ ### Phase 2: RUN
121
+
122
+ Execute each available check in order. Capture full output.
123
+
124
+ **Execution order:** lint → type-check → tests → import-check
125
+
126
+ **Do NOT abort early** — run all checks even if one fails. The orchestrator needs the complete picture.
127
+
128
+ **2.1 Lint:**
129
+ ```bash
130
+ # Changed files only (faster, more actionable)
131
+ npx eslint <changed_files> --format=json --max-warnings 0
132
+ # OR if lint script exists:
133
+ $RUNNER lint
134
+ ```
135
+
136
+ Capture:
137
+ - Exit code (0 = pass, non-zero = fail)
138
+ - Number of errors and warnings
139
+ - Per-file error list (file path, line, column, rule, message)
140
+
141
+ **2.2 Type-check:**
142
+ ```bash
143
+ npx tsc --noEmit 2>&1
144
+ # OR:
145
+ $RUNNER type-check
146
+ ```
147
+
148
+ Capture:
149
+ - Exit code
150
+ - Number of errors
151
+ - Per-error: file, line, column, message, TS error code
152
+
153
+ **2.3 Tests:**
154
+ ```bash
155
+ $RUNNER test --run 2>&1 # vitest
156
+ # OR: npx jest --ci 2>&1
157
+ # OR: pytest --tb=short -q 2>&1
158
+ # OR: go test ./... 2>&1
159
+ ```
160
+
161
+ Capture:
162
+ - Exit code
163
+ - Tests passed / failed / skipped counts
164
+ - Per-failure: test name, file, error message, stack (first 5 lines)
165
+
166
+ **2.4 Circular import check (if madge available):**
167
+ ```bash
168
+ npx madge --circular --extensions ts,tsx src/ 2>&1
169
+ ```
170
+
171
+ Capture:
172
+ - Exit code
173
+ - List of circular chains (if any)
174
+
175
+ ---
176
+
177
+ ### Phase 3: ANALYZE
178
+
179
+ Parse raw outputs into structured findings. Classify by severity.
180
+
181
+ **3.1 Severity classification:**
182
+
183
+ | Finding | Severity |
184
+ |---|---|
185
+ | Type error | CRITICAL |
186
+ | Test failure | CRITICAL |
187
+ | ESLint error (not warning) | HIGH |
188
+ | Circular import | HIGH |
189
+ | ESLint warning | LOW |
190
+ | Skipped test | INFO |
191
+
192
+ **3.2 Gate decision:**
193
+
194
+ ```
195
+ GATE = PASS
196
+ IF any CRITICAL findings → GATE = FAIL (blocks proceed)
197
+ IF any HIGH findings → GATE = FAIL (blocks proceed)
198
+ IF only LOW/INFO findings → GATE = PASS_WITH_WARNINGS
199
+ ```
200
+
201
+ **3.3 Actionable finding format:**
202
+
203
+ Each finding must include enough context for `task-implementer` (fix mode) to resolve it without re-reading the full output:
204
+
205
+ ```
206
+ {
207
+ severity: CRITICAL | HIGH | LOW | INFO,
208
+ check: lint | type-check | test | circular-import,
209
+ file: <path>,
210
+ line: <N> | null,
211
+ column: <N> | null,
212
+ rule: <ESLint rule or TS error code> | null,
213
+ message: <error text>,
214
+ suggestion: <optional fix hint>
215
+ }
216
+ ```
217
+
218
+ ---
219
+
220
+ ### Phase 4: REPORT
221
+
222
+ Emit the structured `VERIFICATION_RESULT` as the final message.
223
+
224
+ ```
225
+ VERIFICATION_RESULT:
226
+ gate: PASS | PASS_WITH_WARNINGS | FAIL
227
+ scope: changed | full
228
+
229
+ checks:
230
+ lint:
231
+ status: pass | fail | skipped
232
+ errors: <N>
233
+ warnings: <N>
234
+ command_used: "<command>"
235
+
236
+ type_check:
237
+ status: pass | fail | skipped
238
+ errors: <N>
239
+ command_used: "<command>"
240
+
241
+ tests:
242
+ status: pass | fail | skipped
243
+ passed: <N>
244
+ failed: <N>
245
+ skipped: <N>
246
+ command_used: "<command>"
247
+
248
+ circular_imports:
249
+ status: pass | fail | skipped
250
+ cycles: <N>
251
+
252
+ findings:
253
+ - severity: CRITICAL
254
+ check: type-check
255
+ file: src/services/UserService.ts
256
+ line: 42
257
+ rule: TS2345
258
+ message: "Argument of type 'string' is not assignable to parameter of type 'number'"
259
+ - severity: HIGH
260
+ check: lint
261
+ file: src/components/Form.tsx
262
+ line: 18
263
+ rule: "no-unused-vars"
264
+ message: "'value' is defined but never used"
265
+
266
+ summary: "<1-2 sentence human-readable summary>"
267
+ ```
268
+
269
+ **STATUS reporting:**
270
+
271
+ ```
272
+ STATUS: DONE — gate PASS or PASS_WITH_WARNINGS, report follows
273
+ STATUS: DONE_WITH_CONCERNS — PASS_WITH_WARNINGS with notable warnings
274
+ STATUS: BLOCKED — could not run checks (missing tooling, wrong directory)
275
+ ```
276
+
277
+ > If `gate: FAIL` → STATUS is still `DONE` (the gate result, not the skill's execution). The orchestrator reads `gate: FAIL` and decides to trigger fix.
278
+
279
+ ---
280
+
281
+ ## Integration with job-orchestrator
282
+
283
+ The orchestrator dispatches `code-verifier` at two points:
284
+
285
+ **After task-implementer wave (pre-review gate):**
286
+ ```
287
+ code-verifier:
288
+ codebase_path: <worktree_path>
289
+ scope: changed
290
+ base_branch: <base_branch from JOB_STATE>
291
+ → If gate: FAIL → dispatch fix tasks → re-run code-verifier
292
+ → If gate: PASS → proceed to review
293
+ ```
294
+
295
+ **After fix iterations (post-fix gate):**
296
+ ```
297
+ code-verifier:
298
+ codebase_path: <worktree_path>
299
+ scope: changed
300
+ → If gate still FAIL after 2 iterations → report as BLOCKED, skip to report
301
+ → If gate: PASS → proceed to report
302
+ ```
303
+
304
+ **The orchestrator's internal "checks" step (2.8) is replaced by `code-verifier` dispatch.**
305
+
306
+ ---
307
+
308
+ ## Standalone Usage
309
+
310
+ ```bash
311
+ # Run on current directory, changed files only
312
+ /code-verifier
313
+
314
+ # Run on specific project
315
+ /code-verifier --path /path/to/project
316
+
317
+ # Full project scan (not just changed files)
318
+ /code-verifier --scope full
319
+ ```
320
+
321
+ ---
322
+
323
+ ## Automation Settings
324
+
325
+ | Setting | Default | Options | Description |
326
+ |---------|---------|---------|-------------|
327
+ | `scope` | `changed` | `changed` / `full` | Limit checks to changed files or run full project |
328
+ | `fail_on_warnings` | `false` | true/false | Treat ESLint warnings as gate failures |
329
+ | `include_circular` | `true` | true/false | Run circular import detection if madge available |
330
+ | `max_findings_reported` | `20` | 1-100 | Cap findings in report to avoid overflow |
331
+
332
+ ---
333
+
334
+ ## Error Handling
335
+
336
+ | Error | Action |
337
+ |---|---|
338
+ | Check command not found | Mark check as `skipped`, continue others |
339
+ | Wrong working directory | ABORT with `STATUS: BLOCKED` and directory hint |
340
+ | Command times out (>120s) | Mark check as `skipped (timeout)`, continue |
341
+ | Zero checks available | `STATUS: BLOCKED` — cannot verify without any tooling |
342
+ | Circular import tool missing | Skip silently (not installed in all projects) |
343
+
344
+ ---
345
+
346
+ ## Rules of Engagement
347
+
348
+ 1. **Run ALL checks** — never abort after first failure. The orchestrator needs the full picture.
349
+ 2. **Do NOT modify files** — this is read-only verification.
350
+ 3. **Scope to changed files** by default — full scans are slow and produce noise.
351
+ 4. **Be specific** in findings — include file, line, rule, message. Vague "lint failed" is not actionable.
352
+ 5. Return `VERIFICATION_RESULT` as the **final message** to the orchestrator.
@@ -0,0 +1,39 @@
1
+ ---
2
+ name: code-verifier
3
+ description: "Full quality gate: lint, type-check, tests, circular imports. Mandatory post-implementation step in job-orchestrator. Use when: verifying code after implementation, running quality gate before review, checking code health standalone."
4
+ triggers:
5
+ - "Run verification"
6
+ - "Quality gate"
7
+ - "Run lint and tests"
8
+ - "Verify implementation"
9
+ - "Run checks"
10
+ metadata:
11
+ author: "MrCipherSmith"
12
+ version: "1.0.0"
13
+ category: "verification"
14
+ license: "MIT"
15
+ compatibility: "cursor,codex,zed,opencode"
16
+ ---
17
+
18
+ # Code Verifier
19
+
20
+ Quality gate: lint → type-check → tests → circular imports.
21
+
22
+ **Position in pipeline:** task-implementer → **code-verifier** → review
23
+
24
+ ## Execution
25
+ 1. Auto-detect PM and available tools
26
+ 2. Run ALL checks (never stop on first failure)
27
+ 3. Gate: CRITICAL/HIGH findings = FAIL, LOW = PASS_WITH_WARNINGS
28
+
29
+ ## Output
30
+ ```
31
+ VERIFICATION_RESULT:
32
+ gate: PASS | PASS_WITH_WARNINGS | FAIL
33
+ checks: { lint, type_check, tests, circular_imports }
34
+ findings: [{ severity, check, file, line, rule, message }]
35
+
36
+ STATUS: DONE | DONE_WITH_CONCERNS | BLOCKED
37
+ ```
38
+
39
+ Full spec: `.metaproject/skills/gdskills/orchestration/code-verifier/SKILL.md`
@@ -0,0 +1,29 @@
1
+ ---
2
+ name: code-verifier
3
+ description: "Full quality gate: lint, type-check, tests, circular imports. Mandatory post-implementation step in job-orchestrator. Use when: verifying code after implementation, running quality gate before review."
4
+ triggers:
5
+ - "Run verification"
6
+ - "Quality gate"
7
+ - "Run lint and tests"
8
+ - "Verify implementation"
9
+ metadata:
10
+ author: "MrCipherSmith"
11
+ version: "1.0.0"
12
+ category: "verification"
13
+ license: "MIT"
14
+ compatibility: "cursor,codex,zed,opencode"
15
+ ---
16
+
17
+ # Code Verifier
18
+
19
+ lint → type-check → tests → circular-import gate.
20
+
21
+ **Pipeline:** task-implementer → **code-verifier** → review
22
+
23
+ ## Steps
24
+ 1. Detect tooling
25
+ 2. Run all checks (never abort early)
26
+ 3. Classify: CRITICAL/HIGH = FAIL, LOW = PASS_WITH_WARNINGS
27
+ 4. Emit VERIFICATION_RESULT
28
+
29
+ Full spec: `.metaproject/skills/gdskills/orchestration/code-verifier/SKILL.md`