agentleFS
jelbirtjelbirt/LLM-Skill-Build/audit/SKILL.md

audit

Skill1 starsChanged 3 months agoApache-2.0View on GitHub

Run a comprehensive project audit organized by severity. Accepts an optional focus area (e.g., "data integration", "UX/UI", "performance", "security").

194 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use delight, teach-impeccable 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.
  • HK-hubSkill

    delight

    Add moments of joy, personality, and unexpected touches that make interfaces memorable and enjoyable to use. Elevates functional to delightful. Use when the user asks to add polish, personality, animations, micro-interactions, delight, or make an interface feel fun or memorable.

    Also in 32 projects that use this

  • HK-hubSkill

    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 19 projects that use this

  • zwy123zwySkill

    normalize

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

    Also in 19 projects that use this

  • SkillPilotCHSkill

    level-up

    Eine Automatisierung pro Woche finden, scopen, shippen. Output landet als proposed-Eintrag in cadence.md mit konkreten Implementations-Schritten.

    Also in 12 projects that use this

  • ww-w-aiSkill

    pm-discovery

    PM Agent Team - Automated product discovery, strategy, and PRD generation. Runs PM analysis workflow to produce comprehensive PRD before PDCA Plan phase.

    Also in 3 projects that use this

  • +7 more from HK-hub

The file

We split this skill into the rules it gives an agent

11 rules. 0 are common, 9 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 175 edited versions we read keep these.

  • 9

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run a comprehensive audit of the current project.

    line 10
  2. Very specific:

    If $ARGUMENTS is provided, treat it as the focus area for the audit.

    line 12
  3. Distinctive:

    Before delegating, gather minimal grounding (keep this under ~1 minute of work):

    line 43
  4. Distinctive:

    Read README.md if present

    line 45
  5. Distinctive:

    Read CLAUDE.md (root and any nested) if present

    line 46
  6. Very specific:

    Read package.json (or pyproject.toml, go.mod, Cargo.toml, etc.)

    line 47
  7. Distinctive:

    If a dimension is clean, say so in one line rather than manufacturing findings

    line 67
  8. Distinctive:

    Every row in the findings table must cite a file path (and line number when applicable)

    line 130
  9. Distinctive:

    Never pad the table with generic advice that isn't grounded in observed code

    line 131
  10. Distinctive:

    If a specialist agent was invoked, fold its findings into the single table — don't return two separate reports

    line 132
  11. Distinctive:

    If the project is small enough to audit inline without project-auditor (e.g., < 10 source files), skip Step 2 and audit directly — but …

    line 133

“Common” is measured: kept by at least 6 in 10 of the 175 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

Skill: audit

Run a comprehensive audit of the current project. Return findings as a severity-organized table with actionable remediation.

If $ARGUMENTS is provided, treat it as the focus area for the audit. The audit should emphasize that dimension but still surface critical issues in other areas. If no argument is provided, run a general audit across all dimensions.


Step 0 — Parse focus

Interpret the focus argument using the routing table below. Adapt to any reasonable focus the user specifies, even if not listed.

Focus keyword(s)EmphasizeRoute deep dives to
data integration, data, pipelines, etlSchema correctness, transformation logic, data contract validation, idempotency, migration safety, error handling in pipelines, timezone / null handlingAudit inline (no specialist)
ux/ui, ui, ux, frontendComponent structure, loading/error states, form UX, responsive behavior, consistency, keyboard navaccessibility-reviewer, performance-reviewer
accessibility, a11yWCAG 2.2 AA, semantic HTML, ARIA, keyboard, focus management, contrastaccessibility-reviewer
performance, perfRender perf, bundle size, N+1 queries, caching, memoization, async patternsperformance-reviewer
security, secAuthN/Z, input validation, secrets, injection surfaces, OWASP Top 10security-reviewer
code quality, refactor, cleanupDuplication, cohesion, naming, dead code, type hygienerefactor-engineer
dependencies, depsVulnerabilities, freshness, unused packagesRun /deps-audit inline
tests, testing, coverageTest suite relevance, coverage gaps, test quality/prune-test-suite skill suggestion
api, endpoints, backendEndpoint contracts, error shapes, validation, auth at boundaries, rate limitingsecurity-reviewer + inline review
(none)All core dimensions equallyproject-auditor handles

Print a one-line banner before proceeding:

🔍 Audit — Project: <name> | Focus: <focus or "general">

Step 1 — Quick project context

Before delegating, gather minimal grounding (keep this under ~1 minute of work):

  • Read README.md if present
  • Read CLAUDE.md (root and any nested) if present
  • Read package.json (or pyproject.toml, go.mod, Cargo.toml, etc.)
  • Glob the top-level structure to identify where code lives (src/, app/, api/, lib/, etc.)
  • Note framework(s), language(s), and rough scale

Print a one-paragraph project summary so the user (and subagent) can confirm you understood what's being audited.


Step 2 — Dispatch to project-auditor

Invoke the project-auditor subagent with a brief that includes:

  1. Project summary from Step 1
  2. Focus area (if specified) — instruct it to weight findings toward that dimension but NOT exclude critical findings elsewhere
  3. Specialist routing — tell it which specialist agent(s) to invoke for deep dives based on the focus table above
  4. Output contract (below) — override the agent's default report format

Also instruct the subagent:

  • Ground every finding in specific file:line evidence
  • Skip generic best-practice advice that doesn't tie to code you can cite
  • If a dimension is clean, say so in one line rather than manufacturing findings
  • Confidence threshold ≥ 70 (do not report speculative issues)

Step 3 — Format output

Return the findings in this exact shape:

# Audit — <project name>
**Focus:** <focus or "general">
**Stack:** <language/framework summary>
**Overall health:** <one-sentence assessment>

## Findings

| Severity | Area | Issue | File | Fix | Effort |
|----------|------|-------|------|-----|--------|
| P0 Critical | Security | SQL injection via raw concat | `api/users.ts:42` | Parameterize query | S |
| P1 High | Performance | N+1 on user list | `api/users.ts:88` | Batch with `IN()` | S |
| P2 Medium | Code Quality | Duplicated validation logic | `utils/validate.ts:12,44,89` | Extract shared validator | M |
| P3 Low | Docs | README setup steps stale | `README.md:15` | Update install instructions | S |

## Top 3 Actions
1. <Highest-ROI fix — why it matters>
2. <...>
3. <...>

## Pipeline Candidates
<Findings too large or design-heavy for /audit-fix's parallel quick-fix flow.
Reference table rows by number, give a one-line why, and the pipeline entry point.
If none: "None — all findings are /audit-fix-sized.">
- #5 — auth checks duplicated across 4 modules; needs a designed boundary, not a patch → `/plan` then `/build auto` (use `/spec` first if requirements need pinning down)

## Not Covered
- <Area deliberately skipped and why — e.g., "E2E test coverage — no tests directory present">

## Suggested Follow-ups
- Run `@performance-reviewer` on `api/users.ts` for deeper perf analysis
- Run `/deps-audit` to complete the dependency review
- <other specialist handoffs>

Severity scale

  • P0 Critical — Active security risk, data loss, production breakage. Fix immediately.
  • P1 High — Meaningful risk or friction. Next sprint.
  • P2 Medium — Plan-for improvements. This quarter.
  • P3 Low — Nice-to-haves, minor cleanup. Backlog.

Effort scale

  • S — Under 1 hour
  • M — A few hours to a day
  • L — Multi-day / requires planning

Rules

  • Focus area weights findings but does NOT exclude critical issues in other areas (a P0 security bug surfaces even during a performance-focused audit)
  • Flag a finding as a Pipeline Candidate when any of these hold: Effort is L, the fix crosses module/architecture boundaries, or it requires design or product decisions. These belong in the spec-driven dev pipeline (/spec → /plan → /build auto), not /audit-fix — say so in the Pipeline Candidates section rather than sizing them down to fit the table's Fix column
  • Every row in the findings table must cite a file path (and line number when applicable)
  • Never pad the table with generic advice that isn't grounded in observed code
  • If a specialist agent was invoked, fold its findings into the single table — don't return two separate reports
  • If the project is small enough to audit inline without project-auditor (e.g., < 10 source files), skip Step 2 and audit directly — but still use the output format from Step 3
  • Respect the project's context: a weekend side project doesn't need enterprise-grade CI/CD findings

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.