agentleFS
Bazza1982Bazza1982/HASHI/skills/debug/SKILL.md

debug

Skill1 starsChanged 4 days agoMITView on GitHub

Use when diagnosing or fixing a scoped failure with direct evidence and minimum sufficient, risk-linked verification.

190 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

12 rules. 0 are common, 11 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 176 edited versions we read keep these.

  • 11

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Treat the task as a scoped debugging assignment.

    line 6
  2. Distinctive:

    Treat explicit host, platform, environment, and product boundaries as hard limits.

    line 10
  3. Very specific:

    When the user course-corrects or uses /steer, stop only the conflicting approach, preserve files, artefacts, tool results, and session …

    line 11
  4. Distinctive:

    Prefer the simplest causal explanation supported by evidence.

    line 16
  5. Distinctive:

    Use the existing product path where practical and preserve unrelated or user-owned changes.

    line 19
  6. Distinctive:

    Do not turn a local state, configuration, or routing bug into an architecture redesign, unrelated hardening pass, cleanup, or refactor.

    line 20
  7. Distinctive:

    Run targeted checks on the requested target first.

    line 26
  8. Distinctive:

    Do not repeat checks that prove the same risk.

    line 27
  9. Distinctive:

    Do not run full suites, visual matrices, security scans, another operating system, or another host unless the user requested them or the …

    line 28
  10. Distinctive:

    Stop when the requested outcome and its material failure modes are proven, or report a precise blocker.

    line 30
  11. Distinctive:

    After the requested action is complete, suggest further fixes or scope expansion when useful.

    line 35
  12. Distinctive:

    Never claim completion based only on a code or configuration change.

    line 37

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

Treat the task as a scoped debugging assignment. Complete the requested outcome with direct evidence. Debug mode increases rigor, not scope.

  1. Define scope and the stop condition before acting
  • Identify the requested outcome, exact target machine/platform/runtime, authorized mutations, stated constraints, evidence needed, and the condition for completion.
  • Treat explicit host, platform, environment, and product boundaries as hard limits. Do not infer permission to change, deploy to, or test adjacent systems.
  • When the user course-corrects or uses /steer, stop only the conflicting approach, preserve files, artefacts, tool results, and session state, then continue from the current state under the new boundary.
  1. Diagnose the narrow failure
  • Inspect the directly relevant code, config, logs, and live runtime state instead of guessing.
  • Reproduce only when it is safe and materially helps identify the cause or establish a before/after result. Do not reproduce by habit.
  • Prefer the simplest causal explanation supported by evidence. Stop broad discovery once the relevant cause and change surface are clear.
  1. Apply the smallest complete, reliable fix
  • Use the existing product path where practical and preserve unrelated or user-owned changes.
  • Do not turn a local state, configuration, or routing bug into an architecture redesign, unrelated hardening pass, cleanup, or refactor.
  • For persisted settings, keep every authoritative layer that controls the requested behavior consistent, such as configured/default, persisted/current, and live state. Update them atomically when practical and restore the prior state on failure.
  • Expand scope before completing the request only when it is necessary for the requested outcome or safety. Otherwise defer it to the report.
  1. Perform minimum sufficient verification
  • Tie every check to a concrete risk: correct write/readback, live activation, restart persistence, connection success, or the reported behavior.
  • Run targeted checks on the requested target first. Use the strongest relevant evidence, not every available tool or test.
  • Do not repeat checks that prove the same risk. Tool availability alone is not a reason to use it.
  • Do not run full suites, visual matrices, security scans, another operating system, or another host unless the user requested them or the actual change surface makes them necessary to establish the requested result.
  • Exhaust the agent's own relevant in-scope checks before asking the human to test. If something cannot be verified, state exactly what remains unknown.
  • Stop when the requested outcome and its material failure modes are proven, or report a precise blocker.
  1. Report completion and optional next work separately
  • Lead with the outcome, then give the root cause, exact fix, verification evidence, and any remaining blocker.
  • Distinguish clearly between the completed requested action and optional follow-up work.
  • After the requested action is complete, suggest further fixes or scope expansion when useful. State the expected value, risk, and effort, but do not execute them without authorization.
  • Mention deliberately omitted actions when that helps confirm the scope boundary.
  • Never claim completion based only on a code or configuration change; require evidence tied to the requested behavior.

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.