agentleFS
EffortlessMetricsEffortlessMetrics/demo-swarm/.claude/skills/debug/SKILL.md

debug

Skill0 starsChanged 10 months agoApache-2.0View on GitHub

Systematic debugging workflow. If can't reproduce: stop and clarify with user.

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

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

  • 0

    Common

    Most of the 127 edited versions we read keep these.

  • 5

    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:

    Before debugging, confirm the issue:

    line 6
  2. Distinctive:

    If can't reproduce: stop and clarify with user.

    line 13
  3. Distinctive:

    Never guess - verify each assumption

    line 72
  4. Distinctive:

    Test before and after

    line 74
  5. Distinctive:

    Don't expand scope

    line 75

“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 Skill

Systematic debugging workflow.

Phase 1: Reproduce

Before debugging, confirm the issue:

1. Get exact reproduction steps
2. Run them, capture output
3. Confirm failure matches reported issue

If can't reproduce: stop and clarify with user.

Phase 2: Isolate

Narrow down the problem:

1. Identify the failing component/function (use Grep to search for error messages)
2. Find the smallest reproduction case
3. Add logging/instrumentation if needed
4. Trace execution to failure point

Phase 3: Diagnose

Understand root cause:

1. Read the code at failure point
2. Check recent changes (git log -p)
3. Verify assumptions about inputs
4. Identify the actual vs expected behavior

Phase 4: Fix

Apply minimal fix:

1. Change only what's necessary (use Edit for targeted changes)
2. Don't refactor while fixing
3. Add a test that fails without fix
4. Verify test passes with fix

Phase 5: Verify

Confirm fix is complete:

1. Run full test suite
2. Re-run original reproduction
3. Check for regression in related areas

Output Format

## Issue
<description>

## Reproduction
<steps and output>

## Root Cause
<what's actually wrong>

## Fix
<what was changed and why>

## Verification
- Reproduction: ✓/✗
- New test: ✓/✗
- Test suite: ✓/✗

Rules

  • Ground every assumption in tool output
  • Never guess - verify each assumption
  • One fix at a time
  • Test before and after
  • Don't expand scope

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.