bug-ledger
Use when a bug is reported, found, fixed, or reopened, or before working in a bug-prone area.
Skill by mhshaon98
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/mhshaon98-bug-ledger
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/bug-ledger
What's inside
- Skill name
bug-ledger- Description
- Use when a bug is reported, found, fixed, or reopened, or before working in a bug-prone area. Check BUG_LIST.md before debugging: many "new" bugs are regressions of fixed ones.
- License
- MIT
- Instructions
- 90 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (1)
- SKILL.md
SKILL.md (first lines)
# Bug Ledger Discipline
`_claude/BUG_LIST.md` (the assistant's continuity folder; legacy projects: `BUG_LIST.md` at the root) is the project's institutional bug memory: every bug
ever found, its root cause, and the full attempt history (what worked, what didn't,
what regressed). The handoff is "where we are now"; the ledger is "everything we've
ever fought and how." It lives in git so it travels with the clone.
## When a bug is reported
1. **Scan `BUG_LIST.md` FIRST** — search by area, compare symptom AND environment
(device / OS / build):
- Matches an entry marked ✅ FIXED → suspect a **regression**; reopen that entry,
don't debug blind.
- Matches a "cross-cutting lessons" pattern → apply the known diagnosis first.
- **Note which build the symptom was seen on** — a report against the live/shipped
build is NOT evidence that an unreleased fix failed.
2. If no ledger exists yet, create it now (template below). Don't create one
preemptively on bug-free projects.
## When a bug is fixed or reopened
Update the matching entry (or add one) **in the same session** — don't let it drift.
Record: symptom → root cause (the mechanism, not the patch) → each attempt with its
result → current fix with file:line → verification status.
**Status legend:** 🔴 OPEN · 🟠 PARTIAL/needs verification · ✅ FIXED (verified) ·
🟡 FIXED (not yet verified on the real target) · ⚪️ DEFERRED (known, accepted).
**Compiling ≠ fixed** — a behavioral fix stays 🟡 until exercised on the real target.
## Entry template
```markdown
### BUG-NN — <short title> [status emoji + label]
- **Area:** <camera / storage / auth / UI / build / …>
- **Reported / found:** <when, how, on which BUILD/env>
- **Symptom:** what the user/observer sees.
- **Root cause:** the actual mechanism — or "unknown; hypotheses below".
- **Attempts:** chronological: tried X → RESULT (worked / didn't / regressed Y).
- **Current fix:** what's in the tree now (file:line).
- **Verification:** how confirmed (device / prod / curl / test) — or "NOT verified".
- **Files / Refs:** paths; handoff / commit links.
```
## File structure (when creating a new ledger)
Sections in order: **OPEN / ACTIVE** (newest first) → **DEFERRED** → **FIXED**
(grouped by area, keep the attempt history — that's the point) → **Cross-cutting
lessons** (recurring traps, so a "new" bug can be matched to a known pattern).
Add a header note telling every future session to read the file during session start
and update it in the same session a bug is touched.
## Triage method (before writing the ledger entry)
Each rung is a precondition for the next — don't record a fix until all six are done:
1. **Reproduce: build the loop first** — no repro = a hypothesis, not a bug. The repro
is ONE command you have already run that drives the real bug path and goes **red**
on the reporter's exact symptom, and is tight (deterministic, seconds,
agent-runnable). Take the first rung that reaches the bug: failing test → curl/HTTP
script → CLI with a fixture diffed against a snapshot → headless browser script →
replay of a captured request/trace → throwaway harness → fuzz loop (for
"sometimes wrong") → `git bisect run` harness → old-vs-new differential → a scripted
human-in-the-loop step as last resort. Flaky: raise the repro rate (loop 100×,
stress, narrow timing) until it fails often enough to debug. No loop after real
effort → say so, list what you tried, ask for environment access, a captured
artifact, or temporary instrumentation. **UI / iOS visual bugs:** a screenshot or
simulator capture that shows the symptom IS the loop; a hypothesis may come before
any automated test, provided the same capture is re-taken after the fix. A
re-triggered old bug repros the old way.
2. **Localize the layer** — UI / API / data / build / external / the test itself; git
bisect to the introducing commit.
3. **Reduce to a minimal failing case** — strip unrelated code, simplify inputs.
4. **Fix the root cause, not the symptom** — a DB-query fix, not a UI dedup.
5. **Regression test** — one test that catches this specific failure.
6. **Verify end-to-end** — focused test → full suite → build → manual check.
**Done-check:** the step-1 loop has been run and went red before the fix and green
after (show both runs); a loop that never went red proves nothing about the fix.
Hard rule: once something is broken, STOP adding features until it is fixed — new work
on top of a break compounds the diagnosis. (adapted from addyosmani/agent-skills, MIT)
Repro ladder and red/green done-check adapted from mattpocock/skills `diagnosing-bugs` (MIT, `49dd158`, 2026-10-17).
## Debugging rules while working an entry
- **Two failed attempts → stop grinding**: step back, re-read the surrounding system,
escalate model tier or spawn a debugging agent.From mhshaon98/agent-skills, MIT.
More from mhshaon98/agent-skills
- 0.570score
client-cms
mhshaon98
Add a secure client-facing admin/content layer to the current website so nontechnical staff can edit approved content without touching source.
SkillAFreshness: AClaude Code +9 - 0.570score
eng-report
mhshaon98
Apply an engineering house style (vendor-manual layout, the user's own logo and colours, ANSI safety notices, document-control blocks) to a Word, Markdown or…
SkillAFreshness: AClaude Code +9 - 0.567score
doc-metadata
mhshaon98
Stamp the project's chosen author and company on every Word, Excel, PowerPoint or PDF file the agent creates or edits, and strip tool and AI fingerprints such…
SkillAFreshness: AClaude Code +9 - 0.567score
antigravity-bridge
mhshaon98
Delegate bounded work or get a third-provider opinion from Google's Antigravity CLI (agy, Gemini).
SkillAFreshness: AClaude Code +9 - 0.567score
call-handoff
mhshaon98
Cold-start briefing from the project's newest handoff, open bugs and next-session prompt in two round-trips, then stop.
SkillAFreshness: AClaude Code +9 - 0.567score
compliance-check
mhshaon98
Check what is actually live (store listing and labels, published policies, deployed backend, retention jobs) against the code and published words, then work…
SkillAFreshness: AClaude Code +9 - 0.567score
codex-bridge
mhshaon98
Delegate a task to OpenAI Codex or get a non-Claude second review via the codex plugin.
SkillAFreshness: AClaude Code +9 - 0.567score
commissioning-logger
mhshaon98
Only when explicitly asked to log a multi-step hands-on process (commissioning, wiring, bring-up, troubleshooting): "log this", "start a commissioning log"…
SkillAFreshness: AClaude Code +9 - 0.565score
new-project
mhshaon98
Bootstrap a brand-new project with proven architecture defaults and continuity scaffolding.
SkillAFreshness: AClaude Code +9 - 0.565score
apply-richformat
mhshaon98
Give any text-bearing surface (app screen, document, report, README, chat answer, CLI output, table) visible rank and separation.
SkillAFreshness: AClaude Code +9 - 0.565score
deepen
mhshaon98
Before planning a substantial build, redesign, feature, research question or subagent brief, answer four questions (what a top professional would add, the…
SkillAFreshness: AClaude Code +9 - 0.563score
app-audit
mhshaon98
Automated technical and disclosure compliance-assistance audit of a project: profiling, read-only specialist subagents, fresh research, optional Codex peer…
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 19, 2026 (10 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/mhshaon98/agent-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from mhshaon98
- 0.570score
eng-report
mhshaon98
Apply an engineering house style (vendor-manual layout, the user's own logo and colours, ANSI safety notices, document-control blocks) to a Word, Markdown or…
SkillAFreshness: AClaude Code +9 - 0.570score
client-cms
mhshaon98
Add a secure client-facing admin/content layer to the current website so nontechnical staff can edit approved content without touching source.
SkillAFreshness: AClaude Code +9 - 0.567score
commissioning-logger
mhshaon98
Only when explicitly asked to log a multi-step hands-on process (commissioning, wiring, bring-up, troubleshooting): "log this", "start a commissioning log"…
SkillAFreshness: AClaude Code +9 - 0.567score
antigravity-bridge
mhshaon98
Delegate bounded work or get a third-provider opinion from Google's Antigravity CLI (agy, Gemini).
SkillAFreshness: AClaude Code +9 - 0.567score
call-handoff
mhshaon98
Cold-start briefing from the project's newest handoff, open bugs and next-session prompt in two round-trips, then stop.
SkillAFreshness: AClaude Code +9 - 0.567score
doc-metadata
mhshaon98
Stamp the project's chosen author and company on every Word, Excel, PowerPoint or PDF file the agent creates or edits, and strip tool and AI fingerprints such…
SkillAFreshness: AClaude Code +9
Cite this page
bug-ledger skill. Agent Mart. https://agentmart.dev/skills/mhshaon98-bug-ledger (last updated 2026-10-24)