Rewrite gh issue
Rewrite a GitHub issue against the repo's template and codebase context. Use when the user wants an existing issue improved, clarified, tightened, normalized, or fully rewritten.From its SKILL.md
npx -y skills add MichaelHolley/cc-plugins --skill rewrite-gh-issueAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.4 KB, as published. Nobody here has run it
Inputs
Expected input from the user:
- a GitHub issue number
- optional intent, such as:
- make this issue more actionable
- rewrite this bug report
- turn this into a proper feature request
- align this with our issue template
- clean up and update issue 123
Issue template locations
.github/ISSUE_TEMPLATE/.github/issue_template/docs/- repository root for issue form or markdown templates
High-level behavior
Follow this approach:
- Validate the environment.
- Fetch the issue by number using the GitHub CLI.
- Inspect the current issue title, body, labels, and metadata.
- Explore the codebase, docs, tests, and configuration related to the issue.
- Try to answer unresolved questions from the repository before asking more.
- Ask the user targeted clarifying questions in a “grilling” interview style.
- Find a matching issue template if one exists.
- Rewrite the title and body in a cleaner, more complete form.
- Present the proposed rewritten issue to the user.
- Ask for explicit confirmation.
- Only after confirmation, update the issue title and body using
gh issue edit.
Gotchas
- Closed issue: Warn the user before doing any work. Ask whether to proceed.
- Empty body: Skip "preserve existing details" — treat it as a fresh write.
- No template found: Fall back to the rewrite requirements. Don't invent structure.
- Fork: Detect if the repo is a fork and ask which repo to target before editing.
- Metadata:
gh issue editonly updates title and body. Note label/assignee suggestions but don't apply them.
Rewrite requirements
The rewritten issue should:
- have a clearer, more specific title
- be concise but complete
- use repository-specific terminology where appropriate
- follow the matched issue template when applicable
- remove ambiguity
- make assumptions explicit
- avoid invented facts
- preserve important existing details unless they are clearly obsolete or misleading
Prefer including, where applicable:
- summary
- current behavior
- expected behavior
- reproduction steps
- scope
- technical context
- proposed direction
- acceptance criteria
- risks or constraints
- unanswered questions