stacked-mr
Automates the creation and batch-review of a stack of PRs to maintain clean, owner-scoped code changes.
Install
mkdir -p .claude/skills/stacked-mr && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/13604" && unzip -o skill.zip -d .claude/skills/stacked-mr && rm skill.zipInstalls to .claude/skills/stacked-mr
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Autonomous AFK mode: build a stack of owner-scoped PRs/MRs, then batch-review them to the bar. Human merges. Use on /stacked-mr or 'stack PRs'.Key capabilities
- →Build a stack of owner-scoped PRs/MRs based on tickets
- →Implement TDD-first principles for each ticket
- →Open PRs/MRs with the base set to the parent branch
- →Run a batch review pass for all PRs/MRs in the ledger
- →Collect verdicts and review artifacts from `code-review` agents
How it works
The skill builds a stack of owner-scoped PRs/MRs by processing tickets, implementing TDD-first, and opening PRs/MRs based on parent branches. It then performs a batch review of all stacked PRs/MRs using `code-review` agents.
Inputs & outputs
When to use stacked-mr
- →Stacking multiple related PRs
- →Batch code review
- →Automating PR workflow
- →Managing owner-scoped code changes
About stacked-mr
Creates a sequence of PRs/MRs based on tickets, following TDD-first principles. It performs batch reviews at the end to ensure consistency before human merging.
Autonomous AFK mode: build a stack of owner-scoped PRs/MRs, then batch-review them to the bar. Human merges. Use on /stacked-mr or 'stack PRs'.
When not to use it
- →When `code-review` agent pass is needed during the build phase
- →When work needs multiple owner agents for a single ticket
Limitations
- →Never merge PRs/MRs automatically
- →Every PR/MR must reach the review bar before final handoff
- →Force-push only feature branches and only with `--force-with-lease`
How it compares
This skill automates the creation and batch review of stacked PRs/MRs, enabling an autonomous workflow where individual PRs are not reviewed immediately, unlike a manual process that typically involves reviewing each PR as it's created.
Compared to similar skills
stacked-mr side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| stacked-mr (this skill) | 0 | 2mo | No flags | Advanced |
| resolve-conflicts | 81 | 8mo | Review | Intermediate |
| git-advanced-workflows | 11 | 2mo | Review | Advanced |
| nx-workspace | 4 | 6mo | Review | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by trevormil
View all by trevormil →You might also like
resolve-conflicts
antinomyhq
Use this skill immediately when the user mentions merge conflicts that need to be resolved. Do not attempt to resolve conflicts directly - invoke this skill first. This skill specializes in providing a structured framework for merging imports, tests, lock files (regeneration), configuration files, and handling deleted-but-modified files with backup and analysis.
git-advanced-workflows
wshobson
Master advanced Git workflows including rebasing, cherry-picking, bisect, worktrees, and reflog to maintain clean history and recover from any situation. Use when managing complex Git histories, collaborating on feature branches, or troubleshooting repository issues.
nx-workspace
nrwl
Explore and understand Nx workspaces. USE WHEN answering any questions about the nx workspace, the projects in it or tasks to run. EXAMPLES: 'What projects are in this workspace?', 'How is project X configured?', 'What targets can I run?', 'What's affected by my changes?', 'Which projects depend on library Y?', or any questions about Nx workspace structure, project configuration, or available tasks.
fix-github-issue
AgnosticUI
Fix a GitHub issue by number. Use when asked to fix GitHub issues.
rebase-pr
AztecProtocol
Rebase a PR on its base branch, fix conflicts, and verify build
resolve-pr-parallel
EveryInc
Resolve all PR comments using parallel processing. Use when addressing PR review feedback, resolving review threads, or batch-fixing PR comments.