SkillMITv1.0.0neo-pragnya-mcp

Review-to-fix loop

Take a proposed patch from review to a pull request safely: apply it in a throwaway git worktree, run the tests it reaches, measure the risk delta (graph relationships, contract findings, complexity), approve the exact result by its digest, then commit to a new branch and open the PR with evidence. Use for applying a suggested fix, verifying a patch from review or an assistant, 'is this change safe', or turning a diff into a PR.

At a glance

Kind
Skill · Ananke skill
Reference
neo-pragnya-mcp/review-to-fix-loop · ananke://skill/neo-pragnya-mcp/review-to-fix-loop@1.0.0
Files
1 · 1.9 KB
How it's used
Skills load on demand: the agent sees this skill's name and description, and opens SKILL.md (and any bundled references or scripts) when a task matches.

Where it fits

Task
Work with GitWrite tests
Lifecycle phase
TestingVerification
Role
QA engineerReviewer
Domain
Developer tooling
Platform
Ananke PlexusClaude CodeGitHub Copilot
Needs
Nothing (text only)

Facets suggested from the item's own text and tags, not yet reviewed. Facets say where an item is relevant, not that it will run in your setup. How facets work

Checked by Dex

Verified, not self-reported: dex-trove 0.3.16 installed this item into each layout and checked that the tool can load it. Dex collects no download or usage data.

  • Claude Code ✓ loads
  • GitHub Copilot ✓ loads

Documentation

View upstream ↗

Uses Ananke Plexus (ananke triage patch) for the checks and the Dex GitHub MCP server (dex mcp serve github) for the pull request. The working tree you’re in is never touched.

Steps

  1. Save the patch as a unified diff: git diff > fix.patch, or the suggestion from review.

  2. Evaluate it:

    uvx --from ananke-plexus ananke triage patch fix.patch --run-tests

    It applies the patch in a throwaway worktree at --base (default HEAD), lists the tests the change reaches and runs them against the patched code, and compares relationships, contract findings and complexity before and after. It prints an approval digest.

  3. Read the risk list with the person who owns the change. A rise in complexity or a new link between components isn’t a failure, but it should be a decision.

  4. When they approve, commit exactly what was evaluated:

    ananke triage patch fix.patch --run-tests --approve sha256:… --branch fix/order-totals -m "Fix order totals"

    A different digest, a patch that changed, or tests that didn’t pass are refused.

  5. Open the pull request with the github MCP tools: github_pr_preview, then github_pr_create with the approval digest the server asks for, and attach the evaluation JSON as evidence.

Rules

  • Never commit a patch whose tests weren’t run; “to run” isn’t “passed”.
  • Don’t edit the patch after approval; evaluate it again.