Skip to content

github-issue-to-pr

End-to-end workflow that turns a GitHub issue into a pull request using the gh CLI. Reads the target issue, creates a feature branch, implements a fix, runs just fmt, cargo clippy, and just test to validate, has a fresh subagent on a different model audit the change’s claims with claims-mcp (updating the repo’s claims.json ledger when it has one), commits and pushes, opens a PR, and links the PR back to the issue as a comment. Use this skill whenever the user asks Claude to “fix issue N”, “work on issue N”, “look at issue N and open a PR”, “take a look at <github-issue-url>”, “implement the fix for that issue”, or any similar phrasing that implies turning a GitHub issue into a ready-for-review PR. This is a push-through workflow — do not stop for confirmation between steps unless validation fails or the issue is genuinely ambiguous.

Field Value
Plugin github-workflows
Invoke as github-workflows:github-issue-to-pr
Source plugins/github-workflows/skills/github-issue-to-pr/SKILL.md
  • just, required: the just fmt and just test gates, which it stops without
  • claims-audit, required: the claims audit in step 7a
  • claims-mcp, optional: recording the audit in a claims.json ledger; table-only mode makes no calls
  • Git, required: branches, worktrees, commits and pushes (from the plugin)
  • GitHub CLI (gh), required: reading and filing issues and pull requests (from the plugin)
  • jq, optional: the PreCompact hook reads the session’s directory from its input with it; without jq it uses the current directory (from the plugin)