agentleFS
andeeplusandeeplus/aplus/skills/audit/SKILL.md

audit

Skill1 starsChanged 56 days agoMITView on GitHub

Audit a codebase area's design and defects into local notes, file the findings as issues, and carry the refactor program to merged PRs. Use to audit an area, plan a refactor program, file issues from audit findings, execute an audit's issues, or add another author's review to an existing audit.

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

10 rules. 0 are common, 7 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 147 edited versions we read keep these.

  • 7

    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:

    Use the project's domain terms (CONTEXT.md or its equivalent, when present).

    line 10
  2. Distinctive:

    Ask the open questions in one round.

    line 47
  3. Distinctive:

    Write nothing until scope and posture are confirmed.

    line 57
  4. Very specific:

    Create the files with scripts/new-audit.mts, then fill them in.

    line 61
  5. Distinctive:

    Use the closest form the project has for each kind.

    line 83
  6. Distinctive:

    Create them as create-issue says: duplicate check, show the user, create only after they confirm.

    line 85
  7. Distinctive:

    Run the program's open change issues with deliver.

    line 89
  8. Very specific:

    Keep audit keys and .audit/ paths out of branch names, titles and bodies.

    line 93
  9. Distinctive:

    If the program is done, ask before closing its tracking issue.

    line 101
  10. Distinctive:

    Ask whether to continue with a spawned audit, work on a decision, or stop.

    line 102

“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

clarify → audit → issues (on request) → execute (on request) → hand off

Use the project's domain terms (CONTEXT.md or its equivalent, when present). Issues on the project's tracker are the plan: the audit is local working notes, and anything that must outlive it becomes an issue.

Rules

  • Correct over convenient. Choose the long-term right fix. No workarounds, stubs, or docs that paper over a bad contract.
  • Push for truth. Types, tests, runtime behaviour and docs must agree.

Posture

PostureStandardFiles
strict (default)Apply code-quality in full. It is written for a branch diff: treat the audited area as the change, and skip its rules about what a single PR adds, such as a file growing past a line limit.All four
balancedReal bugs and structural regressions only. Mention simplifications briefly, and push for a large refactor only when the path is obvious. Skip legibility nits.README.md, bugs.md

Files

Artifacts go under .audit/. Check that it is gitignored; if it is not, ask before adding it to .gitignore.

.audit/{scope-slug}/{YYYY-MM-DD}/
  README.md                from assets/readme.md: verdict, priorities, open questions a maintainer must answer,
                           every external package, doc or link consulted, and links to the files below
  bugs.md                  one "## {bug-key}: title" per defect: problem, failure scenario, evidence
  program.md               one "## {theme-key}: title" per structural theme, with its refactor moves
                           under it as "### {move-key}: title" (strict)
  notes.md                 patterns the area follows or breaks, and what works and must survive a refactor (strict)
  review-{author-slug}.md  further authors' reviews
  synthesis.md             cross-audit only: where the authors agree and differ
  issues/                  issue drafts and manifest.json
  • Date folder: the date the program's first audit started. Everything for that program, including other authors' reviews, drafts and later days' work, stays in it, so the drafts share one manifest.json.
  • Author slug: kebab-case, such as claude-opus.
  • Keys are short and stable (B1, T2, M3); issue drafts reuse them.

Clarify

Ask the open questions in one round; skip what the request already answers.

TopicOptionsDefault
ScopeA folder, package or subsystemInferred from the request
Posturestrict or balancedstrict
BaselineThe current tree, or a branch or commitThe current tree
Cross-auditOne author, or several models auditing independentlyOne author
IssuesAudit only, or also file issuesAudit only

Write nothing until scope and posture are confirmed.

Audit

Create the files with scripts/new-audit.mts, then fill them in. It writes the date folder, fills the templates in assets/, and stops when .audit/ is not gitignored. Never create them by hand.

node --experimental-strip-types <this skill's folder>/scripts/new-audit.mts <scope-slug> --author <author-slug> --model <model> [--posture strict|balanced]
node --experimental-strip-types <this skill's folder>/scripts/new-audit.mts <scope-slug> --author <author-slug> --model <model> --review
  • First run: the command without --review writes the files for the posture.
  • Another author's review: --review adds review-{author-slug}.md. Do not rewrite the first run's files.
  • Cross-audit: the first author writes the full set. Each further author writes only review-{author-slug}.md from the same template, without reading the first author's files until their own findings are written. Once every author's file exists, write synthesis.md before drafting issues.

Issues (on request)

  1. Draft one file per issue in issues/ with create-issue:

    SourceDraft
    Each bugs.md entryA bug
    Each program.md themeA tracking issue
    Each move under a themeA task with parent: {theme-key}
    Each open question in README.mdA decision

    Use the closest form the project has for each kind. A balanced audit yields bugs and decisions only.

  2. Create them as create-issue says: duplicate check, show the user, create only after they confirm.

Execute (on request)

Run the program's open change issues with deliver. Within an audit:

  • Deliver's draft folder is the program's issues/, so its drafts share the manifest.json.
  • A finding that is a program of its own stays a decision draft; propose an audit for it at hand off.
  • Keep audit keys and .audit/ paths out of branch names, titles and bodies.

Hand off

The program is done when every change sub-issue is closed; the tracker may not close the tracking issue by itself. When it is done, the deliver run ends, or the user stops:

  1. Summarize what shipped: PRs merged, issues closed, key outcomes.
  2. List the open decisions and any spawned audits not yet started.
  3. If the program is done, ask before closing its tracking issue.
  4. Ask whether to continue with a spawned audit, work on a decision, or stop. Start nothing without confirmation.

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.