refine-issue
Installation
SKILL.md
refine-issue skill
Fetch a GitHub issue by number and rewrite it to a consistent template. The skill reads the issue, optionally reads the codebase for context, then produces a structured version with a gitmoji-prefixed title, ๐ฏ Problem, ๐ Description, โ Acceptance Criteria, and more. Shows a before/after diff before updating.
features
- fetches issue title, body, and labels via
gh issue view --json - reads codebase (
git ls-files+ key files) to enrich Technical Notes and validate acceptance criteria - rewrites to the same template used by
/create-issue: gitmoji title, ๐ฏ Problem, ๐ Description, โ Acceptance Criteria, ๐ Steps to Reproduce (bugs), ๐ก Technical Notes - preserves any good content already in the issue โ rewrites structure, not ideas
- proposes an improved title only when the existing one is too vague (e.g., "fix bug", "update")
- shows a before/after diff and waits for confirmation before posting
--dry-runprints thegh issue editcommand without executing it- updates in-place via
gh issue edit