Issue To Pr
Turn a GitHub issue into a branch, fix, and PR.
Skill metadata
| Source | Bundled (installed by default) |
| Path | skills/github/issue-to-pr |
| Version | 1.0.0 |
| Author | VibeOS |
| License | MIT |
| Platforms | linux, macos, windows |
| Tags | github, issues, pull-request, kanban, workflow |
| Related skills | github-issues, github-pr-workflow, git-local-workflow, plan |
Reference: full SKILL.md
info
The following is the complete skill definition that VibeOS loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
Issue to PR
End-to-end recipe: pick a GitHub issue → plan → implement → open a PR that closes the issue. Optionally track progress on a kanban card.
When to Use
- User asks to "fix issue #N" or "ship a PR for this bug"
- Kanban worker assigned an issue URL / number
- After
/planfor a multi-file issue fix
Prerequisites
ghauthenticated (github-auth)- Clean-enough git worktree; prefer a new branch
- Related skills:
plan,git-local-workflow,github-pr-workflow
How to Run
- Read the issue:
gh issue view <N> --json number,title,body,labels,url
- Optional kanban track:
vibeos kanban create "Issue #<N>: <title>" --assignee default \
--body "Source: <issue url>"
- Plan (do not code yet on complex issues):
/plan Fix GitHub issue #<N>: <title>
Wait for approval if plan-before-act is on.
-
Branch + implement with file tools; commit via
git-local-workflow. -
Open PR linking the issue:
gh pr create --title "fix: <short title>" --body "$(cat <<'EOF'
## Summary
- Fixes #<N>
## Test plan
- [ ] …
EOF
)"
- Comment on the issue/kanban with the PR URL;
kanban_completewhen CI is green (or note follow-ups).
Quick Reference
| Step | Tool / command |
|---|---|
| Issue | gh issue view |
| Plan | /plan or plan skill |
| Commit | git-local-workflow |
| PR | github-pr-workflow / gh pr create |
| Track | kanban_* tools |
Procedure
- Restate acceptance criteria from the issue body.
- Keep the change scoped to the issue — no drive-by refactors.
- Put
Fixes #<N>orCloses #<N>in the PR body. - If blocked,
kanban_blockwith reason; do not silently stop.
Pitfalls
- Do not force-push shared branches.
- Do not commit secrets from the issue discussion.
- Large issues: split into linked PRs and say so in the plan.
Verification
- PR URL exists and references
#<N>. - CI started (or documented why not).
- Local tests / smoke from the plan were run.