Catalog
fauziyasin-s2m4qw/fix-issue

Fix a single GitHub issue end-to-end: triage, research, write the fix, review, and create a PR. Use when asked to fix an issue: "fix issue 1234", "resolve #500", "create a PR for issue 200".

v1.0LATEST
NewUpdated Nov 27, 2026

Fix Issue

Given GitHub issue $ARGUMENTS, decide what to do with it and either close it or fix it. This skill orchestrates the composable skills — it owns the decision tree, not the individual steps.

1. Triage

Invoke /triage-issue $ARGUMENTS to understand the issue and decide what to do. This runs in a forked subagent and returns a verdict.

2. Act on the triage result

If triage says close it — comment with the reason and close:

gh issue close $ARGUMENTS --repo docker/docs \
  --comment "<one sentence explaining why>

Generated by <active coding agent name>"

Done.

If triage says escalate upstream — comment noting the repo and stop:

gh issue comment $ARGUMENTS --repo docker/docs \
  --body "This needs to be fixed in <upstream-repo>.

Generated by <active coding agent name>"

Done.

If triage says leave it open — comment explaining what was checked and what's unclear. Do not close. Done.

End every issue comment with an accurate agent-disclosure footer that names the active coding agent, for example Generated by Codex or Generated by Claude Code.

If triage says fix it — proceed to step 3.

3. Research

Invoke /research to locate affected files, verify facts, and identify the fix. The issue context carries over from triage. This runs inline — findings stay in conversation context for the write step.

If research reveals the issue is upstream or cannot be fixed (e.g. unverifiable URLs), comment on the issue and stop.

4. Write

Invoke /write to create a branch, make the change, format, self-review, and commit.

5. Review

Invoke /review-changes to check the diff for correctness, coherence, and mechanical compliance. This runs in a forked subagent with fresh context.

If issues are found, fix them and re-review until clean.

6. Create PR

Invoke /create-pr to push the branch and open a pull request.

7. Return to main

git checkout main

8. Report

Summarize what happened: the issue number, what was done (closed, escalated, fixed with a PR link), and why — in a sentence or two.

Overall Score

73/100

Grade

B

Good

Grades are signals, not a certification. Always review a skill yourself before use.

Safety

76

Quality

70

Clarity

78

Completeness

65

Summary

This skill orchestrates end-to-end GitHub issue triage and fixing. It chains together composable sub-skills (triage, research, write, review, create PR) to decide whether to close an issue, escalate it upstream, leave it open, or create a fix. The skill manages the decision tree and coordination logic, delegating specialized work to sub-skills that run inline or in forked subagents.

Detected Capabilities

GitHub API interaction (gh issue read, comment, close)Subagent invocation (triage-issue, research, write, review-changes, create-pr)Git branch checkoutIssue comment generation with agent-disclosure footerDecision tree evaluation (close, escalate, leave open, fix)

Trigger Keywords

Phrases that agents use to match this skill to user intent.

fix github issueresolve issue numbercreate pr from issueclose invalid issuetriage and fix

Risk Signals

INFO

Issue comments include user-controlled issue context (issue-number, description from GitHub) which could theoretically contain prompt injection payloads

Section 2 - Act on triage result, all comment templates
INFO

Hardcoded repo reference 'docker/docs' in example commands

Section 2 - close and comment commands
WARNING

Skill does not verify that the active coding agent name is legitimately obtained before including it in footer

Sections 2, 8 - agent-disclosure footer
WARNING

No explicit scope boundary defining which repositories or issue types this skill should operate on

Global

Use Cases

  • Automate GitHub issue triage and resolution decisions
  • Create pull requests to fix verified issues end-to-end
  • Escalate issues to upstream repositories when appropriate
  • Close invalid or external issues with agent-generated justification
  • Coordinate research, code changes, and PR creation from a single issue reference

Quality Notes

  • Strength: Clear decision tree with well-defined exit points (close, escalate, leave open, fix)
  • Strength: Explicitly delegates specialized work to sub-skills rather than attempting to do everything inline
  • Strength: Includes agent-disclosure footer requirement, promoting transparency in automated actions
  • Strength: Logical step-by-step flow that matches the natural workflow of issue resolution
  • Weakness: Repo reference ('docker/docs') appears hardcoded in examples; unclear if this is meant to be substituted or is a fixed target
  • Weakness: No documented error handling for sub-skill failures (e.g., if triage-issue fails, research fails, or PR creation fails)
  • Weakness: Research step says 'findings stay in conversation context' but does not explain what happens if conversation context becomes stale or too large
  • Weakness: No guidance on retrying or escalating if review finds issues and re-review continues to fail
  • Weakness: Argument hint shows '<issue-number>' but examples use full references like 'issue 1234', '#500', 'issue 200' — unclear which format is correct
  • Weakness: No documentation of rate limits, authentication requirements, or prerequisites (e.g., authenticated gh CLI)
Model: claude-haiku-4-5-20251001Analyzed: Nov 27, 2026

Reviews

Add this skill to your library to leave a review.

No reviews yet

Be the first to share your experience.

Use fauziyasin-s2m4qw/fix-issue in your dev environment

Command Palette

Search for a command to run...