skills/mp-review/SKILL.md
Review code with configurable scope and autofix. Use when: "review scope branch", "review changes", "review pr #123 autofix"
npx skillsauth add MartinoPolo/mpx-claude-code mp-reviewInstall 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.
Run review in two phases: review phase then optional fix phase. $ARGUMENTS
scope determines review target:
scope=branch → review branch diff against detected basescope=changes → review uncommitted changes (git diff + git diff --cached)scope=pr or scope=pr:<id|#id|url> → review PR diffIf scope missing or invalid, ask the user.
full → 6 reviewerspartial or half → 3 reviewersDefault coverage: full
autofix decides whether fix phase runs:
autofix or autofix=true → force ONautofix=false → force OFF< 10, otherwise OFF)mp-reviewer-code-qualitymp-reviewer-best-practicesmp-reviewer-spec-alignmentmp-reviewer-test-qualitymp-reviewer-securitymp-reviewer-performancemp-reviewer-error-handlingmp-reviewer-code-qualitymp-reviewer-best-practicesmp-reviewer-spec-alignmentmp-reviewer-test-qualitygit branch --show-current)mp-base-branch-detector sub-agent with remote branches and optional user hint<base>...HEAD using git diff <base>...HEADgit diff and git diff --cachedscope=pr:<...>; otherwise use current branch PRgh pr view, gh pr diff, draft allowed)REVIEW.mdReport shape:
If no findings, do NOT create report file. Return clean summary in conversation.
Compute total issues from merged findings (Critical + Important + Minor).
autofix param, honor it always.< 10 → autofix ON>= 10 → autofix OFFRun only when autofix ON and at least one finding exists.
Analyze each finding and determine the concrete fix — identify exact file paths, lines, and the specific code change needed. Then spawn mp-executor sub-agent (sonnet) with pre-analyzed fix instructions:
REVIEW.md)After executor completes, run the same selected reviewer set again on updated scope.
## Post-Fix Review section to the same report and repeat Fix Phase up to 3 iterations or until clean## Post-Fix Review with clean statusmp-executorMode: review
Scope: [branch|changes|pr]
Coverage: [full|partial]
Autofix: [true|false|auto-resolved]
Findings:
- total: [N]
- critical: [N]
- important: [N]
- minor: [N]
Report:
- [path or "none"]
Fix Step:
- executed: [yes/no]
- result: [clean/remaining issues/not requested]
development
Audit all active skills for consistency, convention drift, and common issues. Auto-fixes where possible, reports remaining issues. Use when: "audit skills", "skill audit", "check skills", "lint skills"
testing
Ship finished work: sync base, commit, push, PR, wait for CI green, merge. Use when: "ship it", "ship and merge", "ship this"
development
Scan recent Claude Code sessions for grilling/design discussions, extract decisions, and update CONTEXT.md + DECISIONS.md. Use when: "harvest decisions", "extract decisions from sessions", "update docs from sessions", "sync decisions"
tools
Consolidate CONTEXT.md: remove duplicates, outdated items, tighten language. Use when: "consolidate context", "clean up context", "simplify context", "consolidate requirements"