# Daily Dig

> Daily Dig is an Agent Skill for testing & quality published in the breadboard-ai/breadboard repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

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.

- Skill name: `daily-dig`
- Category: [Testing & Quality](https://www.openparable.com/skill/testing-quality/1)
- Source: https://github.com/breadboard-ai/breadboard/blob/HEAD/.agent/skills/daily-dig/SKILL.md
- Repository: breadboard-ai/breadboard (408 GitHub stars when collected)

## SKILL.md

# 🔍 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

1. **Scout** — Choose a hunting ground. Good options:
   - Recently changed files (`git log --oneline -20 -- <path>`)
   - Complex modules with low test coverage
   - `TODO`, `FIXME`, `HACK`, `WORKAROUND` comments
   - Error handling patterns (`catch` blocks, `as any` casts)
   - Event listener add/remove symmetry
   - Async race conditions

// 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)

3. **Catch** — When you find something, name it. Good names are memorable and
   descriptive (e.g., "The Silent Stacking", "The Phantom Caret").

4. **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`](../../daily-dig.md) — kept separate so this skill
file stays lean in context.

---

Source: https://www.openparable.com/skill/testing-quality/daily-dig (OpenParable). Cite the canonical URL above.
