Skip to content
Back to skills

Watchdog

ASecurity

Background quality watchdog — runs the project's tests and lint on an interval via /loop and reports only new failures or regressions against a baseline. Use when asked to "watch the tests", "watchdog", "keep tests green while I work", or during long refactoring sessions.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 11, 2026
ai-agentsgorefactoringgit

Works with

  • cli

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add NAME0x0/CLAUDE_SETUP --skill watchdog --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Watchdog?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Watchdog
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/name0x0-watchdog/badge)](https://www.skillsdirectory.com/skills/name0x0-watchdog)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: watchdog
description: Background quality watchdog — runs the project's tests and lint on an interval via /loop and reports only new failures or regressions against a baseline. Use when asked to "watch the tests", "watchdog", "keep tests green while I work", or during long refactoring sessions.
---

# Watchdog

Silent while green. Speaks only on regression.

## Setup (first run)

1. **Detect commands** — in priority order: `justfile` recipes, `package.json` scripts (`test`, `lint`), `cargo test` + `cargo clippy`, `pytest` + `ruff`, `go test ./...`. Confirm the detected pair with the user once.
2. **Baseline** — run both now. Record pass/fail per test and lint warning count to `.watchdog-baseline.json` (scratchpad if repo shouldn't be touched). Report the starting state once.

## Loop

Run via `/loop` (self-paced) or a fixed interval the user names:

1. Each wake: run tests + lint.
2. Diff against baseline: new failures, newly passing (update baseline), lint delta.
3. **Report only changes.** All green and unchanged → stay silent (or one-line heartbeat if the user asked for it).
4. New failure → report: test name, error output (quoted exactly), most recent commits/edits touching related files (`git diff --stat` since last wake) as suspects. Do NOT auto-fix — the user is mid-work; fixing under them causes conflicts.
5. Stop on "stop watchdog" or when the user starts /ship.

## Notes

- Prefer `watchexec`-style file-triggered runs over fixed intervals when watchexec is available; fall back to /loop cadence.
- Keep runs cheap: affected-file test filtering where the runner supports it.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.