task-to-pr
Installation
SKILL.md
Task To PR
- Resolve the ticket: problem, acceptance criteria, PR rules. Stop if it's unclear, already has a PR, spans unrelated work, or needs missing secrets or decisions.
- Work in an isolated branch or worktree named with the ticket ID. Protect unrelated local changes.
- Implement the smallest complete change. Add or update tests, and docs when user-facing behavior changed.
- Run focused checks first, wider ones when shared behavior changed.
- Get the diff reviewed by another agent or reviewer. If none is available, self-review, and don't push unless the user accepts that limitation.
- Check each acceptance criterion against the ticket. Unmet required criteria block the PR.
- Commit with a Conventional Commit subject and ticket ID, push, open a PR ready for review. Body: ticket link, summary, acceptance status, check results, review status.
- Handle checks and feedback that arrive during this run: fix actionable items, re-check, push. Stop when clean, when nothing arrives after a reasonable wait, or when a human decision is needed.
- Update the ticket with the PR link and proof, move it to the closest review state.
- Report ticket, branch, PR URL, checks, feedback handled, and anything blocked or unchecked.