agentleFS
hacagahasanlihacagahasanli/agents-know/skills/fix/SKILL.md

fix

Skill1 starsChanged 16 days agoMITView on GitHub

Fix a bug, regression, incident or flaky test as the PM with the agents-know team - reproduce with a failing test, find the root cause and its siblings, apply the smallest safe fix, and prove it.

97 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use genie-hacks, workfly 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.
  • automagik-devSkill

    genie-hacks

    Browse, search, and contribute community hacks — real-world patterns for provider switching, teams, skills, hooks, cost optimization, and more.

    Also in 3 projects that use this

  • automagik-devSkill

    workfly

    Discover a procedure and build its saved workflow — dynamic discovery, drafted script, adversarial verification, landed in the catalog.

    Also in 3 projects that use this

  • VulnesisSkill

    container-scan

    Dockerfile / Containerfile / compose analysis plus optional Trivy / Grype / Syft composition when those binaries are present. Use when reviewing a Dockerfile PR, gating `docker build`, building an image SBOM, evaluating base-image risk, or auditing a registry image for CVEs.

    Also in 3 projects that use this

  • VulnesisSkill

    dep-resolve

    Dependency-conflict resolution when a `fix` version bump fails — diagnose the peer-dep tree, find a compatible safe version set, propose package-manager overrides (`overrides`/`resolutions`/`replace`/`[patch]`), fall back to safe-harbour inline patching. Use when an upgrade is blocked by transitive constraints, a peer-dep conflict surfaces, or you need to override a vulnerable transitive without bumping the parent.

    Also in 3 projects that use this

  • bamlabSkill

    eol-check

    Compare the versions of the platform dependencies this repo runs on (Node, React, React Native, Expo, Next.js, Docusaurus, TypeScript, Firebase Functions runtime) against endoflife.date and npm, and say what to upgrade. Use for an EOL / maintenance / "are we up to date" check, or from the factory's weekly run.

    Also in 3 projects that use this

  • +7 more from Vulnesis

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 88 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

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

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

    Read in ${CLAUDE_PLUGIN_ROOT}/references/: pm-playbook.md (how you run every step), agent-standards.md, the "Fix mode in detail" section of …

    line 10
  2. Very specific:

    Run cartographer if the map is missing or stale, then debugger: a failing test or exact reproduction, the proven root cause, sibling …

    line 16
  3. Distinctive:

    If stored data was damaged, tell the user now: the debugger's read-only query, and that repair will be an idempotent job they review and …

    line 17
  4. Very specific:

    Run the matching engineer for the smallest fix that removes the cause, plus the sibling fixes.

    line 18
  5. Very specific:

    Verify against the DoD: qa-engineer for regression, security-engineer for a security defect, others only for their area.

    line 19
  6. Very specific:

    Write report.md, unregister only this run with "${CLAUDE_PLUGIN_ROOT}/scripts/run.sh" stop "${CLAUDE_PLUGIN_DATA}" <run-dir>, and tell the …

    line 21

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

You are now the PM of the agents-know company in fix mode. Defect: $ARGUMENTS.

Read in ${CLAUDE_PLUGIN_ROOT}/references/: pm-playbook.md (how you run every step), agent-standards.md, the "Fix mode in detail" section of work-modes.md, company-modes.md, quality-gates.md, privacy-by-default.md, safe-migrations.md.

  1. Resolve the profile (playbook 3.1). Create ~/.agents-know/runs/fix-<slug>-<yyyymmdd>/ with feed.md, brief.md and ledger.md, register it and check overlaps ("Several runs at once"), tell the user the run id. 1b. Ask the company mode once, unless the profile has Company mode: set: one short question, the four one-line options in playbook 3.2, recommend standard.
  2. Route. If production is down or production data is wrong now, run incident-commander first: it returns the timeline, impact and mitigation options. Relay its updates; the user chooses and runs any mitigation. Then continue with step 3; the debugger takes its root-cause question. A CVE or audit finding goes to upgrader as the builder in step 6.
  3. Ask only what you cannot find yourself: expected versus actual, where, who is affected, since when, logs or screenshots. One question at a time, at most three. Write brief.md: the defect, its impact and this DoD: the failing test passes, siblings fixed, no new failure against G0, the reproduction no longer reproduces, a prevention task exists.
  4. Run cartographer if the map is missing or stale, then debugger: a failing test or exact reproduction, the proven root cause, sibling occurrences, blast radius and a fix plan. If it cannot reproduce, tell the user exactly what is missing and stop.
  5. If stored data was damaged, tell the user now: the debugger's read-only query, and that repair will be an idempotent job they review and run. Never repair data yourself.
  6. Run the matching engineer for the smallest fix that removes the cause, plus the sibling fixes. architect only if a contract or the data model must change.
  7. Verify against the DoD: qa-engineer for regression, security-engineer for a security defect, others only for their area; write verify/acceptance.md; then staff-reviewer.
  8. Ship: commit plan and a short review guide (root cause, fix, proof, prevention task); for an incident, incident-commander's postmortem. Run mentor for one digest when the cause teaches something.
  9. Write report.md, unregister only this run with "${CLAUDE_PLUGIN_ROOT}/scripts/run.sh" stop "${CLAUDE_PLUGIN_DATA}" <run-dir>, and tell the user in a few lines: cause, fix, proof, risk, and what they should review.

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.