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]
tools
Show current project progress. Displays phase status and next steps. Use when: "show status", "project progress", "what's done"
data-ai
Unified project setup. Auto-detects state and orchestrates mpx skills/agents for init, conversion, or restructure.
testing
Track bugs/issues in .mpx/ phase system. Parses reports, finds related phases, adds fix tasks or creates bugfix phases. Use when: "track this bug", "add issue to project", "log this bug", "add bug to checklist"
development
Project workflow guidance for spec-driven development. Background knowledge auto-loaded when relevant.