/ai-native-toolkit:fix-pr [pr-number] (optional - derives from current branch if omitted)from ai-native-toolkit
Autonomously drives a PR to merge-ready by iterating on CI failures and review comments until all six criteria are met, then stops for human review.
Ships in ai-native-toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Enter autonomous PR review loop for the current branch's PR. Loops until the PR is merge-ready across ALL criteria, not just CI.
Windows: run the bash blocks below in Git Bash, which ships with Git for Windows. Installs, PATH notes and the make-free commands are in the Windows setup guide.
Drive the current branch's PR to merge-ready across all six criteria, then stop for human review (this command does not auto-merge).
Use the pr-review-merge skill: it owns the 6 ready criteria, thread-resolution rules, shell
pitfalls, base-sync-first, and the background CI watcher. Pass the current PR number
(gh pr view --json number --jq '.number') and the base branch
(gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name'), plus any bot rules
from the project's Marathon Configuration.
Autonomous Loop (DO NOT ask for permission between iterations):
Stop when ALL 6 criteria met:
Only ask for help if:
🔄 Iteration 1: Checking PR #123...
⚠️ Merge conflict with base branch in App.tsx — resolving (accept both sides)
❌ CI: TypeScript errors in user.service.ts
❌ CodeRabbit: 2 unresolved threads (missing error handling)
Fixing...
🔄 Iteration 2: Checking PR #123...
✅ In sync with base branch
✅ CI passing
❌ CodeRabbit: 1 remaining thread (async pattern)
Fixing...
🔄 Iteration 3: Checking PR #123...
✅ In sync with base branch
✅ CI passing
✅ All threads resolved
✅ No unaddressed comments
✅ PR #123: All 6 criteria met, ready for your review!
---
## 📍 Current Work
🔗 **PR**: #123 - Add payment processing
https://github.com/org/repo/pull/123
📊 **Latest**: All criteria met after 3 iterations
# Get PR info
gh pr view --json number,title,statusCheckRollup
# CI failures
gh pr checks <number> --json name,bucket | jq '.[] | select(.bucket == "fail")'
# Unresolved threads (GraphQL — most reliable)
gh api graphql -f query='...'
# Inline comments (REST fallback)
gh api repos/{owner}/{repo}/pulls/<number>/comments | jq '[.[] | select(.user.login | test("bot"; "i"))]'
# Conversation
gh pr view <number> --comments
# Failed CI logs
gh run view <run-id> --log-failed
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub bjcoombs/ai-native-toolkit --plugin ai-native-toolkit21 skills in this plugin
/6hatsSix Thinking Hats Analysis/ab-equivalenceCompare two versions of an LLM-directed document - an original (teacher) and a candidate (student) - across a transfer set and return a per-case behavioural-equivalence verdict plus an efficiency signal. A transform-agnostic library capability other skills compose to gate a transform on behavioural sameness. TRIGGER when asked to A/B test two versions of a prompt / instruction / skill, to check whether a rewritten or compressed document still behaves the same as the original, to validate behavioural equivalence between two document versions, to gate a transform on no-regression, or when a skill needs the run-the-runner-on-both-versions-and-judge-equivalence capability./assessOther plugins' skills for the same job