agentleFS
GiammeGiamme/linear-spanks/skills/extras/exec-debugging/SKILL.md

exec-debugging

Skill1 starsChanged 28 days agoMITView on GitHub

Execution skill loaded when a task involves fixing bugs, tracing errors, or diagnosing failures.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    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:

    When implementing a task that requires debugging, follow this strict Chain-of-Thought process BEFORE writing any fix:

    line 7
  2. Distinctive:

    Minimal Fix: Do not rewrite the entire function.

    line 12
  3. Distinctive:

    Only after completing these 6 steps should you apply the fix.

    line 16

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

Debugging Execution Strategy

When implementing a task that requires debugging, follow this strict Chain-of-Thought process BEFORE writing any fix:

  1. Reproduce & Isolate: What is the exact state or sequence of events that triggers the bug? Which specific file/function is the boundary of the error?
  2. Formulate Hypotheses: State the 2-3 most likely root causes based on the error trace or behavior.
  3. Gather Evidence: What logs, variable states, or code paths confirm which hypothesis is correct?
  4. Minimal Fix: Do not rewrite the entire function. Propose the absolute minimum change required to resolve the issue.
  5. Verify Root Cause: Explain why this fix addresses the root cause and not just the symptom.
  6. Safety Check: Could this minimal fix break other parts of the system? (e.g., downstream consumers of this function).

Only after completing these 6 steps should you apply the fix.

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.