kit/plugins/code-review/skills/code-review-agent/SKILL.md
Reviews code for bugs, security issues, and breaking changes. Produces prioritized findings on quality, vulnerabilities, and regressions. Use when asked to review code or check a PR diff.
npx skillsauth add shawn-sandy/agentics code-review-agentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
When reviewing code, systematically check for common issues across multiple dimensions. Provide specific, actionable feedback with line numbers and code examples. Adapt checklist depth to the code's complexity and context — this is a flexible guide, not a rigid process.
Before reviewing, identify which files to check using this priority order:
Explicit path in message — If the user named a file or directory, use it directly. Skip to the Review Checklist.
Local changes (git status) — If no file was specified, run:
git status --short
Branch diff — Run each in order until files are returned:
git diff main...HEAD --name-onlygit diff master...HEAD --name-onlygit diff HEAD~1 --name-only If files are returned, show the list and
confirm before reviewing. Skip non-reviewable files as above. If all return
empty or fail (e.g., detached HEAD), continue to step 4.Fallback — Ask: "Which file or files would you like me to review?"
Once target files are confirmed, proceed to the Review Checklist for each file.
Read references/review-checklist.md for the full six-dimension checklist. Apply each dimension to every file under review.
Structure the review as follows:
Brief overview of the code's purpose and overall quality (1-2 sentences).
[Low / Medium / High / Very High] — One-sentence rationale (e.g., "Deep nesting in 3 core functions and tightly coupled imports drive the rating.").
List any changes that break existing callers, alter contracts, or risk reintroducing previously fixed behavior. For each:
If none detected: No breaking changes or regression risks identified.
If a breaking change also qualifies as a Critical Issue, list it here only — omit it from Critical Issues to avoid duplication.
Issues that could cause bugs, security vulnerabilities, or data loss. Must be fixed.
Non-critical issues that would improve code quality, maintainability, or performance.
Things the code does well. Reinforce good practices.
See references/example-review.md for a complete sample review demonstrating the expected output format.
development
Checks whether the branch's PR is ready and merges it when green. Runs the readiness gate, lint, and an approval prompt. Use when the user asks "merge?" or if a PR is ready to merge.
development
Implements a plan file that already exists. Walks its steps, ticks the spec, re-renders, and runs the completion gates. Use when asked to implement an existing plan.
development
Audits and optimizes CLAUDE.md project memory files. Checks adherence to Claude Code best practices and produces actionable fixes. Use when the user asks to audit, optimize, or diagnose a CLAUDE.md.
development
Converts an HTML artifact or Markdown file into a draft post for a static site. Scopes CSS to keep interactive blocks alive and escapes prose for MDX. Use when asked to turn an artifact into a post.