dogfood
Use after each material behavior slice and before handoff or shipping to exercise runnable work at its real entrypoint.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 4
- Forks
- 1
01 前言 Front Matter
- name
- dogfood
- description
- Use after each material behavior slice and before handoff or shipping to exercise runnable work at its real entrypoint.
03 SKILL.md 正文
For behavior/verifier checks, read Poteto.
Dogfood each material runnable slice and final PR at public seams. Tests are not dogfood.
Inventory
- Resolve base with
BASE=$(PR_BASE_REF="${DOGFOOD_BASE_REF:-}" "${CLAUDE_PLUGIN_ROOT:-.}/scripts/resolve-pr-base.sh"). - Inspect full PR: merge-base through committed, staged, unstaged and untracked work.
- Cover changed branches at real entrypoints, including skill resources/scripts and hook events. Standalone docs/tests/evals need no experiential coverage.
Loop
Run use -> abuse -> repair -> replay.
Use
Exercise intended paths; inspect output, transitions, effects, console, network and logs.
Use representative live-scale data (production-like shape/cardinality); compare expected/observed counts, ordering, timing, state and effects; expose accumulation.
For bugs, replay the reporter's exact steps unfixed. If you cannot reproduce it, request missing environment or evidence before diagnosis.
Abuse
Try one credible break:
- Careless: empty, invalid, oversized, duplicate, or reordered input.
- Impatient: repeat, double-submit, reload, navigate away, cancel, or interrupt.
- Unlucky: stale or missing data, slow or failed dependency, partial completion.
- Live data: sparse fields, duplicate IDs, mixed versions or tenants, long text, Unicode, timezone boundaries, realistic cardinality.
- Performance: measure response time, network, render, CPU, and memory against a baseline or budget.
Observe failure and recovery.
UI content/layout risks: Call the Skill tool with "break-ui". Reuse schema-valid fixtures and evidence in replay/receipt; test only uncovered cases. Keep invalid-input validation separate.
Repair
Defects fail. When automatable, add a RED public-contract test,
fix via /tdd, and rerun focused checks. Edits invalidate evidence.
Replay
Repeat intended use and every break attempt at the real entrypoint. Replay identical bug steps and adjacent behavior. Use replay packets for stateful bugs/repro gaps. PASS binds to current runnable state.
Entrypoints
| Change | Exercise |
|---|---|
| Web/UI | Run, navigate, act, reload, inspect console/network |
| CLI/TUI | Invoke realistic, invalid, and interrupted flows |
| API/worker | Send real requests/events; inspect response and side effects |
| Library | Call the public API from a minimal consumer |
| Hook/automation | Trigger the actual event with representative fixtures |
| Skill/agent | Use on a fresh realistic task and inspect behavior |
| Demo/prototype | Operate until the question has observed evidence |
Fresh agents require explicit delegation.
Use project-local verify-* doctor, drive, evidence and cleanup when available.
T3 Code checkout UI only: resolve native context, then load web/desktop or
native mobile. Missing Browser/Device: BLOCKED;
do not install or switch harnesses.
Verifier drift: /maintain-verification-skill; recurring gaps: /create-verification-skill after proof.
React: runtime probes.
Browser and data tasks
Read browser defaults.
Receipt
Verdict: PASS | FAIL | BLOCKED; entrypoint/actions/observations:
- Entrypoint: exact command/URL/event/consumer.
- Actions: journey and break attempts.
- Observations: data, outputs, state, effects, console/network/logs, timing.
- Repairs: defects, RED tests, fixes, replay result.
- Limits: untried behavior and reason.
PASS: direct evidence per behavior; FAIL: observed defect; BLOCKED: missing access, environment, hardware or safety condition.
04 同仓库更多 Skills
learn-taste
Turn a session's design corrections into scoped, reasoned rules for future agents. Use for /learn-taste or requests to remember design feedback, not general workflow retrospectives.
learn-taste
Turn a session's design corrections into scoped, reasoned rules for future agents. Use for /learn-taste or requests to remember design feedback, not general workflow retrospectives.
pull-requests
Use when finalizing a pull request or continuing an existing one; preserve the requested endpoint and draft state.
pull-requests
Use when finalizing a pull request or continuing an existing one; preserve the requested endpoint and draft state.
hill-climb
Optimize a defined outcome through bounded evaluation loops. Use for hill-climb requests or repeated improvement against an executable eval, benchmark, or visual comparison; not a one-pass review.
gestures
Build or fix web drag, swipe, sheet, reorder, and hold interactions: direct tracking, rubber banding, release velocity, momentum, snap points, and interruption. Not native React Native or Swift.