github-issue-polish

Refines GitHub issues into implementation-ready specifications through codebase investigation and trial implementation.

1|Updated Aug 24, 2026
One-click install
npx skills add https://github.com/mjun0812/skills --skill github-issue-polish-mjun0812
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-issue-polish
Source: https://github.com/mjun0812/skills/tree/main/skills/github/github-issue-polish
Command: npx skills add https://github.com/mjun0812/skills --skill github-issue-polish-mjun0812

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? GitHub issues often lack the detail needed for implementation, forcing developers to do extra investigation before they can start. This Skill polishes an issue until it can be implemented from the issue alone, by investigating the codebase, making grounded design decisions, and validating the fix approach in a temporary git worktree. ## Core Features & Use Cases - Gap Analysis and Codebase Investigation: Compares the issue body against a target structure, then locates root causes and change points at file-and-line-number precision. - Design Decision Logging: Records every design fork with adopted options, rejected alternatives, rationale, and confidence levels in a decision log table. - Trial Implementation in Worktree: Verifies the fix approach with a minimal implementation and tests in a temporary git worktree, then cleans up the branch and worktree afterward. - Approval-Gated Rewrite: Presents the polished body for approval before writing it via gh issue edit, and posts a change summary comment for traceability. - Use Case: A maintainer receives a vague bug report. Run this Skill on the issue to produce a complete specification with reproduction steps, root cause, fix plan, test plan, and completion criteria. ## Quick Start Polish GitHub issue #123 so it reaches a state where it can be implemented from the issue alone.

Frequently Asked Questions about github-issue-polish

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I polish a GitHub issue so it can be implemented directly?

Provide the issue number and the Skill investigates the codebase, identifies root causes at file-and-line precision, makes grounded design decisions, and rewrites the issue body after your approval. It follows a fixed target structure covering background, cause analysis, fix plan, and completion criteria.

How does the trial implementation in a git worktree work?

The Skill creates a temporary worktree on a polish/<issue-number>-trial branch, applies a minimal implementation of the fix plan, and runs the planned tests to verify feasibility. The worktree and branch are always deleted afterward, even on error or cancellation.

Can I preview the polished issue without writing to GitHub?

Yes, pass the --dry-run flag to stop after the polished body is presented, with no writes to the issue. You can also use --skip-trial to omit the trial implementation phase entirely.

Does this Skill create issues or implement them?

No, it only refines existing open issues. Issue creation is handled by github-issue-create, and end-to-end implementation through PR creation is handled by github-issue-resolve.

What happens if the target issue is already closed?

The Skill checks the issue state during its initial phase and aborts with a report that the issue is already closed, making no changes.