dogfood-cli
БесплатноБез исполняемых скриптовНе проверенHunt for real bugs in the vigiles CLI/codebase with a parallel expert fan-out, then FIX them directly — source-trace each defect to file:line, add a…
от zernie★ 17 звёзд на GitHubОб этом скилле
Dogfood the vigiles CLI (expert find + fix fan-out)
The repeatable method for finding real bugs in vigiles by running the tool on itself and on real plugins, then FIXING them — not filing them. This is how the 2026-07 batch found and fixed 14 source-traced bugs.
When to use
- "Dogfood the CLI", "find more bugs the source-traced way", "fan out agents to audit vigiles on itself", "hunt for false positives in audit/lint".
- NOT for a single known bug (just fix it) and NOT for shipped consumer features
(this is a contributor-only dev process;
.claude/is not published).
The loop
fan out (parallel experts) → synthesize + VERIFY each finding → fix directly
→ regression test → build → targeted test → commit per theme → FULL SUITE → push
1. Fan out over DISTINCT surfaces
Spawn several agents (Sonnet — cheap parallel reads/traces; no synthesis needed per agent), each owning ONE surface so they don't overlap. The surface map that has paid off:
- compile / eject — round-trip correctness, frontmatter/data loss, integrity.
- audit / lint false-positives — a real plugin must stay CLEAN (don't cry wolf); phantom paths; glob/quote tokens misread; comment-only matches.
- init / scaffold edge cases — no
package.json, config-drivenharness, malformed frontmatter,--target, the scaffolded CI workflow,--test/--lint. - config parse-don't-validate —
.vigilesrc.jsonseverities ("off"/0/1/2), string-or-array keys, unknown values. - CLI error UX — an unknown flag/harness must print a clean message + exit 2, never a raw Node stack trace.
- cross-harness (CC + Codex) + browser/disk parity —
scanFilesmust matchscanPluginbyte-for-byte; a Codex-shaped repo must not be scanned as CC.
Tell each agent: SOURCE-TRACE every bug to file:line + a proposed fix. A
finding without a trace is a lead, not a bug.
2. Synthesize + VERIFY yourself
Agents over-report. Before touching anything, reproduce each finding yourself
(run the real built CLI on a tmp fixture or a vendored test/dogfood/* plugin).
Discard what doesn't repro. Confirm the exact file:line.
3. FIX directly — don't file
A deterministic, source-traced bug needs no issue: fix it. File an issue ONLY when the fix is genuinely ambiguous (several valid interpretations, or an architecturally significant change the founder should weigh in on). "Fix, not file" is the founder's standing call for this loop.
Per fix:
- Repro → fix → regression test →
npm run build→ targetedvitest→ commit. - One theme per commit. Conventional Commit subject; end the body with the
Co-Authored-By: Claude …trailer. NEVER a session URL or a raw model id (public repo — see theno-session-links/ model-identity rules). - The fix must be high-precision — a false-positive fix must not silently UNDER-detect (don't trade crying wolf for missing the real thing).
- Honor the architecture: a shared detector has ONE home (
one-detector-no-drift);core ⊄ adapter; no CC literal insrc/core/**or the agnostic detectors.
Hard-won discipline (the lessons)
- Serialize/merge fixes that touch SHARED files (
src/cli.ts,src/scan-core.ts). Parallel edits to the same file conflict — do those sequentially, or give each agent its own git worktree (isolation: "worktree"). - RUN THE FULL SUITE before declaring done. A strict assertion in an
unrelated test file can only surface in the whole run — the I2 fix changed an
install command and a strict regex in a different e2e file broke; per-file
runs were all green, the full
vitest runcaught it. - Rebuild after every source edit — the e2e tests run
dist/cli.js, so a staledist/silently tests the old code. - Watch the scan golden. Any change to a scan detector must keep
src/scan.golden.test.tsbyte-equal on both views, disk and file map; regenerate it only in a change that means to move the output. - Prettier +
fmt:checkbefore commit — markdown code spans need surrounding spaces; CI runsfmt:check. - Coverage gate is an allowlist (
vitest.config.tscoverage.include) — a new file under it needs 100%; scan/cli files are NOT in it today.
The two recurring bug classes — hunt for them, then PREVENT the class
Almost every bug this repo has produced is one of two shapes. When you find one instance, GREP for its siblings, and add a GATE so the class can't come back.
1. An unverified assumption about an EXTERNAL contract
Code that guesses how an external thing behaves without checking: a CLI flag's
format (the skills -s was assumed comma-separated, is space-separated → the
install exited 1), a harness's frontmatter key (skills use allowed-tools, not
tools:), git's behavior (git config origin in a subdir walks UP to the parent
repo), module resolution (vigiles can't resolve without a package.json),
a linter's enabled-state (a checkstyle severity=ignore
Установить dogfood-cli в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл dogfood-cli?
Hunt for real bugs in the vigiles CLI/codebase with a parallel expert fan-out, then FIX them directly — source-trace each defect to file:line, add a regression test, commit per theme. Use when asked to dogfood vigiles, find/fix bugs across the CLI the source-traced way, or fan out agents to audit the tool on itself.
Как установить скилл dogfood-cli?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл dogfood-cli запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic