name: daily-dig description: A proactive bug hunt across the Breadboard codebase. Pick an area, go looking, and produce a concrete artifact (test, lint rule, or codemod) for anything you find.
๐ Daily Dig
A proactive bug hunt across the Breadboard codebase. Pick an area, go looking, and produce a concrete artifact (test, lint rule, or codemod) for anything you find.
Steps
- Scout โ Choose a hunting ground. Good options:
- Recently changed files (
git log --oneline -20 -- <path>) - Complex modules with low test coverage
TODO,FIXME,HACK,WORKAROUNDcomments- Error handling patterns (
catchblocks,as anycasts) - Event listener add/remove symmetry
- Async race conditions
- Recently changed files (
// turbo 2. Hunt โ Search for bugs, quirks, or gaps using grep, code reading, and pattern analysis. Look for:
- Silent failures (errors swallowed, missing null checks)
- Algorithm edge cases (empty inputs, cycles, overflow)
- Missing cleanup (listeners, timers, subscriptions)
- Bypassed guards (code paths that skip validation)
Catch โ When you find something, name it. Good names are memorable and descriptive (e.g., "The Silent Stacking", "The Phantom Caret").
Tag โ Write a concrete artifact:
- Test (preferred) โ documents the bug and prevents regression
- Lint rule โ prevents the pattern from recurring
- Convention test โ enforces architectural invariants
- Codemod โ fixes all instances of a pattern
// turbo 5. Log โ Add a short entry to the Hall of Fame below.
// turbo 6. Verify โ Run the test to confirm it passes (for BUG-prefixed tests, assert the current broken behavior so it passes now but documents what's wrong).
Hall of Fame
See .agent/daily-dig.md โ kept separate so this skill
file stays lean in context.