From copilot-cli-toolkit
Performs pre-merge code review on git diffs across architecture, security, quality, tests, and standards. Classifies complexity tier and synthesizes categorized findings.
How this skill is triggered — by the user, by Claude, or both
Slash command
/copilot-cli-toolkit:reviewThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
@CLAUDE.md
@CLAUDE.md
Review: $ARGUMENTS
If no argument, review the current branch diff against the base branch. Detect the base branch from gh pr view --json baseRefName or fall back to main.
Run axes sequentially. Each axis produces findings categorized as Critical, Important, or Suggestion.
.claude/skills/analyze/references/engineering-complexity-tiers.md and the diff (git diff against detected base). Assess the change as Tier 1-5 based on scope, cross-team impact, ambiguity, and reversibility. Return: tier number, rationale, and recommended review depth. Use this to calibrate remaining axes:
Task(subagent_type="architect"): You are a software architect reviewing for structural integrity. Check ADR conformance in .agents/architecture/. Evaluate from the consumer perspective, not the implementer perspective. Findings must cite file:line.
Invoke Skill(skill="security-scan") for CWE pattern detection.
Task(subagent_type="security"): You are a security auditor. Assume every input is malicious. Reference CWE numbers. Evaluate:
Invoke Skill(skill="code-qualities-assessment") to score all 5 qualities: cohesion, coupling, encapsulation, testability, non-redundancy.
Task(subagent_type="qa"): You are a QA engineer verifying coverage. For every new code path in the diff, verify a corresponding test exists. Flag gaps with specific file:line references.
Invoke Skill(skill="golden-principles") and Skill(skill="taste-lints").
Categorize each finding as Critical, Important, or Suggestion.
Per-finding format:
npx claudepluginhub rjmurillo/ai-agentsReviews code changes for correctness, readability, architecture, security, and performance. Checks lint, type safety, test coverage, and security issues. Use for PRs, audits, or pre-merge reviews.
Reviews git-tracked code changes for architecture, security, performance, quality, and style using multi-agent analysis and diff context. Use for PR readiness checks.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.