@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.
- package/LICENSE +21 -0
- package/README.md +351 -0
- package/dist/cli.js +48427 -0
- package/dist/proxy-worker.js +381 -0
- package/package.json +63 -0
- package/src/gdgraph/affected.test.ts +100 -0
- package/src/gdgraph/affected.ts +135 -0
- package/src/gdgraph/build-integrity.test.ts +193 -0
- package/src/gdgraph/build-lang.test.ts +399 -0
- package/src/gdgraph/build.test.ts +120 -0
- package/src/gdgraph/build.ts +804 -0
- package/src/gdgraph/config.test.ts +47 -0
- package/src/gdgraph/config.ts +113 -0
- package/src/gdgraph/core-sources.test.ts +99 -0
- package/src/gdgraph/core-sources.ts +20 -0
- package/src/gdgraph/enrich.ts +79 -0
- package/src/gdgraph/fallback.test.ts +153 -0
- package/src/gdgraph/find.test.ts +78 -0
- package/src/gdgraph/find.ts +107 -0
- package/src/gdgraph/pagerank.ts +129 -0
- package/src/gdgraph/path.test.ts +56 -0
- package/src/gdgraph/path.ts +112 -0
- package/src/gdgraph/query.ts +133 -0
- package/src/gdgraph/repomap.test.ts +110 -0
- package/src/gdgraph/repomap.ts +193 -0
- package/src/gdgraph/service.test.ts +59 -0
- package/src/gdgraph/service.ts +51 -0
- package/src/gdgraph/staleness.ts +20 -0
- package/src/gdgraph/symbol.test.ts +89 -0
- package/src/gdgraph/symbol.ts +123 -0
- package/src/gdgraph/symbols-capability.test.ts +41 -0
- package/src/gdgraph/symbols-capability.ts +49 -0
- package/src/gdgraph/target.ts +56 -0
- package/src/gdgraph/treesitter/adapter.test.ts +249 -0
- package/src/gdgraph/treesitter/adapter.ts +213 -0
- package/src/gdgraph/treesitter/extract.test.ts +278 -0
- package/src/gdgraph/treesitter/extract.ts +389 -0
- package/src/gdgraph/treesitter/grammars.ts +110 -0
- package/src/gdgraph/treesitter/no-treesitter-import.test.ts +51 -0
- package/src/gdgraph/treesitter/resolve-calls.test.ts +38 -0
- package/src/gdgraph/types.ts +63 -0
- package/src/gdskills/bundled/rules/core/api-contracts.mdc +148 -0
- package/src/gdskills/bundled/rules/core/async-patterns.mdc +185 -0
- package/src/gdskills/bundled/rules/core/clean-architecture.mdc +163 -0
- package/src/gdskills/bundled/rules/core/code-review-ai-assistant.mdc +49 -0
- package/src/gdskills/bundled/rules/core/code-review-b091-profile.mdc +48 -0
- package/src/gdskills/bundled/rules/core/code-style-patterns.mdc +54 -0
- package/src/gdskills/bundled/rules/core/commit-message-formatting.mdc +25 -0
- package/src/gdskills/bundled/rules/core/database-patterns.mdc +162 -0
- package/src/gdskills/bundled/rules/core/documentation-management.mdc +106 -0
- package/src/gdskills/bundled/rules/core/error-handling.mdc +163 -0
- package/src/gdskills/bundled/rules/core/execution-metrics.md +99 -0
- package/src/gdskills/bundled/rules/core/frontend-assistant.mdc +40 -0
- package/src/gdskills/bundled/rules/core/git-rules.mdc +37 -0
- package/src/gdskills/bundled/rules/core/gproject-contracts.mdc +198 -0
- package/src/gdskills/bundled/rules/core/implementation-doc-mandate.mdc +149 -0
- package/src/gdskills/bundled/rules/core/implementation-plans.mdc +58 -0
- package/src/gdskills/bundled/rules/core/jobs-documentation.mdc +221 -0
- package/src/gdskills/bundled/rules/core/mobx-store-template.mdc +561 -0
- package/src/gdskills/bundled/rules/core/model-selection.mdc +53 -0
- package/src/gdskills/bundled/rules/core/nestjs-dto.mdc +50 -0
- package/src/gdskills/bundled/rules/core/playwright-testing.mdc +321 -0
- package/src/gdskills/bundled/rules/core/requirements-management.mdc +35 -0
- package/src/gdskills/bundled/rules/core/requirements-package-standard.mdc +103 -0
- package/src/gdskills/bundled/rules/core/review-agent-profile.mdc +49 -0
- package/src/gdskills/bundled/rules/core/review-strict-profile.mdc +44 -0
- package/src/gdskills/bundled/rules/core/rule-management-workflow.mdc +62 -0
- package/src/gdskills/bundled/rules/core/security-baseline.mdc +155 -0
- package/src/gdskills/bundled/rules/core/shared-definitions.mdc +79 -0
- package/src/gdskills/bundled/rules/core/skill-lifecycle.mdc +55 -0
- package/src/gdskills/bundled/rules/core/skills-storage-workflow.mdc +88 -0
- package/src/gdskills/bundled/rules/core/solid-principles.mdc +149 -0
- package/src/gdskills/bundled/rules/core/storybook-guidelines.mdc +36 -0
- package/src/gdskills/bundled/rules/core/subagent-context-construction.md +107 -0
- package/src/gdskills/bundled/rules/core/subagent-status-protocol.md +169 -0
- package/src/gdskills/bundled/rules/core/tdd-workflow.mdc +96 -0
- package/src/gdskills/bundled/skills/orchestration/code-verifier/SKILL.codex.md +47 -0
- package/src/gdskills/bundled/skills/orchestration/code-verifier/SKILL.cursor.md +55 -0
- package/src/gdskills/bundled/skills/orchestration/code-verifier/SKILL.md +352 -0
- package/src/gdskills/bundled/skills/orchestration/code-verifier/SKILL.opencode.md +39 -0
- package/src/gdskills/bundled/skills/orchestration/code-verifier/SKILL.zed.md +29 -0
- package/src/gdskills/bundled/skills/orchestration/context-collector/SKILL.codex.md +567 -0
- package/src/gdskills/bundled/skills/orchestration/context-collector/SKILL.cursor.md +567 -0
- package/src/gdskills/bundled/skills/orchestration/context-collector/SKILL.md +655 -0
- package/src/gdskills/bundled/skills/orchestration/context-collector/SKILL.opencode.md +567 -0
- package/src/gdskills/bundled/skills/orchestration/context-collector/SKILL.zed.md +567 -0
- package/src/gdskills/bundled/skills/orchestration/context-collector/input-contract.schema.json +134 -0
- package/src/gdskills/bundled/skills/orchestration/context-collector/orchestrator-prompt.md +183 -0
- package/src/gdskills/bundled/skills/orchestration/context-collector/output-contract.schema.json +208 -0
- package/src/gdskills/bundled/skills/orchestration/feature-analyzer/SKILL.codex.md +1412 -0
- package/src/gdskills/bundled/skills/orchestration/feature-analyzer/SKILL.cursor.md +1412 -0
- package/src/gdskills/bundled/skills/orchestration/feature-analyzer/SKILL.detail.md +735 -0
- package/src/gdskills/bundled/skills/orchestration/feature-analyzer/SKILL.md +468 -0
- package/src/gdskills/bundled/skills/orchestration/feature-analyzer/SKILL.opencode.md +1412 -0
- package/src/gdskills/bundled/skills/orchestration/feature-analyzer/SKILL.zed.md +1412 -0
- package/src/gdskills/bundled/skills/orchestration/feature-analyzer/analysis-request.md +62 -0
- package/src/gdskills/bundled/skills/orchestration/feature-analyzer/analysis-request.template.md +79 -0
- package/src/gdskills/bundled/skills/orchestration/feature-analyzer/input-contract.schema.json +247 -0
- package/src/gdskills/bundled/skills/orchestration/feature-analyzer/orchestrator-prompt.md +362 -0
- package/src/gdskills/bundled/skills/orchestration/feature-analyzer/output-contract.schema.json +87 -0
- package/src/gdskills/bundled/skills/orchestration/feature-dev/SKILL.codex.md +105 -0
- package/src/gdskills/bundled/skills/orchestration/feature-dev/SKILL.cursor.md +105 -0
- package/src/gdskills/bundled/skills/orchestration/feature-dev/SKILL.md +165 -0
- package/src/gdskills/bundled/skills/orchestration/flow-orchestrator/SKILL.md +379 -0
- package/src/gdskills/bundled/skills/orchestration/flow-orchestrator/input-contract.schema.json +33 -0
- package/src/gdskills/bundled/skills/orchestration/flow-orchestrator/output-contract.schema.json +41 -0
- package/src/gdskills/bundled/skills/orchestration/issue-analyzer/SKILL.codex.md +307 -0
- package/src/gdskills/bundled/skills/orchestration/issue-analyzer/SKILL.cursor.md +307 -0
- package/src/gdskills/bundled/skills/orchestration/issue-analyzer/SKILL.md +373 -0
- package/src/gdskills/bundled/skills/orchestration/issue-analyzer/SKILL.opencode.md +307 -0
- package/src/gdskills/bundled/skills/orchestration/issue-analyzer/SKILL.zed.md +307 -0
- package/src/gdskills/bundled/skills/orchestration/issue-analyzer/input-contract.schema.json +130 -0
- package/src/gdskills/bundled/skills/orchestration/issue-analyzer/issue-request.template.md +50 -0
- package/src/gdskills/bundled/skills/orchestration/issue-analyzer/orchestrator-prompt.md +155 -0
- package/src/gdskills/bundled/skills/orchestration/issue-analyzer/output-contract.schema.json +61 -0
- package/src/gdskills/bundled/skills/orchestration/job-documenter/SKILL.codex.md +365 -0
- package/src/gdskills/bundled/skills/orchestration/job-documenter/SKILL.cursor.md +365 -0
- package/src/gdskills/bundled/skills/orchestration/job-documenter/SKILL.md +373 -0
- package/src/gdskills/bundled/skills/orchestration/job-documenter/SKILL.opencode.md +365 -0
- package/src/gdskills/bundled/skills/orchestration/job-documenter/SKILL.zed.md +365 -0
- package/src/gdskills/bundled/skills/orchestration/job-documenter/input-contract.schema.json +55 -0
- package/src/gdskills/bundled/skills/orchestration/job-documenter/output-contract.schema.json +58 -0
- package/src/gdskills/bundled/skills/orchestration/job-orchestrator/SKILL.codex.md +1701 -0
- package/src/gdskills/bundled/skills/orchestration/job-orchestrator/SKILL.cursor.md +1701 -0
- package/src/gdskills/bundled/skills/orchestration/job-orchestrator/SKILL.md +1734 -0
- package/src/gdskills/bundled/skills/orchestration/job-orchestrator/SKILL.opencode.md +1701 -0
- package/src/gdskills/bundled/skills/orchestration/job-orchestrator/SKILL.zed.md +1701 -0
- package/src/gdskills/bundled/skills/orchestration/job-orchestrator/input-contract.schema.json +188 -0
- package/src/gdskills/bundled/skills/orchestration/job-orchestrator/orchestrator-prompt.md +179 -0
- package/src/gdskills/bundled/skills/orchestration/job-orchestrator/output-contract.schema.json +103 -0
- package/src/gdskills/bundled/skills/orchestration/job-orchestrator/state.schema.json +164 -0
- package/src/gdskills/bundled/skills/orchestration/task-implementer/SKILL.codex.md +395 -0
- package/src/gdskills/bundled/skills/orchestration/task-implementer/SKILL.cursor.md +395 -0
- package/src/gdskills/bundled/skills/orchestration/task-implementer/SKILL.md +556 -0
- package/src/gdskills/bundled/skills/orchestration/task-implementer/SKILL.opencode.md +395 -0
- package/src/gdskills/bundled/skills/orchestration/task-implementer/SKILL.zed.md +395 -0
- package/src/gdskills/bundled/skills/orchestration/task-implementer/input-contract.schema.json +204 -0
- package/src/gdskills/bundled/skills/orchestration/task-implementer/orchestrator-prompt.md +206 -0
- package/src/gdskills/bundled/skills/orchestration/task-implementer/output-contract.schema.json +51 -0
- package/src/gdskills/bundled/skills/orchestration/task-implementer/task-request.template.md +111 -0
- package/src/gdskills/bundled/skills/planning/autodoc-analyst/SKILL.md +163 -0
- package/src/gdskills/bundled/skills/planning/autodoc-architect/SKILL.md +161 -0
- package/src/gdskills/bundled/skills/planning/autodoc-assembler/SKILL.md +128 -0
- package/src/gdskills/bundled/skills/planning/autodoc-orchestrator/SKILL.md +321 -0
- package/src/gdskills/bundled/skills/planning/autodoc-scanner/SKILL.md +166 -0
- package/src/gdskills/bundled/skills/planning/autodoc-writer/SKILL.md +253 -0
- package/src/gdskills/bundled/skills/planning/brainstorm/SKILL.claude.md +46 -0
- package/src/gdskills/bundled/skills/planning/brainstorm/SKILL.codex.md +90 -0
- package/src/gdskills/bundled/skills/planning/brainstorm/SKILL.cursor.md +90 -0
- package/src/gdskills/bundled/skills/planning/brainstorm/SKILL.md +90 -0
- package/src/gdskills/bundled/skills/planning/consistency-checker/SKILL.codex.md +33 -0
- package/src/gdskills/bundled/skills/planning/consistency-checker/SKILL.cursor.md +33 -0
- package/src/gdskills/bundled/skills/planning/consistency-checker/SKILL.md +190 -0
- package/src/gdskills/bundled/skills/planning/docpack-orchestrator/SKILL.md +142 -0
- package/src/gdskills/bundled/skills/planning/docpack-orchestrator/input-contract.schema.json +31 -0
- package/src/gdskills/bundled/skills/planning/docpack-orchestrator/output-contract.schema.json +31 -0
- package/src/gdskills/bundled/skills/planning/docpack-review/SKILL.md +80 -0
- package/src/gdskills/bundled/skills/planning/docpack-review/input-contract.schema.json +20 -0
- package/src/gdskills/bundled/skills/planning/docpack-review/output-contract.schema.json +36 -0
- package/src/gdskills/bundled/skills/planning/interview/SKILL.codex.md +181 -0
- package/src/gdskills/bundled/skills/planning/interview/SKILL.cursor.md +181 -0
- package/src/gdskills/bundled/skills/planning/interview/SKILL.md +187 -0
- package/src/gdskills/bundled/skills/planning/interviewer/SKILL.claude.md +94 -0
- package/src/gdskills/bundled/skills/planning/interviewer/SKILL.codex.md +99 -0
- package/src/gdskills/bundled/skills/planning/interviewer/SKILL.cursor.md +99 -0
- package/src/gdskills/bundled/skills/planning/interviewer/SKILL.md +105 -0
- package/src/gdskills/bundled/skills/planning/patterns-researcher/SKILL.codex.md +33 -0
- package/src/gdskills/bundled/skills/planning/patterns-researcher/SKILL.cursor.md +33 -0
- package/src/gdskills/bundled/skills/planning/patterns-researcher/SKILL.md +237 -0
- package/src/gdskills/bundled/skills/planning/planner/SKILL.codex.md +33 -0
- package/src/gdskills/bundled/skills/planning/planner/SKILL.cursor.md +33 -0
- package/src/gdskills/bundled/skills/planning/planner/SKILL.md +190 -0
- package/src/gdskills/bundled/skills/planning/prd-creator/SKILL.codex.md +193 -0
- package/src/gdskills/bundled/skills/planning/prd-creator/SKILL.cursor.md +193 -0
- package/src/gdskills/bundled/skills/planning/prd-creator/SKILL.md +193 -0
- package/src/gdskills/bundled/skills/planning/prd-creator/SKILL.opencode.md +193 -0
- package/src/gdskills/bundled/skills/planning/prd-creator/SKILL.zed.md +193 -0
- package/src/gdskills/bundled/skills/planning/prd-creator/input-contract.schema.json +63 -0
- package/src/gdskills/bundled/skills/planning/prd-creator/output-contract.schema.json +175 -0
- package/src/gdskills/bundled/skills/planning/problem-definer/SKILL.codex.md +31 -0
- package/src/gdskills/bundled/skills/planning/problem-definer/SKILL.cursor.md +31 -0
- package/src/gdskills/bundled/skills/planning/problem-definer/SKILL.md +153 -0
- package/src/gdskills/bundled/skills/planning/project-discovery/SKILL.codex.md +32 -0
- package/src/gdskills/bundled/skills/planning/project-discovery/SKILL.cursor.md +32 -0
- package/src/gdskills/bundled/skills/planning/project-discovery/SKILL.md +166 -0
- package/src/gdskills/bundled/skills/planning/spec-writer/SKILL.codex.md +44 -0
- package/src/gdskills/bundled/skills/planning/spec-writer/SKILL.cursor.md +44 -0
- package/src/gdskills/bundled/skills/planning/spec-writer/SKILL.md +243 -0
- package/src/gdskills/bundled/skills/planning/stack-advisor/SKILL.codex.md +43 -0
- package/src/gdskills/bundled/skills/planning/stack-advisor/SKILL.cursor.md +43 -0
- package/src/gdskills/bundled/skills/planning/stack-advisor/SKILL.md +193 -0
- package/src/gdskills/bundled/skills/platform/agent-entrypoint-distiller/SKILL.md +47 -0
- package/src/gdskills/bundled/skills/platform/claude-md-management/SKILL.codex.md +87 -0
- package/src/gdskills/bundled/skills/platform/claude-md-management/SKILL.cursor.md +87 -0
- package/src/gdskills/bundled/skills/platform/claude-md-management/SKILL.md +87 -0
- package/src/gdskills/bundled/skills/platform/hookify/SKILL.codex.md +100 -0
- package/src/gdskills/bundled/skills/platform/hookify/SKILL.cursor.md +100 -0
- package/src/gdskills/bundled/skills/platform/hookify/SKILL.md +100 -0
- package/src/gdskills/bundled/skills/quality/changelog/SKILL.claude.md +45 -0
- package/src/gdskills/bundled/skills/quality/changelog/SKILL.codex.md +84 -0
- package/src/gdskills/bundled/skills/quality/changelog/SKILL.cursor.md +84 -0
- package/src/gdskills/bundled/skills/quality/changelog/SKILL.md +84 -0
- package/src/gdskills/bundled/skills/quality/commit/SKILL.codex.md +66 -0
- package/src/gdskills/bundled/skills/quality/commit/SKILL.cursor.md +66 -0
- package/src/gdskills/bundled/skills/quality/commit/SKILL.md +66 -0
- package/src/gdskills/bundled/skills/quality/db-migrate/SKILL.claude.md +40 -0
- package/src/gdskills/bundled/skills/quality/db-migrate/SKILL.codex.md +66 -0
- package/src/gdskills/bundled/skills/quality/db-migrate/SKILL.cursor.md +66 -0
- package/src/gdskills/bundled/skills/quality/db-migrate/SKILL.md +66 -0
- package/src/gdskills/bundled/skills/quality/dependency-update/SKILL.claude.md +45 -0
- package/src/gdskills/bundled/skills/quality/dependency-update/SKILL.codex.md +81 -0
- package/src/gdskills/bundled/skills/quality/dependency-update/SKILL.cursor.md +81 -0
- package/src/gdskills/bundled/skills/quality/dependency-update/SKILL.md +81 -0
- package/src/gdskills/bundled/skills/quality/deploy/SKILL.claude.md +42 -0
- package/src/gdskills/bundled/skills/quality/deploy/SKILL.codex.md +70 -0
- package/src/gdskills/bundled/skills/quality/deploy/SKILL.cursor.md +70 -0
- package/src/gdskills/bundled/skills/quality/deploy/SKILL.md +70 -0
- package/src/gdskills/bundled/skills/quality/metaproject-security/SKILL.md +103 -0
- package/src/gdskills/bundled/skills/quality/perf-check/SKILL.claude.md +48 -0
- package/src/gdskills/bundled/skills/quality/perf-check/SKILL.codex.md +83 -0
- package/src/gdskills/bundled/skills/quality/perf-check/SKILL.cursor.md +83 -0
- package/src/gdskills/bundled/skills/quality/perf-check/SKILL.md +83 -0
- package/src/gdskills/bundled/skills/quality/pr/SKILL.codex.md +75 -0
- package/src/gdskills/bundled/skills/quality/pr/SKILL.cursor.md +75 -0
- package/src/gdskills/bundled/skills/quality/pr/SKILL.md +75 -0
- package/src/gdskills/bundled/skills/quality/pr-issue-documenter/SKILL.codex.md +364 -0
- package/src/gdskills/bundled/skills/quality/pr-issue-documenter/SKILL.cursor.md +295 -0
- package/src/gdskills/bundled/skills/quality/pr-issue-documenter/SKILL.md +378 -0
- package/src/gdskills/bundled/skills/quality/pr-issue-documenter/SKILL.opencode.md +364 -0
- package/src/gdskills/bundled/skills/quality/pr-issue-documenter/SKILL.zed.md +38 -0
- package/src/gdskills/bundled/skills/quality/pr-issue-documenter/input-contract.schema.json +53 -0
- package/src/gdskills/bundled/skills/quality/pr-issue-documenter/output-contract.schema.json +46 -0
- package/src/gdskills/bundled/skills/quality/push/SKILL.codex.md +52 -0
- package/src/gdskills/bundled/skills/quality/push/SKILL.cursor.md +52 -0
- package/src/gdskills/bundled/skills/quality/push/SKILL.md +52 -0
- package/src/gdskills/bundled/skills/quality/security-audit/SKILL.claude.md +40 -0
- package/src/gdskills/bundled/skills/quality/security-audit/SKILL.codex.md +61 -0
- package/src/gdskills/bundled/skills/quality/security-audit/SKILL.cursor.md +61 -0
- package/src/gdskills/bundled/skills/quality/security-audit/SKILL.md +61 -0
- package/src/gdskills/bundled/skills/quality/test-gen/SKILL.claude.md +30 -0
- package/src/gdskills/bundled/skills/quality/test-gen/SKILL.codex.md +75 -0
- package/src/gdskills/bundled/skills/quality/test-gen/SKILL.cursor.md +75 -0
- package/src/gdskills/bundled/skills/quality/test-gen/SKILL.md +75 -0
- package/src/gdskills/bundled/skills/quality/tests-creator/SKILL.codex.md +64 -0
- package/src/gdskills/bundled/skills/quality/tests-creator/SKILL.cursor.md +74 -0
- package/src/gdskills/bundled/skills/quality/tests-creator/SKILL.md +339 -0
- package/src/gdskills/bundled/skills/quality/tests-creator/SKILL.opencode.md +48 -0
- package/src/gdskills/bundled/skills/quality/tests-creator/SKILL.zed.md +44 -0
- package/src/gdskills/bundled/skills/quality/tests-creator/input-contract.schema.json +121 -0
- package/src/gdskills/bundled/skills/quality/tests-creator/output-contract.schema.json +127 -0
- package/src/gdskills/bundled/skills/review/code-ai-review/SKILL.codex.md +204 -0
- package/src/gdskills/bundled/skills/review/code-ai-review/SKILL.cursor.md +204 -0
- package/src/gdskills/bundled/skills/review/code-ai-review/SKILL.md +203 -0
- package/src/gdskills/bundled/skills/review/code-ai-review/SKILL.opencode.md +204 -0
- package/src/gdskills/bundled/skills/review/code-ai-review/SKILL.zed.md +204 -0
- package/src/gdskills/bundled/skills/review/code-b091-review/SKILL.codex.md +209 -0
- package/src/gdskills/bundled/skills/review/code-b091-review/SKILL.cursor.md +209 -0
- package/src/gdskills/bundled/skills/review/code-b091-review/SKILL.md +208 -0
- package/src/gdskills/bundled/skills/review/code-b091-review/SKILL.opencode.md +209 -0
- package/src/gdskills/bundled/skills/review/code-b091-review/SKILL.zed.md +209 -0
- package/src/gdskills/bundled/skills/review/code-mobx-store-review/SKILL.codex.md +263 -0
- package/src/gdskills/bundled/skills/review/code-mobx-store-review/SKILL.cursor.md +263 -0
- package/src/gdskills/bundled/skills/review/code-mobx-store-review/SKILL.md +258 -0
- package/src/gdskills/bundled/skills/review/code-mobx-store-review/SKILL.opencode.md +263 -0
- package/src/gdskills/bundled/skills/review/code-mobx-store-review/SKILL.zed.md +263 -0
- package/src/gdskills/bundled/skills/review/code-style-review/SKILL.codex.md +175 -0
- package/src/gdskills/bundled/skills/review/code-style-review/SKILL.cursor.md +175 -0
- package/src/gdskills/bundled/skills/review/code-style-review/SKILL.md +168 -0
- package/src/gdskills/bundled/skills/review/code-style-review/SKILL.opencode.md +175 -0
- package/src/gdskills/bundled/skills/review/code-style-review/SKILL.zed.md +175 -0
- package/src/gdskills/bundled/skills/review/review-architecture/SKILL.md +360 -0
- package/src/gdskills/bundled/skills/review/review-backend/SKILL.md +337 -0
- package/src/gdskills/bundled/skills/review/review-clean-code/SKILL.md +477 -0
- package/src/gdskills/bundled/skills/review/review-core-boundaries/SKILL.md +93 -0
- package/src/gdskills/bundled/skills/review/review-flow-graph/SKILL.md +119 -0
- package/src/gdskills/bundled/skills/review/review-frontend/SKILL.md +595 -0
- package/src/gdskills/bundled/skills/review/review-frontend-conventions/SKILL.md +144 -0
- package/src/gdskills/bundled/skills/review/review-highload/SKILL.md +519 -0
- package/src/gdskills/bundled/skills/review/review-logic/SKILL.md +323 -0
- package/src/gdskills/bundled/skills/review/review-orchestrator/SKILL.md +927 -0
- package/src/gdskills/bundled/skills/review/review-orchestrator/input-contract.schema.json +153 -0
- package/src/gdskills/bundled/skills/review/review-orchestrator/output-contract.schema.json +77 -0
- package/src/gdskills/bundled/skills/review/review-orchestrator/review-context.schema.json +389 -0
- package/src/gdskills/bundled/skills/review/review-orchestrator/reviewer-finding.schema.json +189 -0
- package/src/gdskills/bundled/skills/review/review-orchestrator/reviewer-input.schema.json +241 -0
- package/src/gdskills/bundled/skills/review/review-performance/SKILL.md +344 -0
- package/src/gdskills/bundled/skills/review/review-pr-feedback/SKILL.md +327 -0
- package/src/gdskills/bundled/skills/review/review-security-code/SKILL.md +348 -0
- package/src/gdskills/bundled/skills/review/review-strict/SKILL.md +328 -0
- package/src/gdskills/bundled/skills/review/review-style/SKILL.md +343 -0
- package/src/gdskills/bundled/skills/review/review-testing-practices/SKILL.md +134 -0
- package/src/gdskills/bundled/skills/shared/git-merge-base.md +33 -0
- package/src/gdskills/contracts/agent-event.schema.json +32 -0
- package/src/gdskills/contracts/orchestrator-state.schema.json +58 -0
- package/src/gdskills/contracts/review-finding.schema.json +59 -0
- package/src/gdskills/contracts/subagent-dispatch.schema.json +123 -0
- package/src/gdskills/contracts/subagent-result.schema.json +136 -0
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gproject-consistency-checker
|
|
3
|
+
description: >
|
|
4
|
+
Validates PRD/Implementation Plan against decisions registry, architecture doc,
|
|
5
|
+
and best practices constraints. Catches contradictions, gaps, and violations.
|
|
6
|
+
Use when: dispatched by gproject-orchestrator Phase 5.
|
|
7
|
+
NOT for: direct user invocation.
|
|
8
|
+
version: 1.0.0
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# gproject-consistency-checker
|
|
12
|
+
|
|
13
|
+
## Purpose
|
|
14
|
+
|
|
15
|
+
Quality gate before human approval. Systematically verify that the PRD
|
|
16
|
+
is internally consistent and fully aligned with all upstream decisions.
|
|
17
|
+
This agent is adversarial — its job is to find problems, not to approve.
|
|
18
|
+
|
|
19
|
+
## Iron Laws
|
|
20
|
+
|
|
21
|
+
| # | Law |
|
|
22
|
+
|---|-----|
|
|
23
|
+
| 1 | Check EVERY decision in decisions.md against PRD — no sampling |
|
|
24
|
+
| 2 | Check EVERY MUST constraint in tech-bestpractices.md against PRD |
|
|
25
|
+
| 3 | Report ALL violations — don't stop at the first one |
|
|
26
|
+
| 4 | Classify severity: CRITICAL (blocks approval) / WARNING (should fix) / INFO (suggestion) |
|
|
27
|
+
| 5 | NEVER fix violations yourself — only report them |
|
|
28
|
+
| 6 | A clean report still lists what was checked (audit trail) |
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## Input Contract
|
|
33
|
+
|
|
34
|
+
```yaml
|
|
35
|
+
task: "Validate PRD consistency against all project decisions and constraints"
|
|
36
|
+
input_artifacts:
|
|
37
|
+
- .metaproject/jobs/<job>/artifacts/prd.md
|
|
38
|
+
- .metaproject/jobs/<job>/artifacts/problem-statement.md
|
|
39
|
+
- .metaproject/jobs/<job>/artifacts/stack-decision.md
|
|
40
|
+
- .metaproject/jobs/<job>/artifacts/architecture.md
|
|
41
|
+
- .metaproject/jobs/<job>/artifacts/tech-bestpractices.md
|
|
42
|
+
- .metaproject/jobs/<job>/decisions.md
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Output Contract
|
|
46
|
+
|
|
47
|
+
```yaml
|
|
48
|
+
status: "DONE" | "DONE_WITH_CONCERNS"
|
|
49
|
+
summary: "<3-5 sentences: checks run, violations found, overall verdict>"
|
|
50
|
+
concerns: ["<CRITICAL violations if any>"]
|
|
51
|
+
artifact_path: ".metaproject/jobs/<job>/artifacts/consistency-report.md"
|
|
52
|
+
# Note: no new_decisions — this agent doesn't make decisions
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Status logic:
|
|
56
|
+
- `DONE` = zero CRITICAL violations (WARNINGs acceptable)
|
|
57
|
+
- `DONE_WITH_CONCERNS` = one or more CRITICAL violations found
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## Workflow
|
|
62
|
+
|
|
63
|
+
### Step 1: Goals ↔ User Stories Check
|
|
64
|
+
|
|
65
|
+
For each goal in problem-statement.md:
|
|
66
|
+
- [ ] At least one user story addresses this goal
|
|
67
|
+
- [ ] User story acceptance criteria map to goal's success metric
|
|
68
|
+
|
|
69
|
+
For each user story in PRD:
|
|
70
|
+
- [ ] Traces back to a defined goal (not an invented one)
|
|
71
|
+
- [ ] Does NOT implement a non-goal
|
|
72
|
+
|
|
73
|
+
**Violation types:**
|
|
74
|
+
- CRITICAL: Goal with no user story coverage
|
|
75
|
+
- CRITICAL: User story implementing a non-goal
|
|
76
|
+
- WARNING: User story with weak traceability to goal
|
|
77
|
+
|
|
78
|
+
### Step 2: Stack ↔ PRD Check
|
|
79
|
+
|
|
80
|
+
For each technology in stack-decision.md:
|
|
81
|
+
- [ ] PRD technical references use this technology (not something else)
|
|
82
|
+
- [ ] No undeclared technologies appear in PRD
|
|
83
|
+
|
|
84
|
+
**Violation types:**
|
|
85
|
+
- CRITICAL: PRD references technology not in stack-decision.md
|
|
86
|
+
- CRITICAL: Key stack technology has no presence in PRD
|
|
87
|
+
- WARNING: Stack technology mentioned but underspecified in PRD
|
|
88
|
+
|
|
89
|
+
### Step 3: Architecture ↔ PRD Check
|
|
90
|
+
|
|
91
|
+
For each architecture decision in architecture.md:
|
|
92
|
+
- [ ] PRD respects layer boundaries
|
|
93
|
+
- [ ] PRD respects dependency direction
|
|
94
|
+
- [ ] PRD technical notes align with defined patterns
|
|
95
|
+
|
|
96
|
+
**Violation types:**
|
|
97
|
+
- CRITICAL: PRD proposes pattern contradicting architecture.md
|
|
98
|
+
- WARNING: PRD section doesn't reference applicable architecture decision
|
|
99
|
+
|
|
100
|
+
### Step 4: Best Practices ↔ PRD Check
|
|
101
|
+
|
|
102
|
+
For each MUST constraint in tech-bestpractices.md:
|
|
103
|
+
- [ ] PRD does not violate this constraint
|
|
104
|
+
- [ ] Relevant user stories reference this constraint
|
|
105
|
+
|
|
106
|
+
For each MUST NOT constraint:
|
|
107
|
+
- [ ] PRD does not propose the antipattern
|
|
108
|
+
|
|
109
|
+
**Violation types:**
|
|
110
|
+
- CRITICAL: PRD violates a MUST constraint
|
|
111
|
+
- CRITICAL: PRD proposes a MUST NOT antipattern
|
|
112
|
+
- WARNING: MUST constraint not referenced by any user story
|
|
113
|
+
|
|
114
|
+
### Step 5: Internal Consistency Check
|
|
115
|
+
|
|
116
|
+
Within the PRD itself:
|
|
117
|
+
- [ ] No two user stories contradict each other
|
|
118
|
+
- [ ] Priorities are consistent (P0 depends on P0, not P1 depending on P2)
|
|
119
|
+
- [ ] Data model matches API surface
|
|
120
|
+
- [ ] Security requirements cover all user-facing features
|
|
121
|
+
- [ ] Testing requirements cover all P0 user stories
|
|
122
|
+
|
|
123
|
+
**Violation types:**
|
|
124
|
+
- CRITICAL: Contradicting user stories
|
|
125
|
+
- CRITICAL: P0 feature with no test coverage requirement
|
|
126
|
+
- WARNING: Priority inconsistency in dependencies
|
|
127
|
+
|
|
128
|
+
### Step 6: Completeness Check
|
|
129
|
+
|
|
130
|
+
- [ ] All sections of PRD template are present
|
|
131
|
+
- [ ] Executive summary matches actual content
|
|
132
|
+
- [ ] Traceability matrix is complete
|
|
133
|
+
- [ ] Open questions are flagged (not hidden)
|
|
134
|
+
|
|
135
|
+
**Violation types:**
|
|
136
|
+
- WARNING: Missing PRD section
|
|
137
|
+
- INFO: Traceability matrix has gaps
|
|
138
|
+
|
|
139
|
+
### Step 7: Write Consistency Report
|
|
140
|
+
|
|
141
|
+
Write `artifacts/consistency-report.md`:
|
|
142
|
+
|
|
143
|
+
```markdown
|
|
144
|
+
# Consistency Report: <Project/Task Name>
|
|
145
|
+
|
|
146
|
+
## Verdict: PASS | PASS_WITH_WARNINGS | FAIL
|
|
147
|
+
|
|
148
|
+
## Summary
|
|
149
|
+
- Checks executed: <count>
|
|
150
|
+
- CRITICAL violations: <count>
|
|
151
|
+
- WARNING violations: <count>
|
|
152
|
+
- INFO items: <count>
|
|
153
|
+
|
|
154
|
+
## Violations
|
|
155
|
+
|
|
156
|
+
### CRITICAL
|
|
157
|
+
#### V-001: <Title>
|
|
158
|
+
- **Check**: <which check caught this>
|
|
159
|
+
- **Found in PRD**: <section/user story reference>
|
|
160
|
+
- **Conflicts with**: <decision ID / constraint ID / architecture section>
|
|
161
|
+
- **Details**: <specific description>
|
|
162
|
+
- **Suggested fix**: <what should change>
|
|
163
|
+
- **Fix target**: <which phase/artifact needs to be updated>
|
|
164
|
+
|
|
165
|
+
### WARNINGS
|
|
166
|
+
#### W-001: <Title>
|
|
167
|
+
...
|
|
168
|
+
|
|
169
|
+
### INFO
|
|
170
|
+
#### I-001: <Title>
|
|
171
|
+
...
|
|
172
|
+
|
|
173
|
+
## Audit Trail
|
|
174
|
+
| Check Category | Items Checked | Passed | Failed |
|
|
175
|
+
|---------------|--------------|--------|--------|
|
|
176
|
+
| Goals ↔ User Stories | <N> | <N> | <N> |
|
|
177
|
+
| Stack ↔ PRD | <N> | <N> | <N> |
|
|
178
|
+
| Architecture ↔ PRD | <N> | <N> | <N> |
|
|
179
|
+
| Best Practices ↔ PRD | <N> | <N> | <N> |
|
|
180
|
+
| Internal Consistency | <N> | <N> | <N> |
|
|
181
|
+
| Completeness | <N> | <N> | <N> |
|
|
182
|
+
|
|
183
|
+
## Rollback Recommendations
|
|
184
|
+
<If CRITICAL violations exist, suggest which phase to rollback to>
|
|
185
|
+
- V-001 → requires rollback to Phase <N> (<reason>)
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
### Step 8: Return Summary
|
|
189
|
+
|
|
190
|
+
Compact summary: verdict, violation counts, rollback recommendation if applicable.
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: docpack-orchestrator
|
|
3
|
+
description: "Use when creating or updating a Metaproject requirements package under docs/requirements: PRD, specification, README, policies/protocols/schemas, roadmap updates, verification, and package review. Use for requests like 'create requirements package', 'prepare module documentation', 'write PRD/spec for module', or 'оформи пакет документации'. Not for reverse-engineering current codebase documentation; use autodoc-orchestrator for that."
|
|
4
|
+
triggers:
|
|
5
|
+
- "create requirements package"
|
|
6
|
+
- "requirements package"
|
|
7
|
+
- "prepare module documentation"
|
|
8
|
+
- "write PRD and spec"
|
|
9
|
+
- "оформи пакет документации"
|
|
10
|
+
- "создай документацию модуля"
|
|
11
|
+
metadata:
|
|
12
|
+
author: "MrCipherSmith"
|
|
13
|
+
version: "1.0.0"
|
|
14
|
+
category: "planning"
|
|
15
|
+
license: "MIT"
|
|
16
|
+
compatibility: "cursor,codex,zed,opencode,claude"
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
# docpack-orchestrator
|
|
20
|
+
|
|
21
|
+
Top-level orchestrator for Metaproject requirements packages under
|
|
22
|
+
`docs/requirements/<name>/`.
|
|
23
|
+
|
|
24
|
+
Use `autodoc-orchestrator` instead when the goal is to reverse-engineer the
|
|
25
|
+
current codebase and produce architecture/onboarding/developer documentation.
|
|
26
|
+
|
|
27
|
+
## Execution metrics (opt-in)
|
|
28
|
+
|
|
29
|
+
When a USER runs this orchestrator directly (not as a dispatched subagent), at
|
|
30
|
+
the start ask "Collect execution statistics for this run? (yes/no)" per
|
|
31
|
+
`.metaproject/rules/core/execution-metrics.md`. If yes, append the
|
|
32
|
+
`## Execution Metrics` section at the end and save it under the docpack output
|
|
33
|
+
dir. Never ask or emit it when dispatched as a subagent.
|
|
34
|
+
|
|
35
|
+
## Iron Laws
|
|
36
|
+
|
|
37
|
+
| # | Law |
|
|
38
|
+
|---|---|
|
|
39
|
+
| 1 | Never create a single loose doc when a package is needed. |
|
|
40
|
+
| 2 | Always follow `rules/core/requirements-package-standard.mdc`. |
|
|
41
|
+
| 3 | Every Markdown doc must have `Version`. |
|
|
42
|
+
| 4 | README, PRD and specification are required for module packages. |
|
|
43
|
+
| 5 | Verification and documentation review are mandatory before final output. |
|
|
44
|
+
| 6 | Do not claim runtime implementation exists unless code proves it. |
|
|
45
|
+
|
|
46
|
+
## Pipeline
|
|
47
|
+
|
|
48
|
+
```text
|
|
49
|
+
Phase 0 Scope -> classify docs type and package name
|
|
50
|
+
Phase 1 Evidence -> collect source notes, decisions, existing docs and code context
|
|
51
|
+
Phase 2 Design -> decide required files and schemas
|
|
52
|
+
Phase 3 Write -> create/update README, PRD, specification and optional docs
|
|
53
|
+
Phase 4 Verify -> structural/version/link/schema checks
|
|
54
|
+
Phase 5 Review -> docpack-review pass
|
|
55
|
+
Phase 6 Report -> concise summary, changed files, gaps and next steps
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Phase 0: Scope
|
|
59
|
+
|
|
60
|
+
Determine:
|
|
61
|
+
|
|
62
|
+
- `package_name` in kebab-case;
|
|
63
|
+
- package kind: `module`, `standard`, `policy`, `implementation-plan`, `report`;
|
|
64
|
+
- target path: `docs/requirements/<package_name>/`;
|
|
65
|
+
- required optional docs: policies, protocols, lifecycle, schemas, metrics.
|
|
66
|
+
|
|
67
|
+
If the user already provided enough context, proceed without asking.
|
|
68
|
+
|
|
69
|
+
## Phase 1: Evidence
|
|
70
|
+
|
|
71
|
+
Collect only relevant context:
|
|
72
|
+
|
|
73
|
+
- existing package files;
|
|
74
|
+
- `docs/requirements/roadmap.md`;
|
|
75
|
+
- module-specific specs;
|
|
76
|
+
- related code paths through `gdgraph`/`gdctx` when available;
|
|
77
|
+
- source notes from the user;
|
|
78
|
+
- accepted decisions and constraints.
|
|
79
|
+
|
|
80
|
+
Do not broad-read the repository when module artifacts or existing docs are
|
|
81
|
+
enough.
|
|
82
|
+
|
|
83
|
+
## Phase 2: Design File Set
|
|
84
|
+
|
|
85
|
+
Required for module/standard packages:
|
|
86
|
+
|
|
87
|
+
```text
|
|
88
|
+
README.md
|
|
89
|
+
prd.md
|
|
90
|
+
specification.md
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
Add optional files only when justified:
|
|
94
|
+
|
|
95
|
+
- `brainstorm.md` for interview/decision history;
|
|
96
|
+
- `policies.md` for policy systems;
|
|
97
|
+
- `agent-protocol.md` for agent behavior;
|
|
98
|
+
- `ci-protocol.md` for CI behavior;
|
|
99
|
+
- `artifact-lifecycle.md` for storage/retention;
|
|
100
|
+
- `metrics-and-validation.md` for measurable validation;
|
|
101
|
+
- `schemas/*.json` for machine-readable contracts.
|
|
102
|
+
|
|
103
|
+
## Phase 3: Write
|
|
104
|
+
|
|
105
|
+
Write concise Markdown with explicit headings. Required contracts:
|
|
106
|
+
|
|
107
|
+
- README: purpose, status, document index, scope, related modules.
|
|
108
|
+
- PRD: problem, goal, users, requirements, success criteria, risks,
|
|
109
|
+
recommendation.
|
|
110
|
+
- Specification: identity, structure, manifest/config, CLI/skill surface, data
|
|
111
|
+
contracts, integrations, acceptance criteria.
|
|
112
|
+
|
|
113
|
+
When updating existing docs, preserve useful content and bump versions.
|
|
114
|
+
|
|
115
|
+
## Phase 4: Verify
|
|
116
|
+
|
|
117
|
+
Run a local verification pass:
|
|
118
|
+
|
|
119
|
+
- required files exist;
|
|
120
|
+
- every Markdown file has `Version`;
|
|
121
|
+
- README links to every package file;
|
|
122
|
+
- schema files are valid JSON;
|
|
123
|
+
- specification references schemas when present;
|
|
124
|
+
- roadmap is updated for new module/standard capabilities;
|
|
125
|
+
- no implementation status is overstated.
|
|
126
|
+
|
|
127
|
+
## Phase 5: Review
|
|
128
|
+
|
|
129
|
+
Use `docpack-review` for an adversarial pass. Fix blockers before
|
|
130
|
+
final output. Warnings may remain only if called out clearly.
|
|
131
|
+
|
|
132
|
+
## Final Response
|
|
133
|
+
|
|
134
|
+
Report:
|
|
135
|
+
|
|
136
|
+
```text
|
|
137
|
+
requirements_package: <path>
|
|
138
|
+
files_created_or_updated: <list>
|
|
139
|
+
verification: pass | pass_with_warnings | fail
|
|
140
|
+
review: pass | pass_with_warnings | fail
|
|
141
|
+
remaining_gaps: <list>
|
|
142
|
+
```
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "docpack-orchestrator-input-contract",
|
|
4
|
+
"title": "Requirements Package Orchestrator Input",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["request", "packageName"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"request": { "type": "string", "minLength": 1 },
|
|
10
|
+
"packageName": { "type": "string", "pattern": "^[a-z0-9][a-z0-9-]*$" },
|
|
11
|
+
"packageKind": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"enum": ["module", "standard", "policy", "implementation-plan", "report"]
|
|
14
|
+
},
|
|
15
|
+
"targetPath": { "type": "string" },
|
|
16
|
+
"requiredDocs": {
|
|
17
|
+
"type": "array",
|
|
18
|
+
"items": { "type": "string" },
|
|
19
|
+
"uniqueItems": true
|
|
20
|
+
},
|
|
21
|
+
"sourceArtifacts": {
|
|
22
|
+
"type": "array",
|
|
23
|
+
"items": { "type": "string" },
|
|
24
|
+
"uniqueItems": true
|
|
25
|
+
},
|
|
26
|
+
"constraints": {
|
|
27
|
+
"type": "array",
|
|
28
|
+
"items": { "type": "string" }
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "docpack-orchestrator-output-contract",
|
|
4
|
+
"title": "Requirements Package Orchestrator Output",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["status", "packagePath", "files", "verification", "review"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"status": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"enum": ["DONE", "DONE_WITH_CONCERNS", "BLOCKED"]
|
|
12
|
+
},
|
|
13
|
+
"packagePath": { "type": "string" },
|
|
14
|
+
"files": {
|
|
15
|
+
"type": "array",
|
|
16
|
+
"items": { "type": "string" }
|
|
17
|
+
},
|
|
18
|
+
"verification": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"enum": ["pass", "pass_with_warnings", "fail"]
|
|
21
|
+
},
|
|
22
|
+
"review": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"enum": ["pass", "pass_with_warnings", "fail"]
|
|
25
|
+
},
|
|
26
|
+
"remainingGaps": {
|
|
27
|
+
"type": "array",
|
|
28
|
+
"items": { "type": "string" }
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: docpack-review
|
|
3
|
+
description: "Use when reviewing or verifying a Metaproject requirements package under docs/requirements for completeness, versioning, README/PRD/spec consistency, schema references, roadmap updates, unsupported claims, and implementation-status accuracy. Usually dispatched by docpack-orchestrator. Not for reviewing autodoc-generated current-codebase documentation."
|
|
4
|
+
triggers:
|
|
5
|
+
- "review requirements package"
|
|
6
|
+
- "verify requirements package"
|
|
7
|
+
- "requirements package review"
|
|
8
|
+
- "check PRD spec consistency"
|
|
9
|
+
- "проверь документацию"
|
|
10
|
+
metadata:
|
|
11
|
+
author: "MrCipherSmith"
|
|
12
|
+
version: "1.0.0"
|
|
13
|
+
category: "planning"
|
|
14
|
+
license: "MIT"
|
|
15
|
+
compatibility: "cursor,codex,zed,opencode,claude"
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
# docpack-review
|
|
19
|
+
|
|
20
|
+
Adversarial reviewer for Metaproject requirements packages.
|
|
21
|
+
|
|
22
|
+
## Iron Laws
|
|
23
|
+
|
|
24
|
+
| # | Law |
|
|
25
|
+
|---|---|
|
|
26
|
+
| 1 | Review every file in the package; do not sample. |
|
|
27
|
+
| 2 | A missing required file is a blocker. |
|
|
28
|
+
| 3 | A missing `Version` field is a blocker. |
|
|
29
|
+
| 4 | Unsupported implementation claims are blockers. |
|
|
30
|
+
| 5 | Contradictions between README, PRD and spec are blockers. |
|
|
31
|
+
| 6 | Do not rewrite docs; report findings and suggested fixes. |
|
|
32
|
+
|
|
33
|
+
## Checklist
|
|
34
|
+
|
|
35
|
+
### Structure
|
|
36
|
+
|
|
37
|
+
- Required files exist: `README.md`, `prd.md`, `specification.md`.
|
|
38
|
+
- Optional files match topic needs.
|
|
39
|
+
- `schemas/*.json` are present when specification defines JSON contracts.
|
|
40
|
+
|
|
41
|
+
### Versioning
|
|
42
|
+
|
|
43
|
+
- Every Markdown file has `Version` under H1.
|
|
44
|
+
- Changed existing docs bumped version.
|
|
45
|
+
|
|
46
|
+
### Links
|
|
47
|
+
|
|
48
|
+
- README links to all package files.
|
|
49
|
+
- Specification links to schemas and related module specs.
|
|
50
|
+
- Roadmap links to the package when it represents a module/capability.
|
|
51
|
+
|
|
52
|
+
### Consistency
|
|
53
|
+
|
|
54
|
+
- README status matches PRD/spec.
|
|
55
|
+
- PRD goals map to specification acceptance criteria.
|
|
56
|
+
- Non-goals are not implemented as requirements.
|
|
57
|
+
- CLI/manifest/config names are consistent.
|
|
58
|
+
|
|
59
|
+
### Accuracy
|
|
60
|
+
|
|
61
|
+
- Runtime implementation is not claimed unless code exists.
|
|
62
|
+
- Future commands are marked future/planned.
|
|
63
|
+
- Integrations distinguish implemented, planned and optional.
|
|
64
|
+
|
|
65
|
+
## Output
|
|
66
|
+
|
|
67
|
+
Return findings first:
|
|
68
|
+
|
|
69
|
+
```text
|
|
70
|
+
STATUS: DONE | DONE_WITH_CONCERNS
|
|
71
|
+
verdict: PASS | PASS_WITH_WARNINGS | FAIL
|
|
72
|
+
blockers: <count>
|
|
73
|
+
warnings: <count>
|
|
74
|
+
findings:
|
|
75
|
+
- [BLOCKER|WARNING|INFO] <file>: <issue> -> <suggested fix>
|
|
76
|
+
audit:
|
|
77
|
+
- files_checked: <list>
|
|
78
|
+
- schemas_checked: <list>
|
|
79
|
+
- roadmap_checked: yes|no
|
|
80
|
+
```
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "docpack-review-input-contract",
|
|
4
|
+
"title": "Requirements Package Reviewer Input",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["packagePath"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"packagePath": { "type": "string" },
|
|
10
|
+
"packageKind": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"enum": ["module", "standard", "policy", "implementation-plan", "report"]
|
|
13
|
+
},
|
|
14
|
+
"changedFiles": {
|
|
15
|
+
"type": "array",
|
|
16
|
+
"items": { "type": "string" }
|
|
17
|
+
},
|
|
18
|
+
"roadmapPath": { "type": "string" }
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "docpack-review-output-contract",
|
|
4
|
+
"title": "Requirements Package Reviewer Output",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["status", "verdict", "findings", "audit"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"status": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"enum": ["DONE", "DONE_WITH_CONCERNS"]
|
|
12
|
+
},
|
|
13
|
+
"verdict": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"enum": ["PASS", "PASS_WITH_WARNINGS", "FAIL"]
|
|
16
|
+
},
|
|
17
|
+
"findings": {
|
|
18
|
+
"type": "array",
|
|
19
|
+
"items": {
|
|
20
|
+
"type": "object",
|
|
21
|
+
"additionalProperties": false,
|
|
22
|
+
"required": ["severity", "file", "message"],
|
|
23
|
+
"properties": {
|
|
24
|
+
"severity": { "type": "string", "enum": ["BLOCKER", "WARNING", "INFO"] },
|
|
25
|
+
"file": { "type": "string" },
|
|
26
|
+
"message": { "type": "string" },
|
|
27
|
+
"suggestedFix": { "type": "string" }
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"audit": {
|
|
32
|
+
"type": "object",
|
|
33
|
+
"additionalProperties": true
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|