feat: add review skill + /altimate-code:review slash command#3
Conversation
Surfaces altimate-code's dbt/SQL PR reviewer via the plugin. The reviewer is already shipped in altimate-code CLI; this exposes it inside Claude Code so users can invoke it from their session instead of dropping to a shell. Two invocation paths, both empirically verified end-to-end against a scratch dbt project with planted anti-patterns: - **Natural language.** A prompt like "review my dbt changes" auto-fires the SKILL via description matching (in non-bare Claude sessions). The model reads the SKILL body, invokes `altimate-code review`, and presents the signed verdict verbatim. - **Explicit slash command.** `/altimate-code:review` dispatches the command body deterministically — recommended for scripting / CI where natural-language phrasing shouldn't decide correctness. Anti-fabrication guardrails live in both bodies: - Do not fall back to native git diff / Read as a "review". - Do not fabricate a verdict envelope; if the CLI fails, tell the user and stop. - Never use `--post` interactively (writes to a real GitHub PR). - Never use `--mode gate` interactively (exits non-zero). Read-only by contract. The underlying `reviewer` agent in altimate-code denies edit/write; bash prompts for approval.
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (2 files)
Both files are documentation defining a Claude Code plugin skill and slash command that delegate to the Per the custom redundancy/simplification check: the substantive content overlap between the command and skill bodies (workflow, "never do these", useful flags, failure modes) appears intentional — each is a self-contained invocation path per the PR design — and is not flagged as actionable. Reviewed by glm-5.2 · Input: 61K · Output: 11.8K · Cached: 56.2K |
Summary
Surfaces altimate-code's dbt/SQL PR reviewer via the plugin. The reviewer ships in the
altimate-codeCLI; this PR exposes it inside Claude Code so users can invoke it from their session.Two invocation paths, both empirically verified:
"review my dbt changes"auto-fires thereviewSKILL via description matching. Verified: the model reads the SKILL body, invokesaltimate-code review, and presents the signed verdict verbatim./altimate-code:reviewdispatches the command body deterministically. Recommended for scripting / CI where natural-language phrasing shouldn't decide correctness.Anti-fabrication guardrails in both bodies:
git diff/Readas a "review" — those cannot check equivalence, lineage, or PII.--postinteractively (writes to a real GitHub PR).--mode gateinteractively (exits non-zero).The underlying
revieweragent in altimate-code denies edit/write tools; bash prompts for approval. Read-only by contract.Test plan
altimate-code reviewon a scratch dbt project with planted anti-patterns produces a real signed verdict envelope catching both planted bugs."review my dbt changes") auto-fires the SKILL and produces the same verdict verbatim, no fabrication./altimate-code:reviewdispatches the command body and produces the same verdict.skills/altimate-code-review/→skills/review/andcommands/altimate-review.md→commands/review.mdfor cleaneraltimate-code:reviewnamespace.claudeinteractive mode.Notes
altimate-codeplugin, so the fully-qualified invocation is/altimate-code:review. The redundancy of "altimate-code" appearing twice is avoided.--baremode disables plugin skill auto-discovery in Claude Code. This is documented and expected; the slash command remains available regardless of--bare.