agentleFS
ForeverAProgrammerForeverAProgrammer/claude-devflow/skills/fix-issue-github/SKILL.md

fix-issue-github

Skill0 starsChanged 9 months agoMITView on GitHub

Read a GitHub issue and apply code changes to resolve it.

The file

We split this skill into the rules it gives an agent

12 rules. About 0 are common, 10 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read a GitHub issue and apply code changes to resolve it.

    line 7
  2. Very specific:

    Check that gh is installed and authenticated by running gh auth status.

    line 12
  3. Very specific:

    Run gh issue view $ARGUMENTS --json title,body,comments,labels to fetch the issue details.

    line 13
  4. Distinctive:

    Read the title and body to understand what is being requested or what is broken.

    line 15
  5. Distinctive:

    Read any comments for clarifications, additional context, or decisions already made.

    line 16
  6. Distinctive:

    Search for symbols, filenames, or patterns mentioned in the issue.

    line 19
  7. Distinctive:

    Read the relevant files to understand the current implementation before making any changes.

    line 20
  8. Distinctive:

    Add features by following the existing patterns and conventions in the codebase.

    line 23
  9. Distinctive:

    Do not refactor or change code unrelated to the issue.

    line 24
  10. Distinctive:

    Do not add comments, docstrings, or logging unless the issue specifically asks for it.

    line 25
  11. Distinctive:

    After making changes, summarise what was changed and why, referencing specific files and line numbers.

    line 26
  12. Distinctive:

    Do not commit or push — leave that to the user.

    line 27

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Read a GitHub issue and apply code changes to resolve it.

$ARGUMENTS is the issue number. If $ARGUMENTS is empty, ask the user to provide an issue number and stop.

Steps:

  1. Check that gh is installed and authenticated by running gh auth status. If not, tell the user and stop.
  2. Run gh issue view $ARGUMENTS --json title,body,comments,labels to fetch the issue details. If the issue doesn't exist or is already closed, tell the user and stop.
  3. Analyse the issue:
    • Read the title and body to understand what is being requested or what is broken.
    • Read any comments for clarifications, additional context, or decisions already made.
    • Identify whether this is a bug fix, feature addition, or documentation change.
  4. Explore the codebase to find the relevant files:
    • Search for symbols, filenames, or patterns mentioned in the issue.
    • Read the relevant files to understand the current implementation before making any changes.
  5. Apply the minimum code changes needed to resolve the issue:
    • Fix bugs by correcting the root cause, not just the symptom.
    • Add features by following the existing patterns and conventions in the codebase.
    • Do not refactor or change code unrelated to the issue.
    • Do not add comments, docstrings, or logging unless the issue specifically asks for it.
  6. After making changes, summarise what was changed and why, referencing specific files and line numbers. Ask the user to review the changes before committing.
  7. Do not commit or push — leave that to the user.

$ARGUMENTS

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.