yds-gh-issue-resolverlisted
Install: claude install-skill ymd38/dev-skills
# GitHub Issue Resolver
## Overview
Implement and verify a fix for a GitHub Issue, starting from the agreed response plan that `yds-gh-issue-planner` has already posted as a comment on the issue. This skill creates a feature branch, uses a git worktree as a temporary implementation sandbox, runs tests, opens a Pull Request, and verifies the fix against the original issue.
## Prerequisites
- The target issue must have an **agreed plan comment** previously posted by `yds-gh-issue-planner`, identified by the HTML marker `<!-- gh-issue-planner:agreed-plan -->` near the end of the comment body.
- If no such comment exists, **stop and direct the user to run `yds-gh-issue-planner` first**. Do not improvise an unagreed plan in this skill.
## Workflow
### Step 1: Fetch the Issue and Agreed Plan
Run the following command (replace `<id>` with the issue number):
```bash
gh issue view <id> --json number,title,body,labels,state,url,comments
```
From the `comments` array:
1. Locate the most recent comment whose body contains the marker `<!-- gh-issue-planner:agreed-plan -->`.
2. Treat that comment as the **agreed plan** and extract the 対応方針 / 影響範囲 / 実装方法 sections.
3. If no such comment exists, abort with a message asking the user to run `yds-gh-issue-planner` first.
### Step 2: Branch and Worktree Setup
```bash
# 1. Create a branch from the default branch (without switching the main working tree)
git branch <branch-name>
# Examples: fix/42-add-timeout-to-fetch feat/15-user-expor