plan-pr-batch
Use when choosing GitHub issues or PRs for a PR batch, recommending and grouping worker lanes by model/reasoning-effort assignment, preparing a subagent batch…
Skill by shakacode
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/shakacode-plan-pr-batch
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/plan-pr-batch
What's inside
- Skill name
plan-pr-batch- Description
- Use when choosing GitHub issues or PRs for a PR batch, recommending and grouping worker lanes by model/reasoning-effort assignment, preparing a subagent batch plan, or producing a ready goal prompt that invokes pr-batch.
- License
- MIT
- Instructions
- 148 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (19)
- SKILL.md
- openai.yaml · agents/
- batch-plan-preflight · bin/
- batch-plan-preflight-test.rb · bin/
- evaluate-workflow-behavior · bin/
- evaluate-workflow-behavior-test.rb · bin/
- model-routing-profile · bin/
- model-routing-profile-test.rb · bin/
- pr-file-touch-map · bin/
- pr-file-touch-map-test.rb · bin/
- astra-behavior-scenarios.json · fixtures/
- ror-wave-a-plan-replay.json · fixtures/
- unsigned-lifecycle-smoke.json · fixtures/
- handoff.md · references/
- intake-and-routing.md · references/
- lane-plan.md · references/
- model-routing-profiles.json · references/
- prompt-template.md · references/
- check_goal_prompt_size.rb · scripts/
SKILL.md (first lines)
# Plan PR Batch For new Codex planning, resolve the advisory `astra-pilot-v1` profile from [central routing data](references/model-routing-profiles.json) with the plan skill's `bin/model-routing-profile --role <role>`. Its named preferences supersede the GPT-5.6 recommendations below for the listed roles; those recommendations and planning tables remain the established comparison baseline. Keep explicit user routes, verified host support, portable fallback, and independent evidence rules. This is an unmeasured pilot, not a measured promotion. If the current host is Cursor, resolve the advisory `cursor-grok-v0` profile the same way; every role stays portable/generic until measured. Keep using `generic` prompt sizing for Cursor. If a partial or pinned installation lacks the resolver or data, continue with established or portable advisory routes; use the complete pack to access the pilot. Create verified scope and a goal prompt for `$pr-batch`. Do not implement items here. If the request is vague feature or bug intent, use `$spec` first to produce requirements, design, and tasks before planning the batch. If the user asks to continue PR-batch closeout from a pasted handoff, final-bucket table, PR URLs, or GitHub shorthand refs, route to `$pr-batch` instead of turning the handoff into broad discovery. When a saved handoff explicitly requests model-route replacement or identifies workers on a wrong or too-expensive route, use the canonical [Model-Routing Recovery Prompt](../../workflows/pr-processing.md#model-routing-recovery-prompt). `MODEL_REPLACEMENT_HANDOFF` alone does not prove whole-batch route recovery. If the visible request is to resume that worker or lane, use [Bounded Status Recovery](../../workflows/pr-processing.md#bounded-status-recovery); otherwise continue classifying the handoff and use generic closeout when that is what the request asks for. Otherwise use the canonical [Generic PR-Batch Continuation Prompt](../../workflows/pr-processing.md#generic-pr-batch-continuation-prompt) in the installed `pr-processing.md` workflow. If the user is asking whether existing PRs are ready to merge, what manual testing remains, or how to sequence open PR merges, use the target repo's `AGENTS.md` **Agent Workflow Configuration** pointer to resolve `.agents/agent-workflow.yml` when present, then read the policy keys the readiness workflow requires, including `review_gate` and `merge_ledger`. If the repo documents workflow configuration inline, read the full `AGENTS.md` **Agent Workflow Configuration** section, including `Review gate` and the other policy values the readiness workflow asks for. Use the repo-local `pr-processing.md` readiness workflow when present or the installed/shared `pr-processing.md` fallback instead of producing an implementation batch plan. If a required policy value cannot be resolved but `pr-processing.md` can, continue with that workflow's **Merge Readiness Gate** and report that policy value as `UNKNOWN`; do not invoke `$pr-batch` as a substitute for reading the readiness workflow. If the workflow cannot be resolved, report workflow state as `UNKNOWN` rather than guessing. If a skill picker only exposes installed/global skills, treat this skill as an entry point. After fetching, prefer repo-local `.agents/skills/...` and `.agents/workflows/...` files when they exist; otherwise use the installed shared files adjacent to this skill. When helper scripts need a `*_SKILL_DIR`, resolve it in this order: explicit environment variable; the loaded skill's base directory when the host exposes it; repo-local `.agents/skills/<skill>`; then stop with a precise blocker if the helper is still missing. For a verified Codex GPT-5.6 host, use this recommended exact profile while keeping provider-neutral classes for other runtimes: - Default single-target future coordinator: Sol/high - Affirmatively simple single-target future coordinator: Terra/high - Routine multi-lane coordinator: balanced/high (`Terra/high` only when host-verified) - Simple, positively classified worker: Terra/high - Unknown or uncertain worker: Sol/high - Sol/xhigh exception: pinned high-risk trigger, bounded plan challenge, repeated credible failures, or evidence-backed `MODEL_ESCALATION_REQUEST` - Independent adversarial QA: Sol/xhigh - Routine deterministic QA: Sol/high For a verified Claude host, use this provisional recommended exact profile (`claude-profile v1`): - Default single-target future coordinator: Opus 5/high - Affirmatively simple single-target future coordinator: Sonnet 5/high - Routine multi-lane coordinator: balanced/high (`Sonnet 5/high` only when host-verified) - Simple, positively classified worker: Sonnet 5/high - Unknown or uncertain worker: Opus 5/high - Opus 5/xhigh exception: pinned high-risk trigger, bounded plan challenge, repeated credible failures, or evidence-backed `MODEL_ESCALATION_REQUEST` - Independent adversarial QA: Opus 5/xhigh - Routine deterministic QA: Opus 5/high <!-- stage-reference: references/intake-and-routing.md --> ## Planning-Pass Route Assessment Before shaping lanes, resolve scope, trusted intake and routing observations; unresolved required facts remain UNKNOWN. Read [Intake and routing](references/intake-and-routing.md) for this stage. <!-- /stage-reference --> <!-- stage-reference: references/lane-plan.md --> ## Lane Plan After verified intake, construct lane/dependency/path evidence and run the planning preflight before dispatch. Read [Lane plan](references/lane-plan.md) for this stage. <!-- /stage-reference --> <!-- stage-reference: references/handoff.md --> ## Handoff After the lane plan passes, produce its requested handoff or explicitly authorized launch; planning alone never authorizes implementation. Read [Handoff](references/handoff.md) for this stage. <!-- /stage-reference --> <!-- stage-reference: references/prompt-template.md --> ## Goal Prompt for pr-batch Only when producing a goal prompt, load the exact template and measure the actual filled fence. Read [Goal template](references/prompt-template.md) for this stage. <!-- /stage-reference --> ## Completion Deliver the verified plan and requested handoff after preflight, or the exact unresolved input/dependency with its next owner. Planning alone does not dispatch implementation. An already authorized launch continues through `$pr-batch`. ## Common Mistakes - Do not infer PR vs issue from a bare number. - Do not broaden a continuation handoff into all open PRs, labels, milestones, or inferred related work; use only exact visible refs or ask for the target list. - Do not batch unrelated risky changes just because they are small.
From shakacode/agent-workflows, MIT.
More from shakacode/agent-workflows
- 0.592score
pause
shakacode
Print restart-safe copy-paste prompts for pausing an agent thread before restarting Codex, Claude, or another runner and for resuming in the same thread or a…
SkillBFreshness: B★ 8Claude Code +9 - 0.592score
pr-batch
shakacode
Plan and safely run one or more canonical issue, existing PR, or durably overridden ad-hoc work lanes with coordinated subagents, validation, review, and…
SkillBFreshness: B★ 8Claude Code +9 - 0.592score
fix-flaky-tests
shakacode
Use when a test fails intermittently in CI — classify the intermittency, work from the real CI error, fix the root cause systemically, and verify with a green…
SkillBFreshness: B★ 8Claude Code +9 - 0.592score
post-merge-audit
shakacode
Use when auditing merged PRs after concurrent agent work, before a release candidate, after a suspected bad merge, or when checking for missed reviews…
SkillBFreshness: B★ 8Claude Code +9 - 0.592score
address-review
shakacode
Fetch GitHub PR review comments, triage them into must-fix/discuss/optional/skipped, and guide fixing or replying to selected feedback.
SkillBFreshness: B★ 8Claude Code +9 - 0.589score
audit-chats
shakacode
Audit multiple Codex tasks and visible ChatGPT chats for archive and follow-up actions, or recover interrupted Codex tasks when explicitly requested.
SkillBFreshness: B★ 8Claude Code +9 - 0.587score
close-session
shakacode
Close an active agent task with live-state verification, durable outcome capture, explicit follow-up ownership, and an archive-readiness verdict.
SkillBFreshness: B★ 8Claude Code +9 - 0.587score
continue
shakacode
Resume an in-progress task with a structured checkpoint instead of a bare "continue", re-establishing what is done, what is next, and how done is verified.
SkillBFreshness: B★ 8Claude Code +9 - 0.587score
plan-issue-triage
shakacode
Use when preparing a ready prompt for Claude, Codex, or another agent to perform a review-only GitHub issue triage or open-issue audit, especially broad scans…
SkillBFreshness: B★ 8Claude Code +9 - 0.587score
plan-review
shakacode
Use when reviewing an implementation plan before coding or launching workers to check approach, scope, and repo-convention fit.
SkillBFreshness: B★ 8Claude Code +9 - 0.587score
pr-walkthrough
shakacode
Explain a pull request as a conceptual walkthrough, either interactively one change at a time or as one complete COMMENT-only GitHub review when explicitly…
SkillBFreshness: B★ 8Claude Code +9 - 0.587score
pr-monitoring
shakacode
Use when monitoring an opened pull request through current-head checks, comments, conflicts, merge-readiness, and final handoff.
SkillBFreshness: B★ 8Claude Code +9
Signals
- Stars
- 8
- Forks
- 1
- Open issues
- 119
- Last commit (this folder)
- Sep 12, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/shakacode/agent-workflows
- Website
- shaka.shakacode.com
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from shakacode
- 0.592score
address-review
shakacode
Fetch GitHub PR review comments, triage them into must-fix/discuss/optional/skipped, and guide fixing or replying to selected feedback.
SkillBFreshness: B★ 8Claude Code +9 - 0.592score
post-merge-audit
shakacode
Use when auditing merged PRs after concurrent agent work, before a release candidate, after a suspected bad merge, or when checking for missed reviews…
SkillBFreshness: B★ 8Claude Code +9 - 0.592score
pr-batch
shakacode
Plan and safely run one or more canonical issue, existing PR, or durably overridden ad-hoc work lanes with coordinated subagents, validation, review, and…
SkillBFreshness: B★ 8Claude Code +9 - 0.592score
fix-flaky-tests
shakacode
Use when a test fails intermittently in CI — classify the intermittency, work from the real CI error, fix the root cause systemically, and verify with a green…
SkillBFreshness: B★ 8Claude Code +9 - 0.592score
pause
shakacode
Print restart-safe copy-paste prompts for pausing an agent thread before restarting Codex, Claude, or another runner and for resuming in the same thread or a…
SkillBFreshness: B★ 8Claude Code +9 - 0.589score
audit-chats
shakacode
Audit multiple Codex tasks and visible ChatGPT chats for archive and follow-up actions, or recover interrupted Codex tasks when explicitly requested.
SkillBFreshness: B★ 8Claude Code +9
Cite this page
plan-pr-batch skill. Agent Mart. https://agentmart.dev/skills/shakacode-plan-pr-batch (last updated 2026-10-24)