audit-output
/audit-output
This skill should be used after a pipeline run completes, when the user asks to audit the pipeline output ('audit output', 'audit the run', '4-level audit'). Requires the project's test command as argument - without it Level 4 regression tests are skipped and the report is marked incomplete.
- Author
- minhthang1009 ↗
- Repository
- dotclaude ↗
- Licence
- MIT
- Last repository change
- 08.07.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 08.07.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
This skill should be used after a pipeline run completes, when the user asks to audit the pipeline output ('audit output', 'audit the run', '4-level audit'). Requires the project's test command as argument - without it Level 4 regression tests are skipped and the report is marked incomplete.
Triggers from the description
Arguments
/audit-output [test-command]
Original author description
This skill should be used after a pipeline run completes, when the user asks to audit the pipeline output ('audit output', 'audit the run', '4-level audit'). Requires the project's test command as argument - without it Level 4 regression tests are skipped and the report is marked incomplete.
How it works
SKILL.md has no level-two headings · 69 lines, 479 words
SKILL.md preview
---
name: audit-output
description: "This skill should be used after a pipeline run completes, when the user asks to audit the pipeline output ('audit output', 'audit the run', '4-level audit'). Requires the project's test command as argument - without it Level 4 regression tests are skipped and the report is marked incomplete."
argument-hint: [test-command]
---
**Required argument:** `$ARGUMENTS` = the project's test command (e.g., `npm test`, `pytest -q`, `cargo test`). If not provided, Level 4 regression tests will be SKIPPED and the audit report will be marked incomplete.
Run the following checks in order. Each level must complete before the next begins.
**Level 1 — Structural checks (automated):**
0. Resolve PROJECT_ROOT: `Bash("git rev-parse --show-toplevel 2>/dev/null || echo '.'")` — use this for all path references below.
1. Use the completion-checker skill: verify all tasks in the pipeline's COMPLETION_CHECKLIST were processed
2. Resolve `[start-commit]` from `[PROJECT_ROOT]/.claude/checkpoints/chain-start-commit`:
```bash
Bash("cat [PROJECT_ROOT]/.claude/checkpoints/chain-start-commit 2>/dev/null || echo MISSING")
```
If MISSING: skip git diff and note "chain-start-commit not found — scope violation check skipped."
3. Run `Bash("git -C [PROJECT_ROOT] diff --name-only [start-commit]")`: compare files changed against files assigned to each agent
4. Report any files modified outside the assigned scope (scope violations)
**Level 2 — Content sampling:**
5. Use the coverage-verifier skill: spot-check 2–3 randomly selected files per agent for actual coverage
6. Use the fact-checker skill: verify the top 5 findings by severity against source code
7. Run `git diff HEAD -- [file]` for every file claimed as edited: count real edits vs claimed edits
**Level 2.5 — Severity gate:**
First verify FINDINGS_REPORT.md exists:
```bash
Bash("test -f \"[PROJECT_ROOT]/.claude/FINDINGS_REPORT.md\" && echo EXISTS || echo MISSING")
```
If MISSING: set `PIPELINE_STATUS: NEEDS_RERUN` and note "FINDINGS_REPORT.md not found — consolidate-findings must run before audit-output." Skip the severity-gate and proceed directly to Level 3.
If EXISTS: run the severity-gate skill — it reads `.claude/FINDINGS_REPORT.md` directly (the consolidated report from consolidate-findings, NOT the fact-checker output). Do NOT pass fact-checker output as injected text to severity-gate. If any CRITICAL findings are verified:
- Set `PIPELINE_STATUS: NEEDS_RERUN` immediately
- List all CRITICAL findings in `ACTION_REQUIRED`
- Skip Level 3 and Level 4 — no point running further checks if critical issues exist
**Level 3 — Semantic review:**
8. Assess goal alignment: does the pipeline output address the original objectives?
9. Note any findings from the pipeline-reviewer if it ran as part of the pipeline
**Level 4 — Regression:**
10. Run the project's test command if available
11. Run the project's lint and type-check commands if available
Write the results to `[PROJECT_ROOT]/.claude/AUDIT_REPORT.md` (using the PROJECT_ROOT resolved in Step 0):
```markdown
# AUDIT_REPORT — [timestamp]
## Level 1 — Structural
- Tasks: [PROCESSED]/[TOTAL]
- Files modified: [N] (expected [M])
- Scope violations: [list or NONE]
## Level 2 — Content
- Coverage: [THOROUGH/SUPERFICIAL/FABRICATED] for [N] agents sampled
- Fact check: VERIFIED [N] / CONTRADICTED [N] / UNVERIFIED [N]
- Git diff verify: [N] real edits / [N] claimed edits
## Level 3 — Semantic
- Goal alignment: YES | PARTIAL | NO
## Level 4 — Regression
- Tests: PASS | FAIL | SKIPPED
- Lint: CLEAN | ERRORS | SKIPPED
## Verdict
PIPELINE_STATUS: CLEAN | ISSUES_FOUND | NEEDS_RERUN
ACTION_REQUIRED:
- [specific action if ISSUES_FOUND, or NONE]
```
Versions
The database has no other skills named audit-output.
Database snapshot: 13.11.2026 · package version 11b3d637f420 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 100test-review
Review test quality and audit test coverage for any module. This skill should be used when reviewing existing tests, auditing test gaps, writing new tests, or when asked to assess test health. It pipelines testing standards into the audit workflow to produce a prioritized gap… - 100output-workflow-result
Get the result of an Output SDK workflow execution. Use when retrieving the output of a completed workflow, getting the return value, or checking what a workflow produced after async execution. - 100report
Generate test report. Use when user says "test report", "results summary", "test status", "show results", "test dashboard", or "how did tests go". - 100report
Generate test report. Use when user says \"test report\", \"results summary\", \"test status\", \"show results\", \"test dashboard\", or \"how did tests go\". - 100report
Generate test report. Use when user says "test report", "results summary", "test status", "show results", "test dashboard", or "how did tests go". - 90audit-testing
Testing & Validation audit. Use when auditing test strategy, coverage, test types, flaky tests, chaos testing, or test plans. Triggers on "audit tests", "audit testing", "audit couverture", "test coverage audit", "audit qualité tests", "test quality audit".