agentleFS
wheslleyrimarwheslleyrimar/BuildCLI-Agents/.claude/skills/audit/SKILL.md

audit

Skill0 starsChanged 3 months agoMITView on GitHub

Check the implementation against the brief's acceptance criteria. Green/amber/red per criterion. Reads .buildcli/active automatically.

164 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use overdrive, delight and 9 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • nikafastovets-langSkill

    overdrive

    Push interfaces past conventional limits with technically ambitious implementations. Whether that's a shader, a 60fps virtual table, spring physics on a dialog, or scroll-driven reveals — make users ask "how did they do that?

    Also in 12 projects that use this

  • mtctSkill

    delight

    Add moments of joy, personality, and unexpected touches that make interfaces memorable and enjoyable to use. Elevates functional to delightful.

    Also in 18 projects that use this

  • mtctSkill

    teach-impeccable

    One-time setup that gathers design context for your project and saves it to your AI config file. Run once to establish persistent design guidelines.

    Also in 12 projects that use this

  • nikafastovets-langSkill

    arrange

    Improve layout, spacing, and visual rhythm. Fixes monotonous grids, inconsistent spacing, and weak visual hierarchy to create intentional compositions.

    Also in 6 projects that use this

  • zwy123zwySkill

    normalize

    将用户随意输入的提示词规范化为结构清晰、便于大模型执行的标准化提示词。适用于需要整理、统一提示词格式时调用。

    Also in 10 projects that use this

  • mickeylorenziniSkill

    harden

    Audits any substantial deliverable — documents, grant sections, strategies, protocols, skills, configs, roadmaps, plans — against domain-specific quality criteria before delivery. Searches the web for best practices, runs dual-pass thematic and structural audit with severity classification, fixes all issues, and iterates until convergence. Activates when producing deliverables exceeding 4 paragraphs or 20 lines, or when the user says "harden", "audit", "stress test", or "review before delivering", or when re-auditing a modified deliverable for regressions. Does not activate for conversational responses, brainstorming, web search summaries, or rough drafts.

    Also in 15 projects that use this

  • +4 more from mtct
  • +1 more from nikafastovets-lang

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 3 are distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 147 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read brief.md and extract the complete Acceptance Criteria list.

    line 25
  2. Very specific:

    Read the band tags in worklist.md to learn which bands this work touched.

    line 26
  3. Distinctive:

    Read only the changed files that fall inside the blueprint's bands.

    line 31
  4. Distinctive:

    Look for a test that exercises it.

    line 34
  5. Very specific:

    Run the suite and compare the quality gates from shape.md against the real result:

    line 36
  6. Very specific:

    Write the report to blueprints/<kind>/<slug>/audit.md.

    line 41
  7. Very specific:

    Never load context.md whole.

    line 81
  8. Distinctive:

    If the git history is ambiguous, ask which files to audit rather than guessing.

    line 85
  9. Very specific:

    Always save audit.md. An all-green record is still worth keeping.

    line 86

“Common” is measured: kept by at least 6 in 10 of the 147 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Audit

Arguments

(optional) Path to a blueprint directory. Omitted → reads .buildcli/active.

Output

Audit report — green / amber / red per criterion, saved as audit.md.

Goal

Close the loop between what was asked for and what was written. Every acceptance criterion in brief.md gets a verdict backed by a file and a line — using the same narrow-context discipline as the rest of the pipeline.

Steps

  1. Resolve the blueprint directory: arguments if given, otherwise .buildcli/active.
    • .buildcli/active missing → stop, ask the user to run brief first.
  2. Read brief.md and extract the complete Acceptance Criteria list.
  3. Read the band tags in worklist.md to learn which bands this work touched.
  4. For each of those bands — and only those — load it with .buildcli/runtime/bcx band <name>.
  5. Collect the changed files:
    • git diff --name-only HEAD for uncommitted work.
    • Or, if brief.md carries a <!-- created: YYYY-MM-DD --> header, git log --since to find the relevant commits.
  6. Read only the changed files that fall inside the blueprint's bands.
  7. Rule on each criterion:
    • Find the behavior in the changed code.
    • Look for a test that exercises it.
    • Assign ✅ green (implemented and tested), ⚠️ amber (implemented, untested), ❌ red (not found).
  8. Run the suite and compare the quality gates from shape.md against the real result:
    .buildcli/runtime/bcx verify --json
    Report what it returns. A gate asserted without a run is not a gate.
  9. Write the report to blueprints/<kind>/<slug>/audit.md.
  10. Return the report inline plus the saved path.

Output format (audit.md)

# Audit: <Feature Name>
<!-- brief: <path> -->
<!-- audited: <YYYY-MM-DD> -->
<!-- verdict: green | amber | red -->

## Verdict: <overall>

## Acceptance Criteria

| # | Criterion | Status | Evidence |
|---|-----------|--------|----------|
| 1 | Given X When Y Then Z | ✅ green | src/api/checkout.ts:42, checkout.test.ts:18 |
| 2 | Given X When Y Then Z | ⚠️ amber | implemented in checkout.ts, no test found |
| 3 | Given X When Y Then Z | ❌ red   | not present in the changed files |

## Quality Gates

| Gate | Status | Detail |
|------|--------|--------|
| All tests pass | ✅ | 48/48 |
| Coverage ≥ 80% | ⚠️ | 74% — 6 points short |

## Gaps

- Criterion 3: what is missing, and where it belongs
- Coverage: which paths are untouched

## Next steps

- [ ] specific action that moves this to green

Rules

  • Never load context.md whole. Only the bands this blueprint actually touched.
  • Judge each criterion by reading the code and its tests; use .buildcli/runtime/bcx verify for the gate results, not to decide whether an individual criterion is satisfied.
  • Amber is not failure. It means the behavior works and the test is missing.
  • If the git history is ambiguous, ask which files to audit rather than guessing.
  • Always save audit.md. An all-green record is still worth keeping.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.