agentleFS
me-cedricme-cedric/agent-compass/skills/debug/SKILL.md

debug

Skill3 starsChanged 27 days agoMITView on GitHub

Build a failing loop before you diagnose a hard bug, flaky test, regression or slowdown, with read-only Grafana, ArgoCD or Kubernetes evidence. Use when a report says only "broken".

192 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

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

  • 0

    Common

    Most of the 175 edited versions we read keep these.

  • 9

    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:

    No theory before the loop.

    line 11
  2. Distinctive:

    Stop at the first rung that catches the bug.

    line 15
  3. Distinctive:

    Remove inputs until each remaining part is needed.

    line 43
  4. Distinctive:

    Keep the loop as the regression check.

    line 45
  5. Distinctive:

    When read-only Grafana, ArgoCD or Kubernetes MCP servers are configured, use them for evidence:

    line 50
  6. Distinctive:

    Use them read-only. Never change a dashboard, a sync, or a cluster resource from this skill.

    line 56
  7. Distinctive:

    Never read a Secret. If a server is not configured, say so.

    line 57
  8. Distinctive:

    If a server is not configured, say so.

    line 58
  9. Distinctive:

    Stop. Ask for the missing artifact: logs, a HAR file, a fixture, environment access, or permission for temporary instrumentation.

    line 76

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

No theory before the loop. First build one command that catches the exact symptom.

Loop ladder

Stop at the first rung that catches the bug.

  1. An existing focused test.
  2. A new smallest regression test.
  3. A CLI or script with fixture input.
  4. An HTTP request against a running service.
  5. A Playwright or browser script for a UI bug.
  6. A replay of a captured trace.
  7. A small harness around one function or module.
  8. A stress loop for a flaky bug.

Tighten the loop

The loop must be:

  • Specific: it asserts the symptom that the user reported, not "does not crash".
  • Fast: seconds when possible.
  • Deterministic: the same verdict each time, or a high reproduction rate for a flake.
  • Runnable by an agent: no manual clicks, unless a written script wraps them.

A loop that asserts an absence needs a floor. A blank page has no forbidden class, and a process that never started writes no forbidden log line. Assert that the subject exists, then assert the absence. Wait for the floor, do not sample it once. Collect the survivors in a list and assert that the list is empty, so a failure names each survivor. A static search proves only that a literal is absent from the source.

Work

  1. Name the loop command. Run it once and see it fail.
  2. Remove inputs until each remaining part is needed.
  3. Change one thing at a time.
  4. Keep the loop as the regression check.
  5. Report the command, the failing result, the passing result and the remaining uncertainty.

Evidence from the running system

When read-only Grafana, ArgoCD or Kubernetes MCP servers are configured, use them for evidence:

  • Grafana: the logs, metrics and traces of the failing window.
  • ArgoCD: the sync state and the deployed revision of the app.
  • Kubernetes: pod status, events and logs.

Use them read-only. Never change a dashboard, a sync, or a cluster resource from this skill. Never read a Secret. If a server is not configured, say so. Do not ask the user to add write access.

A claim of change needs a control

A screenshot, log excerpt, benchmark or query result is weak evidence. A boring cause may give the same result. Capture the control in the same session.

The claimThe control
This screen differs from the rest of the appA screen that agrees, on the same device
The fix removed the errorThe earlier log window, with the error present
This is faster nowThe old build, on the same machine
The flag turns the feature offThe same screenshot with the flag on

Say in one sentence what the control rules out.

If no loop is possible

Stop. Ask for the missing artifact: logs, a HAR file, a fixture, environment access, or permission for temporary instrumentation.

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.