followup-issue-from-pr
Installation
SKILL.md
Follow-up Issue from PR
Companion to the code-review process. The user pastes a link to a PR or a specific PR comment. This skill turns the PR into tracked follow-up work in up to two ways, and both can apply to the same PR:
- Comment mode — the linked comment (or a comment chosen from a plain PR link) contains an actionable request (usually written by the reviewer). The skill turns that request into a GitHub issue, assigned to the right person.
- Design-doc mode — the PR adds or contains a design/proposal document in the repo's docs area (a design PR). The skill checks whether a tracking issue for implementing that document already exists and, if not, opens one following the
Implement: …tracking-issue convention.
When a plain PR link is pasted, always run the design-doc check (step 2a) in addition to the comment handling. When a specific comment link is pasted, comment mode is the primary intent, but still surface any new design doc in the PR so the user can opt into a tracking issue.
Inputs
- A GitHub URL (required), one of:
- PR comment link:
…/pull/<num>#issuecomment-<id> - Inline review comment link:
…/pull/<num>#discussion_r<id> - Plain PR link:
…/pull/<num>— no specific comment; runs design-doc detection (step 2a) and, if comments exist, comment selection (step 2).
- PR comment link:
- The repo is parsed from the URL (
owner/repo). Don't assume the current repo.