agent-integration-test…
Use when the user requests integration testing, feature validation, or test plan execution
Systematically explore and test any software project (CLI, API, Backend, Library, etc.) to find bugs, usability issues, and edge cases. Produces a structured report with full reproduction evidence (exact commands, inputs, logs, and tracebacks) for every issue.
$ npx -y skills add av/facts --skill bugbash --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/bugbashContext preview
The summary Claude sees to decide when to auto-load this skill.
Systematically explore and test any software project (CLI, API, Backend, Library, etc.) to find bugs, usability issues, and edge cases. Produces a structured report with full reproduction evidence (exact commands, inputs, logs, and tracebacks) for every issue.
name: bugbash description: Systematically explore and test any software project (CLI, API, Backend, Library, etc.) to find bugs, usability issues, and edge cases. Produces a structured report with full reproduction evidence (exact commands, inputs, logs, and tracebacks) for every issue.
Systematically explore a software project, find issues, and produce a report with full reproduction evidence for every finding. This skill applies to CLIs, APIs, Backends, Libraries, and other non-web interfaces.
Identify the **Target** (e.g., a CLI binary, an API base URL, a Python package).
| Parameter | Default | Example override | |-----------|---------|-----------------| | **Target** | _(required)_ | `./my-cli`, `http://localhost:8080`, `import mylib` | | **Output directory** | `/tmp/dogfood-output/` | `Output directory: ./qa-reports` | | **Scope** | Full project | `Focus on the auth middleware` |
1. Initialize Set up output dirs, report file, build/start the software 2. Orient Discover surface area (help menus, API schemas, exported functions) 3. Explore Systematically test features, inputs, and edge cases 4. Document Record exact inputs, outputs, and logs for each issue 5. Wrap up Update summary counts, finalize report
mkdir -p {OUTPUT_DIR}/logs {OUTPUT_DIR}/evidenceCreate a `report.md` in the output directory and fill in the header fields. Include:
If the software needs to be built or started (e.g., `npm run build`, `docker-compose up`, `cargo build`), do that now. Keep track of the startup logs and run servers in the background if necessary (e.g., using `&` and redirecting output).
Map out the surface area of the software before testing.
Save this initial mapping to `{OUTPUT_DIR}/surface-area.txt`.
Work through the surface area systematically.
**At each step:** Capture standard output, standard error, exit codes, and HTTP status codes.
Document issues *as you find them*. Do not wait until the end. Every issue must be reproducible by a human reading the report.
For each issue, capture: 1. **Description:** What is the bug or UX issue? 2. **Severity:** Critical (crash/data loss), High (broken core feature), Medium (broken edge case), Low (UX issue/typo). 3. **Repro Steps:** Exact commands run, API requests made (e.g., `curl` commands), or code executed. 4. **Expected vs Actual Behavior:** What should have happened vs what actually happened. 5. **Evidence:**
Save verbose evidence (like full crash dumps or multi-megabyte log files) to `{OUTPUT_DIR}/evidence/issue-{NNN}.txt` and reference it in the report. For short errors, embed them directly in the report using markdown code blocks.
Aim to find **5-10 well-documented issues**. Depth of evidence matters more than total count — 5 issues with full repros beat 20 with vague descriptions.
After exploring: 1. Re-read the report and update the summary severity counts so they match the actual issues. Every issue block must be reflected in the totals. 2. Stop any background processes (e.g., API servers) started during initialization. 3. Tell the user the report is ready and summarize findings: total issues, breakdown by severity, and the most critical items.
Antidote for fluffy specs, a toolkit for fact-driven development with AI agents
Repo: av/facts
Use when the user requests integration testing, feature validation, or test plan execution
Bulletproof agent operating protocol. 15 failure-prevention rules distilled from 120+ real sessions and 10 agent definitions. Covers fabrication, constraint…
Scan the codebase and classify every fact by lifecycle stage — tag @draft, @spec, or @implemented based on what the code actually shows. Add missing facts, fix…
Operate on @spec facts — implement them in code, then tag @implemented. Use when asked to implement facts, implement the spec, build from the fact sheet, make…
Operate on @draft facts — collaboratively refine them into precise, actionable @spec facts. Resolve ambiguities, fill gaps, eliminate contradictions, and…
Manage .facts files — atomic, validatable truth statements about a project. Install, check, list, add, edit, remove, and lint facts via the CLI. ALWAYS read…