agentleFS
nazmirketnazmirket/skills/skills/debug/SKILL.md

debug

Skill0 starsChanged 2 days agoMITView on GitHub

Use to find the cause of a concrete failure or unexpected behavior and make the smallest authorized fix.

191 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use add-discord, add-slack 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.
  • MicrosoftSkill

    add-discord

    Add Discord bot channel integration via Chat SDK.

    Also in 11 projects that use this

  • MicrosoftSkill

    add-slack

    Add Slack channel integration via Chat SDK.

    Also in 11 projects that use this

  • +10 more from microsoft

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 174 edited versions we read keep these.

  • 2

    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:

    Fix directly when the evidence is clear: If a focused check confirms the failure and the code directly explains it, make the smallest …

    line 14
  2. Distinctive:

    Keep intermittent reports separate: If the reported failure will not reproduce, record the conditions and what remains unknown.

    line 16

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

Debug

Start with what should happen, what actually happened, and the best evidence already available. Use Adapt if relevant facts are missing. Bring in other skills only for a distinct question, such as Design for unclear interaction intent or Test when a reliable check needs specialist work.

Open the matching Debug tool guide before interpreting tool-specific behavior or choosing a tool-specific diagnostic, even when working from saved traces. Skip guides when the evidence already establishes the cause and no tool-specific check is needed.

Find the cause

  • Fix directly when the evidence is clear. If a focused check confirms the failure and the code directly explains it, make the smallest authorized fix and rerun the check. Skip a separate orientation or investigation pass.
  • Trace an unclear cause. Use the smallest safe reproduction. Compare a working run with a failing one and trace the relevant path to the first point where their behavior diverges. For each plausible cause, choose a check that can rule it out. After two plausible hypotheses fail, pause the investigation. Report what you ruled out, where the evidence stops, and the next check you recommend.
  • Keep intermittent reports separate. If the reported failure will not reproduce, record the conditions and what remains unknown. Fix an independently proven, in-scope defect if you find one. Leave the reported failure unverified until evidence connects it to that cause.

Fix and verify

  • A clearly reported bug authorizes an in-scope fix. Stop at diagnosis when requested, and ask before changing agreed behavior. An orientation finding alone does not authorize a repair.
  • Reuse a focused check that catches the failure. If a regression case needs coverage, extend an existing test when it fits naturally. Add a separate test if it needs different setup or would make the existing test unclear. Run the required project checks and verify affected behavior.
  • Report the cause, fix, and actual results. If the original check cannot run, deliver the in-scope fix with the evidence you have, name the exact check still needed, and leave that behavior unverified. Honor explicit completion gates. Use Preflight for setup blockers and its rules for weaker fallbacks.

During an incident, Deploy’s operations branch owns mitigation and recovery. Give it causal evidence and any authorized fix. Use Audit for a separate security or privacy review and Migrate for persistent state transitions.

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.