agentleFS
justnau1020justnau1020/claude-os/skills/development/fix-issue/SKILL.md

fix-issue

Skill3 starsChanged 8 months agoApache-2.0View on GitHub

Fix a GitHub issue end-to-end -- read the issue, implement the fix, write tests, and create a commit. Use when you want to fix a specific GitHub issue, resolve a bug report, or implement a feature request.

16 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use refactor, ship and 3 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • GitHubSkill

    refactor

    Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.

    Also in 3 projects that use this

  • AWSSkill

    ship

    Finalize dev work on an issue branch — update docs, push, and open a PR.

    Also in 3 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 3 projects that use this

  • AWSSkill

    tdd

    Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.

    Also in 3 projects that use this

  • MicrosoftSkill

    handoff

    Compact the current conversation into a handoff document for another agent to pick up.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 6 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 15 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Follow the project's existing conventions and patterns

    line 29
  2. Distinctive:

    Add type hints to any new code

    line 31
  3. Distinctive:

    Add a test that would have caught this bug

    line 35
  4. Distinctive:

    Verify existing tests still pass

    line 36
  5. Distinctive:

    Run the project's CI pipeline locally:

    line 41
  6. Distinctive:

    Do NOT push -- let the user decide when to push.

    line 57

“Common” is measured: kept by at least 6 in 10 of the 15 edited versions of this file we could read. “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

Fix GitHub Issue

Fix issue #$ARGUMENTS end-to-end.

Steps

1. Read the issue

gh issue view $ARGUMENTS

Understand the problem, expected behavior, and any reproduction steps.

2. Research the codebase

Find the relevant files using the issue description. Read the code to understand the current behavior and what needs to change.

3. Implement the fix

  • Follow the project's existing conventions and patterns
  • Make minimal, focused changes -- fix the bug, don't refactor surrounding code
  • Add type hints to any new code

4. Write or update tests

  • Add a test that would have caught this bug
  • Verify existing tests still pass
  • Mock external APIs -- no real network calls

5. Verify

Run the project's CI pipeline locally:

# Adjust these commands to match your project's tooling
pytest tests/ -v --tb=short
# lint check
# type check

6. Create a commit

Stage only the files you changed and commit with a message referencing the issue:

Fix #$ARGUMENTS: <brief description of what was fixed>

Do NOT push -- let the user decide when to push.

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.