explain-issue — Claude Code skill: GitHub issue analysis
This skill explains the problem behind a GitHub issue and the solution discussed there. Use it to get oriented in an issue and its comments.
npx skills add dyoshikawa/rulesync --skill explain-issue -a claude-codeWhat explain-issue does
The skill fetches an issue’s description and metadata with gh issue view <issue_number>, then retrieves its comments with gh issue view <issue_number> --comments. It uses that material to describe the motivation and proposed direction, including constraints mentioned in the discussion.
When an issue points to related pull requests, commits, or files needed to understand the proposal, the skill gathers that context too. If you haven’t provided an issue number, it asks which issue to explain. It relies on gh to read issues, so that command must work in your environment.
What it helps with
- explain the problem described in a GitHub issue
- summarize the motivation and suggested solution
- include relevant comments and linked pull requests
- identify constraints mentioned in the discussion
Example prompts for the agent
- Explain GitHub issue 123, covering the underlying problem and the suggested fix.
- Review
owner/repo#42and include its comments and related pull requests. - Summarize why this issue was opened and what next step the discussion proposes.
How to install explain-issue
1Skills CLI (Vercel)
npx skills add dyoshikawa/rulesync --skill explain-issue -a claude-code2Manually: put the files in place
~/.claude/skills/explain-issue/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/explain-issue/
1Skills CLI (Vercel)
npx skills add dyoshikawa/rulesync --skill explain-issue -a codex2Manually: put the files in place
.agents/skills/explain-issue/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add dyoshikawa/rulesync --skill explain-issue -a cursor2Manually: put the files in place
.cursor/skills/explain-issue/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install dyoshikawa/rulesync explain-issue2Manually: put the files in place
.github/skills/explain-issue/SKILL.md1Skills CLI (Vercel)
npx skills add dyoshikawa/rulesync --skill explain-issue -a gemini-cli2Platform CLI
gemini skills install https://github.com/dyoshikawa/rulesync --path .rulesync/skills/explain-issueManually: put the files in place
.devin/skills/explain-issue/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add dyoshikawa/rulesync --skill explain-issue -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about explain-issue
How do I install explain-issue in Claude Code?
Run npx skills add dyoshikawa/rulesync --skill explain-issue -a claude-code. The skill file is at ~/.claude/skills/explain-issue/SKILL.md.
What does explain-issue do?
It reads a GitHub issue and its comments, then explains the problem and the suggested approach. It also gathers related pull requests, commits, or files when they help clarify the proposal.
Does explain-issue need access to GitHub issues?
It uses gh issue view <issue_number> to retrieve issue details and comments. Related pull requests, commits, or files are gathered when the issue points to them and they help explain the solution.
Source text
SKILL.md · MIT
--- name: explain-issue description: "Explain a GitHub issue: the background problem and the proposed solution" targets: - "*" --- target_issue = the user's request If target_issue is not provided, ask the user which issue to explain. ## Step 1: Gather Issue Information Run the following in parallel: - Get the issue description and metadata: `gh issue view <issue_number>` - Get the issue comments: `gh issue view <issue_number> --comments` If the issue references related pull requests, commits, or files that are needed to understand the solution, gather that context as well. ## Step 2: Analyze and Explain Based on the issue content, explain the following two aspects: 1. **Background (Problem/Motivation):** What problem, limitation, or user need does this issue describe? Why does it matter? 2. **Proposed Solution:** What solution, direction, or next step is suggested in the issue discussion? Summarize the expected approach, scope, and important constraints if they are mentioned. If the issue does not contain enough information about the solution, explicitly say that the solution is still undecided or unspecified. Keep the explanation concise and focused. Use the language of the current conversation (follow the user's language).
© dyoshikawa · MIT · dyoshikawa/rulesync