Plan a feature into an issue
This guide takes a feature idea from conversation to one GitHub issue, using the github-plan-to-issue skill. The issue body is written so that github-issue-to-pr can read it later and go straight to implementation.
It fits a single feature that one PR can carry. For several tasks that run as an epic, plan a milestone instead. If the plan turns out to be too big for one issue, the skill says so and suggests a split.
You need the github-workflows plugin
(install commands), and
git and
gh, authenticated.
- In Claude Code, in the repository, ask for it with a short seed: “Plan a feature:
add caching to the config loader.” The skill confirms which repository
ghresolves to. If you name another repository, that one wins. - Let it read before it plans. It reads the files the idea touches, any pattern in
the repository the idea refers to, and
README.md,CLAUDE.mdand thejustfileor build file, to learn the project’s validation commands. If the idea is ambiguous on fundamentals, it asks one or two questions first. - Work the plan with it in plan mode. The plan covers the problem, the proposed behavior, an implementation sketch that names the files and any new flags or config keys, the validation strategy, and what is out of scope. It adds open questions only if some decision is really unresolved.
- Accept or reject the plan. A rejected plan goes back for another round, and nothing is filed from it. An accepted plan is the issue body: the skill doesn’t ask a second time before it files.
- Let it pick labels. It looks at the labels the repository has and prefers
enhancement, thenfeature, thenfeat, so thatgithub-issue-to-prpicks afeat-branch prefix. If none exist, it files with no label and says so. It doesn’t create labels on its own. - Let it file the issue. The title is imperative and short, under about 72 characters. The skill doesn’t assign anyone and doesn’t set a milestone unless you named one.
- Take the issue URL from its report.
The skill never touches the working tree: it only reads code and writes to the issue tracker.
What the issue body contains
Section titled “What the issue body contains”The sections are Problem, Proposed behavior, Implementation sketch, Validation, Out of
scope and, only when needed, Open questions. The footer names the skill and says the issue
is ready for github-issue-to-pr, which tells the next agent that the
implementation sketch is authoritative and not a suggestion.
When it behaves differently
Section titled “When it behaves differently”- If you say “just file it”, the skill offers a lightweight issue with only the problem and proposed behavior. It names the cost: a thinner issue is harder to action later.
- If the repository has an issue template whose structure materially conflicts with the skill’s body, the project’s template wins and the skill adapts to it. If the template is a YAML form, the skill still files free-form markdown and mirrors the form’s field names as headings.
- If the plan shows the feature already exists, the skill stops and tells you instead of filing it.
- If the issue is rough or you think it is under-specified, groom it.
- If it is too big for one PR, split it into sub-issues.
- Otherwise, run
github-issue-to-pron the issue number, or label the issueacceptedand let a burndown take it.