@mrciphersmith/keryx 0.2.96 → 0.2.98
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/dist/cli.js +1615 -710
- package/dist/core.js +1 -1
- package/package.json +1 -1
- package/src/gdskills/bundled/rules/core/api-contracts.mdc +1 -0
- package/src/gdskills/bundled/rules/core/code-style-patterns.mdc +1 -0
- package/src/gdskills/bundled/rules/core/database-patterns.mdc +1 -0
- package/src/gdskills/bundled/rules/core/documentation-management.mdc +33 -38
- package/src/gdskills/bundled/rules/core/error-handling.mdc +1 -11
- package/src/gdskills/bundled/rules/core/execution-metrics.md +1 -2
- package/src/gdskills/bundled/rules/core/frontend-assistant.mdc +1 -0
- package/src/gdskills/bundled/rules/core/git-concurrency.mdc +101 -0
- package/src/gdskills/bundled/rules/core/implementation-plans.mdc +23 -11
- package/src/gdskills/bundled/rules/core/mobx-store-template.mdc +1 -0
- package/src/gdskills/bundled/rules/core/nestjs-dto.mdc +1 -0
- package/src/gdskills/bundled/rules/core/playwright-testing.mdc +1 -0
- package/src/gdskills/bundled/rules/core/requirements-management.mdc +15 -11
- package/src/gdskills/bundled/rules/core/rule-management-workflow.mdc +29 -14
- package/src/gdskills/bundled/rules/core/shared-definitions.mdc +1 -1
- package/src/gdskills/bundled/rules/core/skill-lifecycle.mdc +9 -5
- package/src/gdskills/bundled/rules/core/skills-storage-workflow.mdc +59 -16
- package/src/gdskills/bundled/rules/core/storybook-guidelines.mdc +1 -0
- package/src/gdskills/bundled/skills/orchestration/code-verifier/SKILL.codex.md +48 -71
- package/src/gdskills/bundled/skills/orchestration/code-verifier/SKILL.cursor.md +48 -71
- package/src/gdskills/bundled/skills/orchestration/code-verifier/SKILL.md +48 -71
- package/src/gdskills/bundled/skills/orchestration/code-verifier/SKILL.opencode.md +48 -71
- package/src/gdskills/bundled/skills/orchestration/code-verifier/SKILL.zed.md +48 -71
- package/src/gdskills/bundled/skills/orchestration/context-collector/SKILL.codex.md +4 -4
- package/src/gdskills/bundled/skills/orchestration/context-collector/SKILL.cursor.md +4 -4
- package/src/gdskills/bundled/skills/orchestration/context-collector/SKILL.md +4 -4
- package/src/gdskills/bundled/skills/orchestration/context-collector/SKILL.opencode.md +4 -4
- package/src/gdskills/bundled/skills/orchestration/context-collector/SKILL.zed.md +4 -4
- package/src/gdskills/bundled/skills/orchestration/context-collector/orchestrator-prompt.md +2 -2
- package/src/gdskills/bundled/skills/orchestration/feature-analyzer/SKILL.codex.md +12 -22
- package/src/gdskills/bundled/skills/orchestration/feature-analyzer/SKILL.cursor.md +12 -22
- package/src/gdskills/bundled/skills/orchestration/feature-analyzer/SKILL.detail.md +12 -22
- package/src/gdskills/bundled/skills/orchestration/feature-analyzer/SKILL.md +12 -22
- package/src/gdskills/bundled/skills/orchestration/feature-analyzer/SKILL.opencode.md +12 -22
- package/src/gdskills/bundled/skills/orchestration/feature-analyzer/SKILL.zed.md +12 -22
- package/src/gdskills/bundled/skills/orchestration/feature-analyzer/analysis-request.md +2 -2
- package/src/gdskills/bundled/skills/orchestration/feature-analyzer/analysis-request.template.md +1 -1
- package/src/gdskills/bundled/skills/orchestration/feature-analyzer/input-contract.schema.json +4 -4
- package/src/gdskills/bundled/skills/orchestration/feature-analyzer/orchestrator-prompt.md +2 -2
- package/src/gdskills/bundled/skills/orchestration/feature-dev/SKILL.codex.md +2 -2
- package/src/gdskills/bundled/skills/orchestration/feature-dev/SKILL.cursor.md +2 -2
- package/src/gdskills/bundled/skills/orchestration/feature-dev/SKILL.md +2 -2
- package/src/gdskills/bundled/skills/orchestration/flow-orchestrator/SKILL.md +46 -4
- package/src/gdskills/bundled/skills/orchestration/issue-analyzer/SKILL.codex.md +2 -2
- package/src/gdskills/bundled/skills/orchestration/issue-analyzer/SKILL.cursor.md +2 -2
- package/src/gdskills/bundled/skills/orchestration/issue-analyzer/SKILL.md +2 -2
- package/src/gdskills/bundled/skills/orchestration/issue-analyzer/SKILL.opencode.md +2 -2
- package/src/gdskills/bundled/skills/orchestration/issue-analyzer/SKILL.zed.md +2 -2
- package/src/gdskills/bundled/skills/orchestration/job-documenter/SKILL.codex.md +3 -3
- package/src/gdskills/bundled/skills/orchestration/job-documenter/SKILL.cursor.md +3 -3
- package/src/gdskills/bundled/skills/orchestration/job-documenter/SKILL.md +3 -3
- package/src/gdskills/bundled/skills/orchestration/job-documenter/SKILL.opencode.md +3 -3
- package/src/gdskills/bundled/skills/orchestration/job-documenter/SKILL.zed.md +3 -3
- package/src/gdskills/bundled/skills/orchestration/job-orchestrator/SKILL.codex.md +65 -23
- package/src/gdskills/bundled/skills/orchestration/job-orchestrator/SKILL.cursor.md +65 -23
- package/src/gdskills/bundled/skills/orchestration/job-orchestrator/SKILL.md +65 -23
- package/src/gdskills/bundled/skills/orchestration/job-orchestrator/SKILL.opencode.md +65 -23
- package/src/gdskills/bundled/skills/orchestration/job-orchestrator/SKILL.zed.md +65 -23
- package/src/gdskills/bundled/skills/orchestration/task-implementer/SKILL.codex.md +19 -10
- package/src/gdskills/bundled/skills/orchestration/task-implementer/SKILL.cursor.md +19 -10
- package/src/gdskills/bundled/skills/orchestration/task-implementer/SKILL.md +19 -10
- package/src/gdskills/bundled/skills/orchestration/task-implementer/SKILL.opencode.md +19 -10
- package/src/gdskills/bundled/skills/orchestration/task-implementer/SKILL.zed.md +19 -10
- package/src/gdskills/bundled/skills/planning/brainstorm/SKILL.codex.md +1 -1
- package/src/gdskills/bundled/skills/planning/brainstorm/SKILL.cursor.md +1 -1
- package/src/gdskills/bundled/skills/planning/brainstorm/SKILL.md +1 -1
- package/src/gdskills/bundled/skills/planning/interview/SKILL.codex.md +1 -1
- package/src/gdskills/bundled/skills/planning/interview/SKILL.cursor.md +1 -1
- package/src/gdskills/bundled/skills/planning/interview/SKILL.md +1 -1
- package/src/gdskills/bundled/skills/planning/interviewer/SKILL.codex.md +1 -1
- package/src/gdskills/bundled/skills/planning/interviewer/SKILL.cursor.md +1 -1
- package/src/gdskills/bundled/skills/planning/interviewer/SKILL.md +1 -1
- package/src/gdskills/bundled/skills/planning/prd-creator/SKILL.codex.md +7 -7
- package/src/gdskills/bundled/skills/planning/prd-creator/SKILL.cursor.md +7 -7
- package/src/gdskills/bundled/skills/planning/prd-creator/SKILL.md +7 -7
- package/src/gdskills/bundled/skills/planning/prd-creator/SKILL.opencode.md +7 -7
- package/src/gdskills/bundled/skills/planning/prd-creator/SKILL.zed.md +7 -7
- package/src/gdskills/bundled/skills/platform/claude-md-management/SKILL.codex.md +1 -1
- package/src/gdskills/bundled/skills/platform/claude-md-management/SKILL.cursor.md +1 -1
- package/src/gdskills/bundled/skills/platform/claude-md-management/SKILL.md +1 -1
- package/src/gdskills/bundled/skills/platform/hookify/SKILL.codex.md +1 -1
- package/src/gdskills/bundled/skills/platform/hookify/SKILL.cursor.md +1 -1
- package/src/gdskills/bundled/skills/platform/hookify/SKILL.md +1 -1
- package/src/gdskills/bundled/skills/quality/changelog/SKILL.codex.md +1 -1
- package/src/gdskills/bundled/skills/quality/changelog/SKILL.cursor.md +1 -1
- package/src/gdskills/bundled/skills/quality/changelog/SKILL.md +1 -1
- package/src/gdskills/bundled/skills/quality/commit/SKILL.codex.md +2 -2
- package/src/gdskills/bundled/skills/quality/commit/SKILL.cursor.md +2 -2
- package/src/gdskills/bundled/skills/quality/commit/SKILL.md +2 -2
- package/src/gdskills/bundled/skills/quality/db-migrate/SKILL.codex.md +1 -1
- package/src/gdskills/bundled/skills/quality/db-migrate/SKILL.cursor.md +1 -1
- package/src/gdskills/bundled/skills/quality/db-migrate/SKILL.md +1 -1
- package/src/gdskills/bundled/skills/quality/dependency-update/SKILL.codex.md +1 -1
- package/src/gdskills/bundled/skills/quality/dependency-update/SKILL.cursor.md +1 -1
- package/src/gdskills/bundled/skills/quality/dependency-update/SKILL.md +1 -1
- package/src/gdskills/bundled/skills/quality/deploy/SKILL.codex.md +1 -1
- package/src/gdskills/bundled/skills/quality/deploy/SKILL.cursor.md +1 -1
- package/src/gdskills/bundled/skills/quality/deploy/SKILL.md +1 -1
- package/src/gdskills/bundled/skills/quality/perf-check/SKILL.codex.md +1 -1
- package/src/gdskills/bundled/skills/quality/perf-check/SKILL.cursor.md +1 -1
- package/src/gdskills/bundled/skills/quality/perf-check/SKILL.md +1 -1
- package/src/gdskills/bundled/skills/quality/pr/SKILL.codex.md +1 -1
- package/src/gdskills/bundled/skills/quality/pr/SKILL.cursor.md +1 -1
- package/src/gdskills/bundled/skills/quality/pr/SKILL.md +1 -1
- package/src/gdskills/bundled/skills/quality/pr-issue-documenter/SKILL.codex.md +2 -2
- package/src/gdskills/bundled/skills/quality/pr-issue-documenter/SKILL.cursor.md +2 -2
- package/src/gdskills/bundled/skills/quality/pr-issue-documenter/SKILL.md +2 -2
- package/src/gdskills/bundled/skills/quality/pr-issue-documenter/SKILL.opencode.md +2 -2
- package/src/gdskills/bundled/skills/quality/pr-issue-documenter/SKILL.zed.md +2 -2
- package/src/gdskills/bundled/skills/quality/push/SKILL.codex.md +1 -1
- package/src/gdskills/bundled/skills/quality/push/SKILL.cursor.md +1 -1
- package/src/gdskills/bundled/skills/quality/push/SKILL.md +1 -1
- package/src/gdskills/bundled/skills/quality/test-gen/SKILL.codex.md +7 -2
- package/src/gdskills/bundled/skills/quality/test-gen/SKILL.cursor.md +7 -2
- package/src/gdskills/bundled/skills/quality/test-gen/SKILL.md +7 -2
- package/src/gdskills/bundled/skills/quality/tests-creator/SKILL.codex.md +15 -9
- package/src/gdskills/bundled/skills/quality/tests-creator/SKILL.cursor.md +15 -9
- package/src/gdskills/bundled/skills/quality/tests-creator/SKILL.md +15 -9
- package/src/gdskills/bundled/skills/quality/tests-creator/SKILL.opencode.md +15 -9
- package/src/gdskills/bundled/skills/quality/tests-creator/SKILL.zed.md +15 -9
- package/src/gdskills/bundled/skills/review/code-ai-review/SKILL.codex.md +2 -2
- package/src/gdskills/bundled/skills/review/code-ai-review/SKILL.cursor.md +2 -2
- package/src/gdskills/bundled/skills/review/code-ai-review/SKILL.md +2 -2
- package/src/gdskills/bundled/skills/review/code-ai-review/SKILL.opencode.md +2 -2
- package/src/gdskills/bundled/skills/review/code-ai-review/SKILL.zed.md +2 -2
- package/src/gdskills/bundled/skills/review/code-learned-review/SKILL.codex.md +2 -2
- package/src/gdskills/bundled/skills/review/code-learned-review/SKILL.cursor.md +2 -2
- package/src/gdskills/bundled/skills/review/code-learned-review/SKILL.md +2 -2
- package/src/gdskills/bundled/skills/review/code-learned-review/SKILL.opencode.md +2 -2
- package/src/gdskills/bundled/skills/review/code-learned-review/SKILL.zed.md +2 -2
- package/src/gdskills/bundled/skills/review/code-mobx-store-review/SKILL.codex.md +2 -2
- package/src/gdskills/bundled/skills/review/code-mobx-store-review/SKILL.cursor.md +2 -2
- package/src/gdskills/bundled/skills/review/code-mobx-store-review/SKILL.md +2 -2
- package/src/gdskills/bundled/skills/review/code-mobx-store-review/SKILL.opencode.md +2 -2
- package/src/gdskills/bundled/skills/review/code-mobx-store-review/SKILL.zed.md +2 -2
- package/src/gdskills/bundled/skills/review/code-style-review/SKILL.codex.md +2 -2
- package/src/gdskills/bundled/skills/review/code-style-review/SKILL.cursor.md +2 -2
- package/src/gdskills/bundled/skills/review/code-style-review/SKILL.md +2 -2
- package/src/gdskills/bundled/skills/review/code-style-review/SKILL.opencode.md +2 -2
- package/src/gdskills/bundled/skills/review/code-style-review/SKILL.zed.md +2 -2
- package/src/gdskills/bundled/skills/review/review-architecture/SKILL.md +2 -2
- package/src/gdskills/bundled/skills/review/review-backend/SKILL.md +3 -3
- package/src/gdskills/bundled/skills/review/review-clean-code/SKILL.md +2 -2
- package/src/gdskills/bundled/skills/review/review-core-boundaries/SKILL.md +1 -1
- package/src/gdskills/bundled/skills/review/review-flow-graph/SKILL.md +1 -1
- package/src/gdskills/bundled/skills/review/review-frontend/SKILL.md +2 -2
- package/src/gdskills/bundled/skills/review/review-frontend-conventions/SKILL.md +1 -1
- package/src/gdskills/bundled/skills/review/review-highload/SKILL.md +2 -2
- package/src/gdskills/bundled/skills/review/review-layout/SKILL.md +1 -1
- package/src/gdskills/bundled/skills/review/review-logic/SKILL.md +2 -2
- package/src/gdskills/bundled/skills/review/review-orchestrator/SKILL.md +40 -35
- package/src/gdskills/bundled/skills/review/review-orchestrator/input-contract.schema.json +1 -2
- package/src/gdskills/bundled/skills/review/review-orchestrator/review-context.schema.json +1 -5
- package/src/gdskills/bundled/skills/review/review-orchestrator/reviewer-input.schema.json +53 -9
- package/src/gdskills/bundled/skills/review/review-performance/SKILL.md +2 -2
- package/src/gdskills/bundled/skills/review/review-pr-feedback/SKILL.md +6 -6
- package/src/gdskills/bundled/skills/review/review-security-code/SKILL.md +2 -2
- package/src/gdskills/bundled/skills/review/review-style/SKILL.md +3 -3
- package/src/gdskills/bundled/skills/review/review-testing-practices/SKILL.md +1 -1
- package/src/gdskills/bundled/skills/review/review-verifier/SKILL.md +1 -1
- package/src/gdskills/bundled/rules/core/review-agent-profile.mdc +0 -49
- package/src/gdskills/bundled/rules/core/review-strict-profile.mdc +0 -48
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"review_context",
|
|
8
8
|
"reviewer",
|
|
9
9
|
"scope_mode",
|
|
10
|
-
"
|
|
10
|
+
"model",
|
|
11
11
|
"budget"
|
|
12
12
|
],
|
|
13
13
|
"properties": {
|
|
@@ -36,14 +36,58 @@
|
|
|
36
36
|
"null"
|
|
37
37
|
]
|
|
38
38
|
},
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
|
|
39
|
+
"model": {
|
|
40
|
+
"description": "The `model` block `keryx review tier` printed for this dispatch (Step 6) — pasted verbatim, never composed by hand. `tier` is the mechanical vocabulary the command emits (`light`/`standard`/`deep`), never a model name. `provider`/`model` are present when the command resolved a concrete model; `inherit: true` replaces them when it could not, meaning the dispatch runs on the caller's own model. Field naming matches `model` in `contracts/subagent-dispatch.schema.json` and the object `keryx review tier --json` prints under its own `model` key.",
|
|
41
|
+
"type": "object",
|
|
42
|
+
"additionalProperties": false,
|
|
43
|
+
"required": [
|
|
44
|
+
"tier",
|
|
45
|
+
"tier_reasons",
|
|
46
|
+
"tier_resolution",
|
|
47
|
+
"model_discovery"
|
|
48
|
+
],
|
|
49
|
+
"properties": {
|
|
50
|
+
"tier": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"enum": [
|
|
53
|
+
"light",
|
|
54
|
+
"standard",
|
|
55
|
+
"deep"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
"tier_reasons": {
|
|
59
|
+
"type": "array",
|
|
60
|
+
"items": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"minLength": 1
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"provider": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"minLength": 1
|
|
68
|
+
},
|
|
69
|
+
"model": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"minLength": 1
|
|
72
|
+
},
|
|
73
|
+
"inherit": {
|
|
74
|
+
"type": "boolean",
|
|
75
|
+
"description": "Run this dispatch on the caller's own model. Present in place of `provider`/`model`, never alongside them, when `keryx review tier` could not resolve a concrete model."
|
|
76
|
+
},
|
|
77
|
+
"tier_resolution": {
|
|
78
|
+
"type": "string",
|
|
79
|
+
"enum": [
|
|
80
|
+
"discovered",
|
|
81
|
+
"session-ranked",
|
|
82
|
+
"session-fallback"
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
"model_discovery": {
|
|
86
|
+
"type": "object",
|
|
87
|
+
"description": "What `keryx review tier` discovered and how it ranked it, as printed. Not re-validated field by field here — that contract lives in `contracts/subagent-dispatch.schema.json`.",
|
|
88
|
+
"additionalProperties": true
|
|
89
|
+
}
|
|
90
|
+
}
|
|
47
91
|
},
|
|
48
92
|
"budget": {
|
|
49
93
|
"type": "object",
|
|
@@ -62,7 +62,7 @@ This skill focuses on **measurable or high-likelihood bottlenecks** only. Premat
|
|
|
62
62
|
|
|
63
63
|
## Scope Detection
|
|
64
64
|
|
|
65
|
-
See shared script:
|
|
65
|
+
See shared script: `.metaproject/skills/gdskills/shared/git-merge-base.md`
|
|
66
66
|
|
|
67
67
|
Run the script from that file to determine `MERGE_BASE` (`BASE_SHA`) and `SCOPE` before proceeding.
|
|
68
68
|
|
|
@@ -368,7 +368,7 @@ If the file does not exist or is not provided, proceed normally — context is o
|
|
|
368
368
|
|
|
369
369
|
## Orchestrated Review Contract
|
|
370
370
|
|
|
371
|
-
When dispatched by `review-orchestrator`, follow the provided `reviewer-input.schema.json` payload. Return a `REVIEW_RESULT` object compatible with
|
|
371
|
+
When dispatched by `review-orchestrator`, follow the provided `reviewer-input.schema.json` payload. Return a `REVIEW_RESULT` object compatible with `.metaproject/skills/gdskills/review/review-orchestrator/reviewer-finding.schema.json`, then a concise markdown summary. Keep findings evidence-based, include concrete `suggested_fix` for every blocker/major, and return `NEEDS_CONTEXT` instead of guessing when required context is missing.
|
|
372
372
|
|
|
373
373
|
---
|
|
374
374
|
|
|
@@ -80,8 +80,8 @@ review-pr-feedback Progress:
|
|
|
80
80
|
| `comment_ids` | string[] | no | Restrict the run to these collected comment ids. Every excluded comment is listed with that reason. |
|
|
81
81
|
| `max_fix_rounds` | integer | no | Sent in the Step 9 dispatch as an `attempt budget:` constraint. It only ever LOWERS the bound `flow-orchestrator` owns; omit it to take that skill's own. |
|
|
82
82
|
|
|
83
|
-
Schemas:
|
|
84
|
-
|
|
83
|
+
Schemas: `.metaproject/skills/gdskills/review/review-pr-feedback/input-contract.schema.json` and
|
|
84
|
+
`.metaproject/skills/gdskills/review/review-pr-feedback/output-contract.schema.json`. Nothing refuses a
|
|
85
85
|
dispatch that ignores them — no production code loads either file — so they are a
|
|
86
86
|
contract between agents, and this skill validating its own output against the
|
|
87
87
|
output schema is what makes them worth writing.
|
|
@@ -297,7 +297,7 @@ For each comment, classify intent before explaining:
|
|
|
297
297
|
|
|
298
298
|
This maps the **intent of an incoming human comment**, which is not a code
|
|
299
299
|
condition. It is not a second severity rubric: the levels themselves are defined
|
|
300
|
-
once, in
|
|
300
|
+
once, in `.metaproject/skills/gdskills/review/review-orchestrator/SKILL.md` → **Severity (canonical)**,
|
|
301
301
|
and a mapped value is a starting point that the canonical test overrides whenever
|
|
302
302
|
the comment names a concrete trigger and outcome.
|
|
303
303
|
|
|
@@ -504,7 +504,7 @@ implementation loop of its own, and a second one would diverge from the one that
|
|
|
504
504
|
is tested.
|
|
505
505
|
|
|
506
506
|
Dispatch payload, conforming to
|
|
507
|
-
|
|
507
|
+
`.metaproject/skills/gdskills/orchestration/flow-orchestrator/input-contract.schema.json` — a registered
|
|
508
508
|
contract, so `keryx skills contracts validate <file> --schema flow-orchestrator-input`
|
|
509
509
|
refuses a malformed one. Validate before dispatching.
|
|
510
510
|
|
|
@@ -539,13 +539,13 @@ criterion rather than by an author's assertion.
|
|
|
539
539
|
### The loop, and its bound
|
|
540
540
|
|
|
541
541
|
The review→fix→review loop belongs to `flow-orchestrator`, and so does its exit
|
|
542
|
-
threshold:
|
|
542
|
+
threshold: `.metaproject/skills/gdskills/orchestration/flow-orchestrator/SKILL.md` → **PR review/fix
|
|
543
543
|
loop** defines it once, beside the bound. Do not restate the level here — the
|
|
544
544
|
bound was centralised and the threshold was left copied four ways in the same
|
|
545
545
|
edit, which is how one of them ends up stale while every guard stays green.
|
|
546
546
|
|
|
547
547
|
The bound is defined once, in
|
|
548
|
-
|
|
548
|
+
`.metaproject/skills/gdskills/orchestration/flow-orchestrator/SKILL.md` → **PR review/fix loop**, along
|
|
549
549
|
with the evidence behind it and the `keryx review loop` repetition check that
|
|
550
550
|
runs before any attempt is spent. Do not restate the number here: two copies of a
|
|
551
551
|
bound are two things to edit when the evidence changes, and the copy nobody edits
|
|
@@ -61,7 +61,7 @@ This skill covers **code-level security only**. It does NOT audit npm/bun depend
|
|
|
61
61
|
|
|
62
62
|
## Scope Detection
|
|
63
63
|
|
|
64
|
-
See shared script:
|
|
64
|
+
See shared script: `.metaproject/skills/gdskills/shared/git-merge-base.md`
|
|
65
65
|
|
|
66
66
|
Run the script from that file to determine `MERGE_BASE` (`BASE_SHA`) and `SCOPE` before proceeding.
|
|
67
67
|
|
|
@@ -373,7 +373,7 @@ If the file does not exist or is not provided, proceed normally — context is o
|
|
|
373
373
|
|
|
374
374
|
## Orchestrated Review Contract
|
|
375
375
|
|
|
376
|
-
When dispatched by `review-orchestrator`, follow the provided `reviewer-input.schema.json` payload. Return a `REVIEW_RESULT` object compatible with
|
|
376
|
+
When dispatched by `review-orchestrator`, follow the provided `reviewer-input.schema.json` payload. Return a `REVIEW_RESULT` object compatible with `.metaproject/skills/gdskills/review/review-orchestrator/reviewer-finding.schema.json`, then a concise markdown summary. Keep findings evidence-based, include concrete `suggested_fix` for every blocker/major, and return `NEEDS_CONTEXT` instead of guessing when required context is missing.
|
|
377
377
|
|
|
378
378
|
---
|
|
379
379
|
|
|
@@ -34,7 +34,7 @@ Never touches logic correctness, architecture, security, or performance.
|
|
|
34
34
|
```
|
|
35
35
|
review-style Progress:
|
|
36
36
|
- [ ] Step 1: Read Job Context (if CONTEXT_PATH provided)
|
|
37
|
-
- [ ] Step 2: Determine git scope (merge-base) — see skills/shared/git-merge-base.md
|
|
37
|
+
- [ ] Step 2: Determine git scope (merge-base) — see .metaproject/skills/gdskills/shared/git-merge-base.md
|
|
38
38
|
- [ ] Step 3: Collect diff and changed file list
|
|
39
39
|
- [ ] Step 4: Naming conventions check
|
|
40
40
|
- [ ] Step 5: Dead code and imports check
|
|
@@ -60,7 +60,7 @@ review-style Progress:
|
|
|
60
60
|
|
|
61
61
|
## Scope Detection
|
|
62
62
|
|
|
63
|
-
See shared script:
|
|
63
|
+
See shared script: `.metaproject/skills/gdskills/shared/git-merge-base.md`
|
|
64
64
|
|
|
65
65
|
Run that script to determine `BASE_SHA` before collecting the diff.
|
|
66
66
|
|
|
@@ -228,7 +228,7 @@ boundary is the trigger-and-outcome test.
|
|
|
228
228
|
|
|
229
229
|
## Orchestrated Review Contract
|
|
230
230
|
|
|
231
|
-
When dispatched by `review-orchestrator`, follow the provided `reviewer-input.schema.json` payload. Return a `REVIEW_RESULT` object compatible with
|
|
231
|
+
When dispatched by `review-orchestrator`, follow the provided `reviewer-input.schema.json` payload. Return a `REVIEW_RESULT` object compatible with `.metaproject/skills/gdskills/review/review-orchestrator/reviewer-finding.schema.json`, then a concise markdown summary. Keep findings evidence-based, include concrete `suggested_fix` for every blocker/major, and return `NEEDS_CONTEXT` instead of guessing when required context is missing.
|
|
232
232
|
|
|
233
233
|
---
|
|
234
234
|
|
|
@@ -207,7 +207,7 @@ boundary is the trigger-and-outcome test.
|
|
|
207
207
|
|
|
208
208
|
## Orchestrated Review Contract
|
|
209
209
|
|
|
210
|
-
When dispatched by `review-orchestrator`, follow the provided `reviewer-input.schema.json` payload. Return a `REVIEW_RESULT` object compatible with
|
|
210
|
+
When dispatched by `review-orchestrator`, follow the provided `reviewer-input.schema.json` payload. Return a `REVIEW_RESULT` object compatible with `.metaproject/skills/gdskills/review/review-orchestrator/reviewer-finding.schema.json`, then a concise markdown summary. Keep findings evidence-based, include concrete `suggested_fix` for every blocker/major, and return `NEEDS_CONTEXT` instead of guessing when required context is missing.
|
|
211
211
|
|
|
212
212
|
---
|
|
213
213
|
|
|
@@ -224,7 +224,7 @@ STATUS: DONE | NEEDS_CONTEXT | BLOCKED
|
|
|
224
224
|
There is no `DONE_WITH_CONCERNS`: a verifier has no concerns of its own.
|
|
225
225
|
|
|
226
226
|
Return one object conforming to
|
|
227
|
-
|
|
227
|
+
`.metaproject/skills/gdskills/review/review-orchestrator/verification-claim.schema.json`:
|
|
228
228
|
|
|
229
229
|
````text
|
|
230
230
|
```json keryx:verifications
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "Baseline AI code review standards for correctness, architecture, safety, and maintainability."
|
|
3
|
-
alwaysApply: false
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# AI Code Review Assistant
|
|
7
|
-
|
|
8
|
-
## Purpose
|
|
9
|
-
Provide strict, high-signal code reviews with actionable findings.
|
|
10
|
-
|
|
11
|
-
## When To Apply
|
|
12
|
-
Apply when performing AI-assisted code review; loaded automatically by the code-ai-review skill.
|
|
13
|
-
|
|
14
|
-
## Verdict Labels
|
|
15
|
-
|
|
16
|
-
All reviews must end with exactly one of the following verdict labels:
|
|
17
|
-
|
|
18
|
-
| Verdict | Meaning |
|
|
19
|
-
|---------|---------|
|
|
20
|
-
| `APPROVE` | Changes accepted as-is; no outstanding issues. |
|
|
21
|
-
| `APPROVE WITH SUGGESTIONS` | Accepted and can merge, but improvements are noted for follow-up. |
|
|
22
|
-
| `REQUEST CHANGES` | Must fix identified issues before merge. |
|
|
23
|
-
| `COMMENT` | Informational findings only; no blocking action required. |
|
|
24
|
-
|
|
25
|
-
## Review Output Structure
|
|
26
|
-
1. Verdict label (from the table above)
|
|
27
|
-
2. Findings by severity and category
|
|
28
|
-
3. Concrete fix proposals
|
|
29
|
-
4. Residual risks and test gaps
|
|
30
|
-
|
|
31
|
-
## Priority Categories
|
|
32
|
-
- Correctness
|
|
33
|
-
- Types and safety
|
|
34
|
-
- Architecture and state boundaries
|
|
35
|
-
- Performance
|
|
36
|
-
- UX/A11y
|
|
37
|
-
- Tests
|
|
38
|
-
|
|
39
|
-
## Mandatory Rules
|
|
40
|
-
- Prioritize correctness over style.
|
|
41
|
-
- Do not request massive refactors unless user asks.
|
|
42
|
-
- Flag unsafe casts and hidden complexity.
|
|
43
|
-
- Align suggestions with existing project patterns.
|
|
44
|
-
- Keep comments specific, respectful, and actionable.
|
|
45
|
-
|
|
46
|
-
## Output Contract
|
|
47
|
-
- Final review must be Markdown.
|
|
48
|
-
- Code snippets/diffs must be fenced code blocks.
|
|
49
|
-
- Response language follows user query language.
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "Strict review profile: direct, architecture-first feedback with concrete fixes."
|
|
3
|
-
alwaysApply: false
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Strict Review Profile
|
|
7
|
-
|
|
8
|
-
## Purpose
|
|
9
|
-
Apply a strict, architecture-first pass: name the defect, name where the logic
|
|
10
|
-
belongs, and give the replacement.
|
|
11
|
-
|
|
12
|
-
## When To Apply
|
|
13
|
-
Apply when the caller explicitly asks for a strict review. For a checklist this
|
|
14
|
-
project learned from its own pull-request comments, use
|
|
15
|
-
`core/code-review-learned-profile.mdc` instead — that one carries no conventions
|
|
16
|
-
of its own and reads them from the project.
|
|
17
|
-
|
|
18
|
-
## Style Profile
|
|
19
|
-
- Direct and concise.
|
|
20
|
-
- Architecture-first.
|
|
21
|
-
- Strongly against duct-tape fixes.
|
|
22
|
-
- Focus on testability and single source of truth.
|
|
23
|
-
|
|
24
|
-
## What To Flag
|
|
25
|
-
- Business logic in UI instead of store/service.
|
|
26
|
-
- Duplicate rule checks in multiple places.
|
|
27
|
-
- Unsafe casts (`any`, disguised casts).
|
|
28
|
-
- Mocks inheriting production classes.
|
|
29
|
-
- Loading/no-data semantics confusion.
|
|
30
|
-
- Magic numbers without rationale.
|
|
31
|
-
- **Status/result mapping semantics**: Mapping "none" or absence-of-result to a semantic outcome (e.g. canceled, failed) without domain justification. Verify that source enum values (e.g. none, killed, cancelled) have distinct meanings and that the mapping preserves them; flag mappings that equate semantically different states (e.g. `none === canceled`, `killed === canceled` without explicit product rationale).
|
|
32
|
-
- **Store method accessibility** — See `core/mobx-store-template.mdc` for definitive rules on public vs private store methods. Key violations to flag:
|
|
33
|
-
- Public `onChangeX` / `handleX` methods (must be private)
|
|
34
|
-
- Public `action.bound` that should be private callbacks
|
|
35
|
-
|
|
36
|
-
## Response Format
|
|
37
|
-
1. Verdict in one line — use the canonical verdict vocabulary (same set as `core/code-review-ai-assistant.mdc`):
|
|
38
|
-
- `APPROVE` — no blocking issues; changes accepted as-is
|
|
39
|
-
- `APPROVE WITH SUGGESTIONS` — accepted but improvements noted for follow-up
|
|
40
|
-
- `REQUEST CHANGES` — has issues that must be fixed before merge
|
|
41
|
-
- `COMMENT` — informational findings only; no blocking action required
|
|
42
|
-
2. Top 1-3 blocking findings.
|
|
43
|
-
3. Concrete replacement/fix path.
|
|
44
|
-
|
|
45
|
-
## Guardrails
|
|
46
|
-
- No personal attacks.
|
|
47
|
-
- No empty nitpicks.
|
|
48
|
-
- Keep recommendations lint-safe and scoped.
|