/research-convensions:issue-to-prfrom research-convensions
Converts a GitHub issue into a PR containing an implementation plan. Fetches the issue, brainstorms approach with the user, writes a plan file, and pushes a plan-only PR.
Ships in research-convensions. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Convert a GitHub issue into an actionable PR whose only content is an implementation plan. The implementation itself happens in a follow-up commit (by you, a teammate, or an automated agent triggered by the PR body).
gh.Accept any of these forms:
123 → issue #123 in the current repohttps://github.com/<owner>/<repo>/issues/123 → issue #123<owner>/<repo>#123 → issue #123 in a specific repogh issue view <number> --json title,body,labels,assignees
Summarize for the user: title, current state, what the issue is asking for, any open questions.
REQUIRED: invoke a brainstorming skill (superpowers:brainstorming if available) before writing the plan. Otherwise have an explicit discussion with the user.
The goal is to:
Do not skip brainstorming. Do not write a plan without prior discussion.
Save to docs/plans/issue-<number>-<slug>.md (adjust the path to whatever the repo uses):
# <Title from brainstorming>
Issue: #<number>
## Context
<Brief problem statement — what's broken or missing.>
## Approach
<The chosen approach from brainstorming and why it was chosen over the alternatives.>
## Tasks
1. <Specific, ordered implementation task>
2. <Another task>
3. ...
## Acceptance Criteria
- <Observable criterion from the issue or brainstorming>
- <Another>
## Out of scope
- <Anything explicitly deferred>
Keep tasks small and ordered. Each task should be a clear unit a reviewer can check off.
NUMBER=<issue-number>
SLUG=<short-kebab-slug>
TITLE=<title>
git checkout -b "issue-${NUMBER}-${SLUG}"
git add "docs/plans/issue-${NUMBER}-${SLUG}.md"
git commit -m "Add plan for #${NUMBER}: ${TITLE}"
git push -u origin "issue-${NUMBER}-${SLUG}"
gh pr create --title "Fix #${NUMBER}: ${TITLE}" --body "$(cat <<EOF
[action]
## Summary
<1-3 sentence summary from brainstorming.>
Closes #${NUMBER}
EOF
)"
Important:
[action], /claude implement), put it as the first line of the PR body. Many trigger-watchers only parse the first line.issue-<n>-<slug> matches the convention from CONVENTIONS.md.Different teams use different automation triggers. Check the repo's CLAUDE.md or .github/workflows/ to confirm what (if anything) parses the PR body. Common patterns: [action], /agent run, claude: implement. If no automation is configured, you can drop the trigger line — the PR is still useful as a reviewable plan.
| Mistake | Fix |
|---|---|
| Skipping brainstorming | Always brainstorm before planning. The issue text is rarely complete. |
| Trigger token not on line 1 | If your automation expects it first, putting it elsewhere silently does nothing. |
| Committing code along with the plan | Plan-only PR. Implementation goes in a follow-up commit. |
| Generic plan | Use specifics from the brainstorming. "Refactor X" is not a plan; "Extract function foo from bar.rs lines 40-90" is. |
| Wrong issue ref in PR body | Closes #<n> only auto-closes if the PR's base is the default branch. |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub codingthrust/templates --plugin research-convensions7 skills in this plugin
/fix-prUse when a pull request on the current branch has review comments, failing CI checks, or coverage gaps to address — guides a triaged cleanup pass that fixes feedback in priority order without bundling unrelated changes./repo-hygiene-auditUse when auditing a software repository for beginner-level best-practice violations, repo health, Git history hygiene, issue and PR usage, branch discipline, tests, docs, coding style, CI, security basics, or maintainability signals./report-writingUse when setting up or writing a research documentation/report site — scaffolds a fresh site (Makefile, build script, GitHub Pages workflow, HTML templates) or refreshes templates in an existing setup. Output is a single-page index with download cards, rendered markdown prose, and PDF viewers, all sharing the same neutral-academic stylesheet (ink + terracotta on warm paper). The build pipeline is a single Python script driven by a doc registry; the visual identity is fixed; the contents are yours./review-implementationUse when a code change is finished but not yet committed — dispatches a fresh-context subagent to review the diff for design principles (DRY/KISS/HC-LC), test quality, and (where applicable) public-API ergonomics, then consolidates findings and applies the clear fixes automatically./slide-writingUse when building a scroll-snapped, two-column slide deck in a neutral-academic house style — research-style and formal — for research talks, project briefings, group-meeting decks, anywhere a one-figure-plus-commentary rhythm beats bulleted Keynote slides. Forces a two-phase workflow — agree on the logic flow first, then design each page — so the deck has a thesis before it has visuals. The output is a single self-contained HTML file (CSS, JS, fonts via CDN) with arrow-key navigation, page indicators, and a section component library (masthead, spec list, stats grid, data table, conclusion 2x2, voice-quote wall, tool stack, key-links). The visual identity is fixed; the contents are yours./topic-reportUse when given a topic and a list of sources (URLs, arxiv IDs, DOIs, PDFs, local notes) and asked to collect what each source says about the topic and synthesize them into a single cited report. Drives a three-pass workflow — per-source extraction, cross-source synthesis, structured write-up — and grounds every claim in a specific source.Other plugins' skills for the same job