Skip to content
Skills Library
Programming · Review & audit

audit

/audit

This skill should be used when the user runs /rspec:audit or asks to audit, fact-check or verify a reverse spec: are its facts true, does it cover what the product documents, does it contradict itself. Runs three auditor subagents in parallel (fact-checker, coverage-auditor, consistency-auditor), fixes the Important findings and lists the Minor ones. The pipeline runs it after tech, before handoff.

Repository
rspec ↗
Licence
MIT
Last repository change
11.11.2026

Assessment and security

86/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content21 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 11.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

This skill should be used when the user runs /rspec:audit or asks to audit, fact-check or verify a reverse spec: are its facts true, does it cover what the product documents, does it contradict itself. Runs three auditor subagents in parallel (fact-checker, coverage-auditor, consistency-auditor), fixes the Important findings and lists the Minor ones. The pipeline runs it after tech, before handoff.

Arguments

/audit [facts | coverage | consistency, optional; default all three]
Original author description

This skill should be used when the user runs /rspec:audit or asks to audit, fact-check or verify a reverse spec: are its facts true, does it cover what the product documents, does it contradict itself. Runs three auditor subagents in parallel (fact-checker, coverage-auditor, consistency-auditor), fixes the Important findings and lists the Minor ones. The pipeline runs it after tech, before handoff.

How it works

SKILL.md has no level-two headings · 17 lines, 524 words

SKILL.md preview
---
name: audit
description: >
  This skill should be used when the user runs /rspec:audit or asks to audit, fact-check or
  verify a reverse spec: are its facts true, does it cover what the product documents, does it
  contradict itself. Runs three auditor subagents in parallel (fact-checker, coverage-auditor,
  consistency-auditor), fixes the Important findings and lists the Minor ones. The pipeline runs
  it after tech, before handoff.
argument-hint: "[facts | coverage | consistency, optional; default all three]"
metadata:
  version: "0.12.0"
---

# /rspec:audit

Requires stage `tech` or later (coverage alone works from `discovered`). Reports go to `<spec>/audit/`. The audit rule: only Important findings change the spec; Minor findings are listed, not applied, unless the user asks.

1. Run `python3 ${CLAUDE_PLUGIN_ROOT}/scripts/audit_sample.py .` to draw the fact-check sample: for each of `[docs]` `[api]` `[observed]` `[code]` `[inferred]`, `min(25, max(5, 20%))` criteria with a fixed seed (`<spec>/audit/sample.md` for the fact-checker, `sample.json` for the levels).
2. Launch **in a single message** (only the parts named in `$ARGUMENTS`, or on resume only those whose report is missing):
   - `rspec:fact-checker` with product, `<spec>`, the sample path, `sources` and `reference.run` from `rspec.json` and the plugin root;
   - `rspec:coverage-auditor` with mode `audit`, product, `<spec>`, `sources`, `focus` and the plugin root (it reuses `<spec>/audit/reference.md` from the features stage);
   - `rspec:consistency-auditor` with `<spec>`, `<contracts>`, `<decisions>` and the plugin root.
3. When they return, read each report's Important section and fix the spec, one finding at a time:
   - **Fact:** retag the criterion `[inferred]`, split it, or correct the value to what the source says; a deliberate difference goes under the story's `## Open questions` as `Open: departure: <what>` and is decided as in `/rspec:stories`' departures step (asked now, with the DECISIONs below). A DECISION on an `[inferred]` criterion goes to the user with the options the fact-checker named (AskUserQuestion, up to 4 per question); under autopilot park it under `## Parked` in `<spec>/autopilot-log.md`. An Important UNSUPPORTED or DECISION finding that neither the sources nor the user settle now becomes an `open` entry in `<spec>/unknowns.yaml` on that criterion (`U-<nnn>` numbered on from the highest, `raised: audit <date>`), with the fact-checker's note as the probe, and a `- U-<nnn>: <question>` line in the story's `## Open questions` (as in `/rspec:stories` step 3; autopilot: also parked).
   - **Coverage:** a missing core or focus capability becomes a features.md row through `rspec:features` Triage (or a Drop row with a reason); never add a story without a row.
   - **Consistency:** make the files agree with `domain.md` and the accepted ADRs; when `domain.md` itself is wrong or silent, fix it first. When the right answer is a product decision, ask the user (autopilot: take the side `domain.md` or the accepted ADR supports; if neither does, park it under `## Parked` in `<spec>/autopilot-log.md`).
4. Run `python3 ${CLAUDE_PLUGIN_ROOT}/scripts/audit_sample.py . --levels` (it writes `<spec>/audit/levels.json`: sampled criteria the fact-checker found SUPPORTED, and unsampled ones in a tag population whose sample has no CONTRADICTED, reach level 1; a criterion with its own finding, or edited after the draw (an Important fix in step 3), does not, and an `[inferred]` criterion never does: retag it with a source to earn level 1), then `python3 ${CLAUDE_PLUGIN_ROOT}/scripts/check_spec.py .`, which writes those levels into `criteria.lock.json`; fix errors. A criterion edited afterwards drops back to level 0.
5. Write `<spec>/audit/summary.md`: the first line of each report, the `--levels` output line (level 1 count, copied, never computed by hand), the targets (fact accuracy at least 90% with 0 contradicted, coverage at least 90%, 0 Important contradictions left), what was fixed, what was parked, and the Minor counts. Add a line to `<changelog>`. Reply with the three scores, what you fixed and what is parked.

Versions

RepositoryScoreLicence
This page · tammai/rspec86MIT
marcel-bich/marcel-bich-claude-marketplace100MIT
jeremylongshore/tons-of-skills-marketplace100MIT
friendlyinternet/nuxt-crouton100MIT
userKael/rastro100MIT
Archont561/qgis-agent-harness100MIT
lilly-logic-labs/lll-skills100MIT
Come-In-Labs/agent-skills100MIT
minanyang/10x-agent100MIT

Database snapshot: 13.11.2026 · package version 695f639515b9 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90verify
    This skill should be used when the user runs /rspec:verify or asks to verify, prove or record a reverse spec's acceptance criteria against the running product (the reference): seed it, record each criterion as a test, run it, and report how much of the spec reached level 2. The…
  • 86tech
    This skill should be used when the user runs /rspec:tech or asks for the API, data model, non-functional requirements, architecture or ADRs of the product being reverse-specced. Runs three tech-analyst subagents in parallel (api, data-model, nfr) and drafts proposed ADRs for the rebuild.
  • 100tdd-guardian-coverage-auditor
    Enforce strict coverage gates and identify exact missing coverage scenarios. Use it to check the configured coverage thresholds, or to audit coverage for one file whose new branches may be untested; it runs the coverage lanes and proposes a test for each gap. Not for writing the…
  • 100verify-against-source
    Check that a code sample, API signature, default, or behavior claim in the docs is actually true, by running it or reading the product source. Covers which repository owns each product, how to reach the private ones, running the part of a sample that needs no API key, and what…
  • 90fe-audit
    Audits a front-end project with frontend-skills - runs the static audit (and the page audit with --url when a page is running), reads the condensed JSON, explains the top findings by rule id with their source, lists what needs a person, and proposes an order of fixes. Use when…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.