task-to-pr

Completes one or more tasks. Creates one tested and reviewed pull request for each task. Use to implement, build, fix, or deliver tasks, tickets, pull requests, or a milestone.

owainlewis/blueprint231 installsMITSynced Aug 22

Works with

Claude CodeCursorCodex CLIGitHub CopilotGemini CLI
---
name: task-to-pr
description: Completes one or more tasks. Creates one tested and reviewed pull request for each task. Use to implement, build, fix, or deliver tasks, tickets, pull requests, or a milestone.
license: MIT
---

# Task to PR

Take each task from a decided outcome to a tested and reviewed pull request. Keep one task, branch, and pull request focused on one result.

Review the tasks first. Decide their order, note dependencies, and identify work that can run at the same time. Then make a short plan.

## Order dependent work

- Start independent tasks together when useful.
- Start a dependent task only after each prerequisite has an open pull request, an independent `/review` verdict of `Approve`, and no known blocking finding.
- Stack dependent work on the prerequisite branch. If a task has several unmerged prerequisites, stack those branches in dependency order before creating the dependent branch.
- When a prerequisite branch or pull request base changes, update every dependent branch to that reviewed state. Repeat `/test` and `/review`.
- After a prerequisite merges, retarget its stacked pull requests to the default branch. Repeat the proof against that base.

## Phase 1: build the code

1. Create or reuse a branch and worktree for the task. Start independent work from the latest default branch and dependent work from its reviewed prerequisite or stacked base.
2. Write the code.
3. Use `/test` to prove the task works, affected failures are handled, and refactors preserve behavior.
4. Commit and push the changes.
5. Create or update one pull request on GitHub. Include a short summary and the current proof, then mark it ready for review.
6. Move the ticket to the repository's review state, such as `In Review` or `Review`, when possible.
7. Use `/review` with a fresh subagent that did not write the code.
8. Fix valid problems, then repeat `/test` and `/review`. Commit and push every reviewed fix before continuing.

## Phase 2: pass the automated checks

1. Use the GitHub CLI to wait for CI and automated code review when the repository uses them.
2. Fix failures caused by your changes and valid review findings.
3. If a fix needs a product or technical decision that the task does not contain, stop that task and report the missing decision.
4. After changing code, repeat `/test` and `/review`.
5. If you changed code, commit and push it. Update the pull request summary and proof when needed.
6. Reply to every automated review finding. Say what you changed or why you made no change. Resolve the thread when it is fully addressed.
7. Wait for the automated checks again.
8. Repeat until all available checks pass and the automated review has no unresolved findings.
9. Update the ticket with final proof and the pull request link when possible. Keep it in the repository's review state while the pull request is open.

## Merge only when asked

If the user asks for merges, merge pull requests in dependency order. Before each merge, confirm that:

- automated checks pass;
- the final `/review` verdict is `Approve`;
- required approvals are present; and
- no review thread remains unresolved.

Explicitly naming `/codex-issue-coordinator` grants merge authority only for that coordinator's issue batch. Automatic skill selection does not grant merge authority.

After a prerequisite merges, retarget its dependents to the default branch and update them to that base. Repeat `/test`, `/review`, CI, and automated review before merging. Never bypass repository rules. Wait until GitHub reports the pull request as merged before marking its ticket complete when possible. If the user did not ask for merges, leave the pull request open.

## Return

Continue with every task that can make progress. For each task, report the pull request, tests, review verdict, CI state, and any blocker.

Without merge authority, stop when every task has a pull request with all
available checks passing, a final `/review` verdict of `Approve`, and no
unresolved automated review finding. Record required human approval or merge as
the task blocker. With merge authority, stop when every in-scope pull request is
merged and its ticket is complete when possible. If no task can move forward,
state what is needed.

More Code Review skills

pr-to-video

heygen-com/hyperframes

Turn a GitHub pull request (a PR URL, owner/repo#N, or 'this PR' in a checked-out repo) into a code-change explainer video — changelog, feature reveal, fix, or refactor walkthrough built from the diff, commits, and files: the input is a code change, not a website. Not a product promo (/product-launch-video) or a no-PR topic explainer (/faceless-explainer). Unclear → /hyperframes.

178.9k

receiving-code-review

obra/superpowers

Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation

178.0k

public-relations

coreyhaines31/marketingskills

When the user wants help with public relations, earned media, press coverage, journalist outreach, or media strategy (not pull requests). Also use when the user mentions 'PR,' 'public relations,' 'press,' 'press release,' 'press coverage,' 'media outreach,' 'pitch a journalist,' 'get featured,' 'media list,' 'media kit,' 'press kit,' 'newsjacking,' 'news hijack,' 'HARO,' 'Qwoted,' 'Featured,' 'Help A Reporter,' 'reporter request,' 'tech press,' 'TechCrunch,' 'earned media,' 'thought leadership placement,' 'op-ed,' 'guest article,' 'press contacts,' 'podcast prep,' 'going on a podcast,' 'podcast guest,' 'prep me for this podcast,' or 'how do I get press.' Use this for earned media work — finding journalists, pitching stories, newsjacking, prepping podcast appearances, and responding to press requests. For startup/SaaS/AI directory submissions, see directory-submissions. For product launches, see launch. For social-media engagement, see social. For cold-email outreach to prospects, see cold-email.

33.1k

← All Code Review skills

Check your AI visibility

One URL in, a 0–100 score and the exact fixes out.

RUN THE CHECK

Browse all the tools

15 tools across six categories
13 of them never send your data anywhere

Free · No signup · No trial clock

SEE THE DIRECTORY