bugs
FreeNo executable scriptsNot checkedMole incident catalog for cleanup safety, bounded probes, cancellation, dry-run parity, and actionable gates. Use for a Mole safety-sensitive diff; not for…
by tw93★ 76,812 GitHub starsAbout this skill
Mole bug patterns
Generic review belongs to Waza check; root-cause investigation of a live failure belongs to hunt.
Route before loading details
Choose only the reference families touched by the evidence. A whole-project audit should classify surfaces first instead of loading every incident narrative.
| # | Recurring shape | First probe | Read |
|---|---|---|---|
| 1 | Deletion candidate built from a weak name signal | Inspect name, bundle-id, fallback globs, and failed-owner shortcuts | Deletion evidence and final sink |
| 2 | Existence or idleness decided by one probe | Enumerate every legitimate location and unknown outcome | Deletion evidence and final sink |
| 3 | Guard present on only one branch | Diff dry-run, real, direct, fallback, and final-sink paths | Deletion evidence and final sink |
| 4 | Unbounded external command | Count producer, consumer, inner-loop, and action bounds | Bounds, Shell, TTY, and parsing |
| 5 | Bash 3.2, errexit, or pipefail trap | Check empty arrays, `fn | |
| 6 | TTY, stdin, or process-group theft | Inspect background workers and commands that may prompt | Bounds, Shell, TTY, and parsing |
| 7 | System output parsed as a stable API | Force locale, validate shape, and join on identifiers not headings | Bounds, Shell, TTY, and parsing |
| 8 | Persisted derived data outlives its algorithm | Trace schema, TTL, evidence fingerprint, and mutations | State, accounting, and progress |
| 9 | Two paths compute one number differently | Find every producer and choose one definition | State, accounting, and progress |
| 10 | Slow work looks frozen | Find operations over roughly one second outside feedback | State, accounting, and progress |
| 11 | Regression test cannot fail | Prove positive control and pre-fix red state | Test validity and refusal diagnostics |
| 12 | Gate cannot explain why it refused | Map each reason to one cause and a next action that fails on the broken state | Test validity and refusal diagnostics |
| 13 | Mutation target is also accepted as a discovery container | Compare the recursive scan-root namespace with every purge target basename | Deletion evidence and final sink |
| 14 | Owner metadata is treated as a complete, atomic inventory | Identify who writes it, whether absence is authoritative, and what locks mutation | Deletion evidence and final sink |
| 15 | Cancellation stops one helper but later work continues | Classify each 124 as skip, section budget, or sticky cancel before tracing callers | Bounds, Shell, TTY, and parsing |
| 16 | Async or cached data has no generation or freshness contract | Bind results to a request epoch and keep each sample's time, stale, and completeness fields together | State, accounting, and progress |
| 17 | Publication gate trusts ambiguous or pre-existing state | Require exact source/tag equality, one generated target, and an expected-absence ref lease | Test validity and refusal diagnostics |
| 18 | A sandbox well-known path is treated as app-private leftovers | Resolve Data/Downloads, Desktop, Pictures, Music, and Movies physically against $HOME | Deletion evidence and final sink |
AGENTS.md and the path-scoped .claude/rules/ files keep each rule stated fully enough to obey plus its test anchor; the incident story lives in these references or in release-flow, and the rule bullet points to the section that holds it. Moving a story here is a merge, never the deletion of a rule that still constrains behavior.
Trace the complete mutation lifecycle
For cleanup, purge, optimize, analyze deletion, or uninstall work, review the complete chain rather than the reported branch:
discover or plan
-> cheap irreversible filters
-> owner and open-handle probes
-> size or metadata work
-> final owner re-probe
-> parent and target identity rebind
-> deletion or Trash sink
-> accounting, cancellation, and user output
At every transition, answer:
- Does live or unknown state fail closed?
- Are timeouts classified by probe, sizing, removal, or section scope, with unknown evidence re
Install bugs in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the bugs skill do?
Mole incident catalog for cleanup safety, bounded probes, cancellation, dry-run parity, and actionable gates. Use for a Mole safety-sensitive diff; not for docs, release notes, or generic review.
How do I install the bugs skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the bugs skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
by Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
by Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropic