diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-06 21:59:52 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-06 21:59:52 -0500 |
| commit | 5710b7865549b923467f5e4b1056e040273fc6aa (patch) | |
| tree | 33a87e2f8a21c2d2d24434340c100f70a895c757 /.claude/commands/review-code.md | |
| parent | aa77f41ff803304c2bc6f224185e1247088a873e (diff) | |
| download | rulesets-5710b7865549b923467f5e4b1056e040273fc6aa.tar.gz rulesets-5710b7865549b923467f5e4b1056e040273fc6aa.zip | |
chore(commands): mark user-invoked commands disable-model-invocation
Add disable-model-invocation: true to the user-triggered slash commands so the harness drops their descriptions from the model's preloaded skill listing while keeping /<name> routing intact. Skills meant for model recommendation (add-tests, debug, five-whys, frontend-design, humanizer, pairwise-tests, playwright-js, playwright-py, root-cause-trace) are unchanged.
Diffstat (limited to '.claude/commands/review-code.md')
| -rw-r--r-- | .claude/commands/review-code.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.claude/commands/review-code.md b/.claude/commands/review-code.md index e7f4e18..d6501d0 100644 --- a/.claude/commands/review-code.md +++ b/.claude/commands/review-code.md @@ -1,5 +1,6 @@ --- description: Review code changes against engineering standards. Accepts a PR number, a SHA range (BASE..HEAD), the current branch's diff against main, staged changes, or a described scope ("the last 3 commits"). Audits CLAUDE.md adherence (reads root + per-directory CLAUDE.md), intent-vs-delivery (when given a plan/ADR/ticket), security, testing (TDD evidence + three-category coverage), conventions (conventional commits + no AI attribution), root-cause discipline, architecture (layering + scope), API contracts. Produces a structured report — Strengths, per-criterion PASS/WARN/FAIL, per-issue Critical/Important/Minor severity — ending with an explicit verdict (Approve / Request Changes / Needs Discussion) plus 1-2 sentence reasoning. Self-filters low-confidence findings; never flags pre-existing issues, lint/typecheck issues (CI handles those), or changes on unmodified lines. Use before merging a PR, before pushing a branch, or when reviewing a teammate's work. Do NOT use for proposing features (use brainstorm or arch-design), drafting implementation (use start-work or add-tests), standalone security audits (use security-check), or narrow style-only checks (a linter handles those). +disable-model-invocation: true --- # /review-code |
