Home / kunolu / 640-skills · sbtd-workflow-onboard/assets/external-skills/stable/skills/diagnosing-bugs/SKILL.md · GitHub

diagnosing-bugs skillA

This file is byte-identical to the first copy the registry indexed, one of 8 copies on public GitHub. Same content hash, same audit grade.

diagnosing-bugs is agent-read markdown (skill) from kunolu/640-skills: Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# Diagnosing Bugs

A discipline for hard bugs. Skip phases only when explicitly justified.

When exploring the codebase, read `CONTEXT.md` (if it exists) to get a clear mental model of the relevant modules, and check ADRs in the area you're touching.

## Redact

This skill has you show commands, outputs and captured artifacts. **Redact every secret first**: write `<REDACTED>` in its place. Build loops against env vars, so the credential stays in the environment rather than in what you show. Captured artifacts carry auth headers: quote only the lines that carry the signal.

If the redacted output is not enough to diagnose the bug, say so and ask the user.

## Phase 1: Build a feedback loop

**This is the skill.** Everything else is mechanical. If you have a **tight** pass/fail signal for the bug (one that goes red on _this_ bug), you will find the cause; bisection, hypothesis-testing, and instrumentation all just consume it. If you don't have one, no amount of staring at code will save you.

Spend disproportionate effort here. **Be aggressive. Be creative. Refuse to give up.**

### Ways to construct one, in roughly this order
…

Read the whole file at its exact version.

How to install

Latest version
mdr add kunolu/640-skills/diagnosing-bugs@git:20260827.561ec6a
Exact content
mdr add kunolu/640-skills/diagnosing-bugs@sha256:77f3cf31bc99b2f4

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_s6d4anwl3iqhnh7m.svg)](https://markdownregistry.com/a/art_s6d4anwl3iqhnh7m)

0 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260827.561ec6a latest2026-08-27 561ec6a 8,529 BA view · diff
git:20260812.12c92862026-08-12 12c9286 8,969 BA view · diff
git:20260718.951ea5b2026-07-18 951ea5b 8,536 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (8529 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

kunolu/640-skills · 113 stars · license Apache-2.0 · pushed 2026-09-25 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_s6d4anwl3iqhnh7m
GET https://markdownregistry.com/api/v1/resolve?ref=kunolu/640-skills/diagnosing-bugs
GET https://markdownregistry.com/api/v1/blob/77f3cf31bc99b2f49af943222526531fcc9fc41d047626d3640e875e85af3e84

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from kunolu/640-skills

sbtd-workflow-onboard skill
kunolu/640-skills · sbtd-workflow-onboard/SKILL.md · Checks, installs, or resets SBTD workflow tools, global Skills, AGENTS templates, and project configuration; explicitly…
git:20260921.563abb9 · audit A · 113 stars
codebase-design skill
kunolu/640-skills · sbtd-workflow-onboard/assets/external-skills/stable/skills/codebase-design/SKILL.md · Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find…
git:20260827.561ec6a · audit A · 113 stars
domain-modeling skill
kunolu/640-skills · sbtd-workflow-onboard/assets/external-skills/stable/skills/domain-modeling/SKILL.md · Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a CONTEXT.md…
git:20260827.561ec6a · audit A · 113 stars
grill-me skill
kunolu/640-skills · sbtd-workflow-onboard/assets/external-skills/stable/skills/grill-me/SKILL.md · A relentless interview to sharpen a plan or design.
git:20260827.561ec6a · audit B · 113 stars
grill-with-docs skill
kunolu/640-skills · sbtd-workflow-onboard/assets/external-skills/stable/skills/grill-with-docs/SKILL.md · A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.
git:20260827.561ec6a · audit A · 113 stars
grilling skill
kunolu/640-skills · sbtd-workflow-onboard/assets/external-skills/stable/skills/grilling/SKILL.md · Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or…
git:20260827.561ec6a · audit A · 113 stars
handoff skill
kunolu/640-skills · sbtd-workflow-onboard/assets/external-skills/stable/skills/handoff/SKILL.md · Compact the current conversation into a handoff document for another agent to pick up.
git:20260827.561ec6a · audit A · 113 stars
i-have-adhd skill
kunolu/640-skills · sbtd-workflow-onboard/assets/external-skills/stable/skills/i-have-adhd/SKILL.md · Shape output for a reader with ADHD: lead with the next action, number multi-step work, restate state across turns…
git:20260916.cb06e4d · audit A · 113 stars
impeccable skill
kunolu/640-skills · sbtd-workflow-onboard/assets/external-skills/stable/skills/impeccable/SKILL.md · Use when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt…
v4.3.1 · audit A · 113 stars
ponytail-audit skill
kunolu/640-skills · sbtd-workflow-onboard/assets/external-skills/stable/skills/ponytail-audit/SKILL.md · Whole-repo audit for over-engineering. Like ponytail-review, but scans the entire codebase instead of a diff: a ranked…
git:20260826.2c5e330 · audit A · 113 stars
ponytail-debt skill
kunolu/640-skills · sbtd-workflow-onboard/assets/external-skills/stable/skills/ponytail-debt/SKILL.md · Harvest every `ponytail:` comment in the codebase into a debt ledger, so the deliberate shortcuts and deferrals…
git:20260826.2c5e330 · audit A · 113 stars
ponytail-review skill
kunolu/640-skills · sbtd-workflow-onboard/assets/external-skills/stable/skills/ponytail-review/SKILL.md · Code review focused exclusively on over-engineering. Finds what to delete: reinvented standard library, unneeded…
git:20260826.2c5e330 · audit A · 113 stars

Every file in kunolu/640-skills

Other files named diagnosing-bugs

diagnosing-bugs skill
mxyhi/ok-skills · diagnosing-bugs/SKILL.md · Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports…
git:20260831.e7f2564 · audit A · 490 stars
diagnosing-bugs skill
asymmetric-al/core · .agents/skills/diagnosing-bugs/SKILL.md · Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports…
git:20260709.5ee8b28 · audit A · 383 stars
diagnosing-bugs skill
miosa-osa/osa · priv/skills/diagnosing-bugs/SKILL.md · Diagnose broken, failing, incorrect, flaky, or unexpectedly slow software. Use whenever a user reports a bug…
git:20260816.716d56b · audit A · 74 stars
diagnosing-bugs skill
gtapps/claude-code-hermit · plugins/claude-code-dev-hermit/skills/diagnosing-bugs/SKILL.md · Diagnosis loop for hard bugs and performance regressions. Builds a red-capable feedback loop and runs it before…
git:20260827.022cb22 · audit A · 74 stars
diagnosing-bugs skill
akillness/jeo-skills · .agent-skills/diagnosing-bugs/SKILL.md · Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports…
v1.0 · audit A · 47 stars
diagnosing-bugs skill
vodailocz/kilo-kit-mcp · skills/engineering/diagnosing-bugs/SKILL.md · Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports…
git:20260821.05c0d52 · audit A · 26 stars
diagnosing-bugs skill
j-star-films-studios/vibecode-protocol-suite · assets/.agent/skills/code-intelligence/diagnosing-bugs/SKILL.md · Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports…
git:20260821.1b830a3 · audit A · 24 stars
diagnosing-bugs skill
rudycity/superagent · .agents/skills/diagnosing-bugs/SKILL.md · Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports…
git:20260626.019dba9 · audit A · 23 stars

Browse by kind, by grade A, or by owner.