agentleFS
SeifBenayedSeifBenayed/cloclo/.claude/skills/debug/SKILL.md

debug

Skill114 starsChanged 8 months agoMITView on GitHub

Troubleshoot and debug issues. Use when the user reports an error, a test failure, unexpected behavior, or asks to investigate why something isn't working.

144 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use add-ollama-tool, 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-ollama-tool

    Add Ollama MCP server so the container agent can call local models and optionally manage the Ollama model library.

    Also in 6 projects that use this

  • MicrosoftSkill

    add-slack

    Add Slack channel integration via Chat SDK.

    Also in 6 projects that use this

  • sskarzSkill

    add-telegram-swarm

    Add Agent Swarm (Teams) support to Telegram. Each subagent gets its own bot identity in the group. Requires Telegram channel to be set up first (use /add-telegram). Triggers on "agent swarm", "agent teams telegram", "telegram swarm", "bot pool".

    Also in 5 projects that use this

  • +9 more from microsoft

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 7 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 127 edited versions we read keep these.

  • 7

    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:

    Read any error messages or stack traces mentioned

    line 14
  2. Distinctive:

    Ask clarifying questions if the problem description is vague

    line 15
  3. Very specific:

    Check recent git changes that might have caused the issue: git diff HEAD~3

    line 16
  4. Distinctive:

    If there's a failing test, run it to see the exact error

    line 19
  5. Distinctive:

    If it's a runtime issue, try to reproduce with minimal steps

    line 20
  6. Distinctive:

    Check for common issues:

    line 25
  7. Distinctive:

    If needed, add targeted logging to narrow down the issue

    line 36
  8. Distinctive:

    Do NOT make changes unless explicitly asked — diagnose and explain first.

    line 43

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

Help diagnose and troubleshoot the described issue or the most recent error.

Steps

  1. Understand the problem
    • Read any error messages or stack traces mentioned
    • Ask clarifying questions if the problem description is vague
    • Check recent git changes that might have caused the issue: git diff HEAD~3
  2. Reproduce
    • If there's a failing test, run it to see the exact error
    • If it's a runtime issue, try to reproduce with minimal steps
  3. Investigate
    • Find the relevant source files using the stack trace or error message
    • Trace the code path that leads to the error
    • Check for common issues:
      • Typos in variable or function names
      • Wrong types or missing type conversions
      • Missing imports or dependencies
      • Race conditions or async issues
      • Environment differences (missing env vars, wrong paths)
      • Recent changes that broke assumptions
  4. Form a hypothesis and verify
    • State what you think the root cause is
    • Find evidence in the code that supports or refutes it
    • If needed, add targeted logging to narrow down the issue
  5. Report findings
    • Root cause explanation (why it broke, not just what broke)
    • Suggested fix with specific code changes
    • How to prevent similar issues in the future

Do NOT make changes unless explicitly asked — diagnose and explain first. The user should decide whether and how to fix it.

$ARGUMENTS

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.