agentleFS
EclipterEclipter/agents/skills/sdlc/fix/SKILL.md

fix

Skill1 starsChanged 5 days agoMITView on GitHub

Diagnose an issue down to its root cause, explain it, then fix it with a test, docs, and a commit.

82 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use feature, frontend-code-review and 10 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.
  • bradtraversySkill

    feature

    Manage current feature workflow - start, review, explain or complete

    Also in 10 projects that use this

  • chendongqiSkill

    frontend-code-review

    Trigger when the user requests a review of frontend files (e.g., `.tsx`, `.ts`, `.js`). Support both pending-change reviews and focused file reviews while applying the checklist rules.

    Also in 4 projects that use this

  • GoogleSkill

    pr-creator

    Also in 4 projects that use this

  • PJuniszewskiSkill

    cook

    Feature development with guardrails. Plan → Review → Code → Ship.

    Also in 3 projects that use this

  • vbrevikSkill

    work

    Use when the user says 'plan', 'todo', 'copy plan', 'append plan', 'resume plan', 'priorities', or 'what's next'.

    Also in 4 projects that use this

  • Microsoft AzureSkill

    test

    Also in 12 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 75 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run diagnose steps 1-4 only (pin the symptom, narrow, confirm, report).

    line 20
  2. Distinctive:

    If the cause is not in what this project can change (hardware, a third-party service, the user's environment), stop after the report: there …

    line 22
  3. Distinctive:

    If the cause is only a hypothesis, or several fixes are possible with different trade-offs, ask which way to go.

    line 24
  4. Very specific:

    Run the implement workflow from step 2 (reading the code the batch touches) onwards, with the fix as the task:

    line 28
  5. Very specific:

    before the commit, check that the symptom is gone the same way diagnose reproduced it.

    line 32

“Common” is measured: kept by at least 6 in 10 of the 75 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

One run, one bug: diagnose finds the cause, implement fixes it.

The argument after the command is the symptom, the same as for diagnose. Without an argument, take the issue from the conversation.

Principles

  • Fix the cause, not the symptom. Fix it once, in the shared code, not in each place the symptom shows up.

Workflow

1. Diagnose

Run diagnose steps 1-4 only (pin the symptom, narrow, confirm, report). Its read-only rule applies only until that report is delivered; after it, implement's rules apply.

If the cause is not in what this project can change (hardware, a third-party service, the user's environment), stop after the report: there is nothing to commit.

If the cause is only a hypothesis, or several fixes are possible with different trade-offs, ask which way to go. Otherwise continue without asking.

2. Implement

Run the implement workflow from step 2 (reading the code the batch touches) onwards, with the fix as the task:

  • the scope is the cause found in step 1, nothing more;
  • the failing test reproduces the original symptom;
  • before the commit, check that the symptom is gone the same way diagnose reproduced it.

3. Report

The implement report, with one line on top (this format is obligatory even for small commits):

  • 🎯 Cause: — one sentence from the diagnosis.

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.