debug-hunt SKILL.md skillA

debug-hunt from flagrare/agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add flagrare/agent-skills/debug-hunt@git:20260611.9c42181

Pins git:20260611.9c42181 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
flagrare/agent-skills
Path
plugins/flagrare/skills/debug-hunt/SKILL.md
Versions recorded
3
Latest version
git:20260611.9c42181, committed Jun 11, 2026
First version recorded
May 28, 2026
Size
9,734 bytes
Repository stars
12
License
none declared

Evidence-first debugging for bugs that are hard to reproduce, intermittent, performance-related, or where previous static-analysis fixes have failed. Declares an explicit goal via /goal (the bug no longer reproduces), then loops through Hypothesis → Instrument → Reproduce → Analyze → Fix until that goal is met. Uses ATDD via /flagrare:atdd-plan to write the fix when the codebase has tests. Triggers when the user reports a difficult bug, says 'this only happens sometimes', 'my fix didn't work'…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Debug

Evidence-first debugging. The core principle: **never commit to a fix until runtime data proves the root cause**.

Static analysis tells you what *should* happen. Logs, spans, and runtime state tell you what *actually* happens. This skill closes the gap by treating debugging as a scientific loop, hypothesis, instrumentation, reproduction, analysis, not a guessing game.

---

## Step 0: Set the goal

Invoke `/goal` with this statement (fill in the bug from the user's description):

> **Goal:** `[bug description]` no longer reproduces. The root cause is confirmed by runtime evidence, not assumption. If the codebase has tests, a failing test captured the bug before the fix and passes after. All instrumentation is removed. The codebase is clean.

Surface the goal back to the user in one sentence so they can adjust scope before the loop starts. This is the exit condition, the entire session runs until these conditions hold.

---

## Phase 1: Context & Hypotheses

**Gather facts before reading any code.**

Collect:
- Exact reproduction steps (or the conditions under which it *doesn't* reproduce, negative constraints narrow the search space fast)
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add flagrare/agent-skills/debug-hunt@sha256:beaae753cf77fcde

The line at the top of this page pins the label git:20260611.9c42181, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

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

5 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between May 28, 2026 and Jun 11, 2026, about one every 7 days.

versioncommittedcommitsizeaudit
git:20260611.9c42181 latest2026-06-11 9c42181 9,734 BA view · diff
git:20260528.07b43c32026-05-28 07b43c3 9,847 BA view · diff
git:20260528.11980f52026-05-28 11980f5 8,836 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the 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 (9734 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

flagrare/agent-skills · 12 stars · license none declared · pushed 2026-10-30 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_cr7t6zirxrlfalr2
GET https://markdownregistry.com/api/v1/resolve?ref=flagrare/agent-skills/debug-hunt
GET https://markdownregistry.com/api/v1/blob/beaae753cf77fcde787256f3d416264c8d253571670d838b4c9a284693a94456

Your AI assistant 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.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from flagrare/agent-skills

atdd-plan SKILL.md skill
flagrare/agent-skills · plugins/flagrare/skills/atdd-plan/SKILL.md · Produce an ATDD-first implementation plan in Claude Code's native plan mode, with named design patterns called out…
git:20261002.8acabf4 · audit A · 12 stars
brag-doc SKILL.md skill
flagrare/agent-skills · plugins/flagrare/skills/brag-doc/SKILL.md · Generate a comprehensive, impact-framed brag-doc entry for a chosen time window (day, week, biweek, month, or custom)…
git:20261028.5276366 · audit A · 12 stars
bug-bash SKILL.md skill
flagrare/agent-skills · plugins/flagrare/skills/bug-bash/SKILL.md · Programmatic bug bashing, ingest a prescribed test plan (Notion, markdown, pasted spec), drive a real running system…
git:20261030.337a593 · audit A · 12 stars
career SKILL.md skill
flagrare/agent-skills · plugins/flagrare/skills/career/SKILL.md · Run the career skills that are due, in one pass, and return one short combined digest plus an updated board. It reads…
git:20261028.5276366 · audit A · 12 stars
codebase-explore SKILL.md skill
flagrare/agent-skills · plugins/flagrare/skills/codebase-explore/SKILL.md · Explore the codebase to map conventions, reusable utilities, analogous features, and data flows relevant to a planned…
git:20260611.9c42181 · audit A · 12 stars
daily-code-review SKILL.md skill
flagrare/agent-skills · plugins/flagrare/skills/daily-code-review/SKILL.md · Generate a daily code review report showing stale PRs, items needing your attention, and active work for your team. Use…
git:20261008.b2c58b8 · audit A · 12 stars
design-review SKILL.md skill
flagrare/agent-skills · plugins/flagrare/skills/design-review/SKILL.md · Evaluate and refine UI the way a senior product designer would, visual hierarchy, spacing and rhythm, typographic…
git:20261014.0a5d2b2 · audit A · 12 stars
editorial-pass SKILL.md skill
flagrare/agent-skills · plugins/flagrare/skills/editorial-pass/SKILL.md · Review a finished or near-finished document the way a human editor reads it, start to finish, building a model of what…
git:20261030.be544f0 · audit A · 12 stars
figma-matcher SKILL.md skill
flagrare/agent-skills · plugins/flagrare/skills/figma-matcher/SKILL.md · Enforces pixel-perfect implementation of Figma designs by exhaustively extracting every visual property from Figma…
git:20260731.d6ff316 · audit A · 12 stars
five-lens-review SKILL.md skill
flagrare/agent-skills · plugins/flagrare/skills/five-lens-review/SKILL.md · Evaluate a product-direction question through five expert lenses, Senior PM, Senior Product Engineer, Senior Product…
git:20260611.9c42181 · audit A · 12 stars
impact-scan SKILL.md skill
flagrare/agent-skills · plugins/flagrare/skills/impact-scan/SKILL.md · Scan the org's communication surfaces (chat like Slack or Teams, open PRs, RFC docs and design docs, ticket threads…
git:20261028.5276366 · audit A · 12 stars
impact-timeline SKILL.md skill
flagrare/agent-skills · plugins/flagrare/skills/impact-timeline/SKILL.md · Build a month-by-month career impact timeline across an entire tenure (or any multi-month window), sweeping every…
git:20261002.32f1c7f · audit A · 12 stars

Every file in flagrare/agent-skills

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