| name | fix-issue |
| description | Fix a GitHub Issue by viewing it, implementing the change, testing, and opening a PR. |
fix-issue
Take a GitHub Issue from read to PR.
Usage
/fix-issue <ISSUE_NUMBER> or /fix-issue <ISSUE_URL>
Workflow
- Read the Issue —
gh issue view $ARG --comments to pull the title, body, labels, and discussion.
- Triage — if anything is unclear, ask in a comment (
gh issue comment $ARG --body "...") instead of guessing.
- Identify scope — check the Issue body for explicit file or component references, then search the codebase to confirm.
- Implement — move the issue's board Status to In Progress, branch as
issue/<number>-<short-slug>, and make the change. Follow AGENTS.md conventions, anything under docs/governance/, and relevant decisions in docs/decisions/.
- Test — run
pnpm lint, pnpm lint:md, pnpm typecheck, and pnpm test (vitest; no test files yet at foundation phase). The Storybook a11y addon isn't wired up yet; verify a11y-affecting changes manually with browser tools.
- Commit — use Conventional Commits via
pnpm commit (cz-git). Reference the Issue in the body with closes #123.
- PR —
gh pr create --fill and include a short test plan in the body. The body must reference the Issue with closes #N so the Issue auto-closes on merge. Move the issue's board Status to In Review (Done sets itself on merge).
- Review feedback — when Copilot or a human reviewer leaves comments, address each one and resolve the thread. See the "Handling PR reviews" section in
AGENTS.md for the gh api graphql pattern.
Conventions
- Never bypass commit hooks (
--no-verify) without explicit user approval.
- Don't auto-merge PRs; the maintainer owns the merge decision.
- Breaking changes require a proposal (see
docs/proposals/).
- A11y fixes should cite the WCAG criterion in the PR body.
Policies in scope
The Comment policy and Fix-vs-defer policy at the end of AGENTS.md govern all work done through this skill.