agentleFS
Hamza-SaraswatHamza-Saraswat/actuals/skills/audit/SKILL.md

audit

Skill2 starsChanged 4 months agoMITView on GitHub

This skill should be used when the user wants existing metrics, dashboards, tracking plans, KPI reports, or AI ROI claims critically reviewed — e.g. "audit our metrics", "are these numbers real", "review our AI dashboard", "find vanity metrics", "is this ROI claim defensible", "sanity check this tracking plan" — including when the user pastes or attaches a dashboard export, SQL, or metrics screenshot and asks for an opinion. Also used for recurring re-audits of an existing metrics/MEASUREMENT.md spec ("re-audit", "metrics review", "metrics health check"): it then also checks spec-vs-reality drift, definition rot, stale owners and overdue calibrations, and bumps the spec version. Flags findings against a catalog of 20 named anti-patterns (self-reported time savings, minutes-times-wage dollar figures, adoption-as-impact, uncalibrated LLM judges, and more), each with severity, a concrete fix, and a published receipt where one exists, then writes a dated report to metrics/audits/.

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 10 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

  • tdiminoSkill

    shape

    Plan the UX and UI for a feature before writing code. Run a structured discovery interview, then produce a design brief (.design-context.md) that guides implementation. Establishes design direction, constraints, and strategy before any code is written. Triggers on plan the design, design brief, shape the UX, before we build, design discovery.

    Also in 8 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

6 rules. 0 are common, 3 are distinctive, and 3 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.

  • 3

    Very specific

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

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

    Mode select: if metrics/MEASUREMENT.md exists in the repo, run spec-aware mode (standalone checks PLUS the drift checks in …

    line 28
  2. Distinctive:

    If inputs are machine-readable files and Node is available:

    line 32
  3. Distinctive:

    Read references/anti-patterns.md in full, then test every metric, chart, and claim in the input against every pattern.

    line 42
  4. Distinctive:

    Follow references/review-mode.md: drift between spec formulas and deployed reality, definition rot, stale owners, overdue calibrations, …

    line 54
  5. Very specific:

    Write to metrics/audits/YYYY-MM-DD-audit.md (create directories as needed) after confirming with the user.

    line 66
  6. Very specific:

    No spec existed → offer the design skill (/actuals:design in Claude Code).

    line 70

“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 Metrics

Critically review metrics, dashboards, tracking plans, and AI ROI claims against the 20-pattern anti-pattern catalog, and produce a dated report with concrete fixes.

Posture

Adversarial but constructive. Every metric is presumed misleading until it survives three tests:

  1. Decision-relevance — someone would act differently at different values.
  2. Honest denominator — includes everyone the AI was offered to; fixed window, not since-launch.
  3. Causal warrant — the claim matches the evidence (baseline for deltas, control for causation).

Two symmetrical failures to avoid: softening a critical to be polite, and sneering without a fix. Every finding ships with its replacement — the fix is the point. When something survives all three tests, say so plainly; an audit that flags everything is as useless as one that flags nothing.

Intake

Accepted inputs: CSV/JSON exports, SQL or dbt files, tracking plans, PRD metric sections, exec decks, pasted tables, screenshots (read them as ordinary images). Invocation arguments (the text after the skill name) may carry file paths and/or the word review to force spec-aware mode.

Mode select: if metrics/MEASUREMENT.md exists in the repo, run spec-aware mode (standalone checks PLUS the drift checks in references/review-mode.md). Otherwise run standalone mode and, at the end, offer the design skill — an audit without a spec finds problems; a spec prevents them.

Pass 1 — mechanical scan

If inputs are machine-readable files and Node is available:

node <skill-root>/scripts/vanity-scan.mjs <files...> --json

<skill-root> is the directory containing this SKILL.md, wherever it is installed. scripts/vanity-scan.mjs pattern-matches the catalog's detection tokens and returns candidate findings with file/line/excerpt. Candidates are not findings. Adjudicate every one against context — a guardrail that tracks acceptance rate in order to distrust it is not VM-05. If Node is unavailable, skip to Pass 2; the judgment pass covers everything the scanner does, slower.

Pass 2 — judgment pass

Read references/anti-patterns.md in full, then test every metric, chart, and claim in the input against every pattern. For each confirmed finding record:

  • Pattern ID and name (VM-xx)
  • Severity — critical (number is wrong or unfalsifiable), warning (misleading without context), info (hygiene). Start from the catalog's default; escalate when the metric is headline-placed or feeds a named decision.
  • The evidence in THEIR artifact — quote the row, cell, SQL line, or slide text.
  • The receipt — the published evidence key from references/evidence.md, staying inside what each source licenses.
  • The fix — a concrete replacement with a formula, not "consider improving." Prefer fixes computable from data the user already has.

Also run the two absence checks, which no scanner can catch: VM-17 (no counter-metrics anywhere?) and VM-20 (metrics with no owner or statable formula?).

Pass 3 — spec-aware extras (only when a spec exists)

Follow references/review-mode.md: drift between spec formulas and deployed reality, definition rot, stale owners, overdue calibrations, Claims Ledger violations. Conclude with the version bump and changelog entry it prescribes.

The report

Fill assets/audit-report.template.md. Mandatory sections, in order:

  1. Verdict — one paragraph, plain language, leading with the most consequential finding.
  2. Findings by severity — critical first, each with pattern, evidence, receipt, fix.
  3. The three numbers to delete first — the highest-damage metrics and what replaces each.
  4. What survives — metrics that passed, named, so trust is earned.
  5. Next actions — ordered, assignable.

Write to metrics/audits/YYYY-MM-DD-audit.md (create directories as needed) after confirming with the user; if there is no repo context to write into, deliver the report inline in the same structure.

Hand-offs

  • No spec existed → offer the design skill (/actuals:design in Claude Code).
  • Fixes require new events or queries → offer the instrument skill.
  • Spec-aware run finished → offer a scorecard refresh, and restate the Next-Review date. If the environment supports scheduled tasks, offer to schedule the next audit; otherwise tell the user to calendar it.

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.