agentleFS
RyanDanielWalkerRyanDanielWalker/snippr/.claude/skills/audit/SKILL.md

audit

Skill1 starsChanged 3 days agoMITView on GitHub

A fresh-session review of Snippr as it stands, by Claude. Code quality, security, tests, docs, and whether the roadmap still points the right way. Reports; doesn't fix.

193 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, 5 are distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 175 edited versions we read keep these.

  • 5

    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:

    Run it in a fresh session (/clear first), so nothing from the work being reviewed colors the read.

    line 15
  2. Distinctive:

    If the arguments name an area, go deep there and keep the rest to a quick pass.

    line 35
  3. Very specific:

    If there's an earlier audit in docs/audits/, read the latest one first.

    line 36
  4. Very specific:

    Start where a visitor starts: README.md, then docs/ARCHITECTURE.md, the ADR index, and docs/ROADMAP.md.

    line 45
  5. Distinctive:

    Security: Every way a request reaches another user's data.

    line 51
  6. Distinctive:

    If you worked it out from reading rather than running it, say "from reading the code."

    line 61
  7. Distinctive:

    Check the roadmap and the ADRs before calling anything new.

    line 62
  8. Very specific:

    Write the 5 to 7 questions an engineer would most likely ask after reading this code.

    line 74
  9. Distinctive:

    Ask Ryan, in one question, which of these he wants:

    line 95
  10. Very specific:

    Add the new findings to docs/ROADMAP.md, each under the current milestone or Parked, saying which and why

    line 98
  11. Very specific:

    Do only what he picks, as docs: commits.

    line 100

“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

/audit: a fresh-session review of where Snippr stands

You're a senior engineer opening this repo for the first time, the way someone who clicked the link on Ryan's resume would. You didn't write any of it and you owe it nothing. Ryan is the owner and learns the code by reading reports like this one, so the report is in plain English, a term he might not know gets a plain definition and a small example, and every claim comes with the file and line that backs it. Follow CLAUDE.md throughout.

This is a review, not a fix. Don't edit code, don't commit, don't touch the database. The only writes are the ones Ryan picks in step 8. Fixes go through /next.

Run it in a fresh session (/clear first), so nothing from the work being reviewed colors the read.

Arguments: $ARGUMENTS

Where things stand

Branch: !git branch --show-current

Uncommitted changes: !git status --short

Committed but not pushed: !git log --oneline origin/main..HEAD

Earlier audits: !git ls-files docs/audits

1. Scope

  • If the arguments name an area, go deep there and keep the rest to a quick pass.
  • If there's an earlier audit in docs/audits/, read the latest one first. Check each of its findings against the code today: fixed, still open, or no longer relevant. Only then look for new ones.
  • Everything is measured against the goal at the top of docs/ROADMAP.md: a project that holds up when an engineer clicks the link, reads the code, and asks Ryan how it works.

2. Run the checks

npm run typecheck, npm run lint, npm test, npm run build. Note each one's result with numbers (tests passed, lint warnings). A failing check is the first finding. If a check needs the database, skip it and say so; never point anything at production.

3. Read it like an outsider

Start where a visitor starts: README.md, then docs/ARCHITECTURE.md, the ADR index, and docs/ROADMAP.md. Write down the first thing that confused you or didn't match the code. A reviewer will hit it too.

Then read every file under src/, scripts/, and prisma/. Look for:

  • The house rules in CLAUDE.md, file by file. Every Route Handler resolves the session first (401), validates the body with parseBody, checks ownership of every id it touches including folderId (403), scopes queries by userId, and is wrapped in withErrors. The interface calls the API through callApi and shows the error.
  • Bugs. State that goes stale after router.refresh(), races, missing await, unhandled promise rejections, double submits, and edge cases: empty input, the maximum length, old rows saved before today's limits.
  • Security. Every way a request reaches another user's data. Anything user-controlled that ends up in a prompt, SQL, HTML, or a redirect. Secrets in code or logs. Limits a script could get around.
  • Data. Indexes for the queries the app actually runs, migrations that break the add-first, remove-later rule, and what cascades on delete.
  • Tests. What's tested, and more important, what isn't that would hurt most if it broke.
  • Consistency. Two ways of doing one thing, copied types, mixed code styles, dead code, settings repeated in several places.
  • Frontend. Keyboard and screen reader basics, phone width, loading and empty states.
  • Docs that lie. Commands that don't exist, file maps missing files, stale dates, links to the wrong ADR. Check them against the repo instead of trusting them.

4. Verify every finding

  • A finding needs a file:line and a concrete path to the failure: "do X, then Y, and Z happens." If you can't write that sentence, it's a hunch. Leave it out or label it as one.
  • If you worked it out from reading rather than running it, say "from reading the code."
  • Check the roadmap and the ADRs before calling anything new. A known issue is reported as "on the roadmap," with the item, not as a discovery. If an ADR explains an oddity on purpose, it isn't a finding unless the reasoning no longer holds.
  • Weigh the fix against the problem. Some findings don't need fixing; Ryan just needs to know the answer if asked.

5. Judge the direction

  • Is the item /next would pick up next the most valuable thing right now? If not, say what is and why.
  • Is anything missing from the current milestone that an engineer would expect? Is anything in it that could wait?
  • Is the work going where the goal is? Weigh what a visitor sees first (the live site, the README, a green check on the repo) against what only the author sees.

6. Can Ryan answer for it?

  • From git log since the last audit (or the whole history the first time): what changed. Commits after 2026-11-12 no longer carry a Co-Authored-By: Claude line (0054), so don't count it. Assume Claude worked on everything since October 2026, and ask whether Ryan can answer for it.
  • Write the 5 to 7 questions an engineer would most likely ask after reading this code. For each, give where the answer lives (file:line or ADR) and the answer in two sentences he could say out loud.
  • Flag anything clever enough to need explaining that has no comment or ADR, and any ADR or doc too thin for Ryan to learn the decision from (0033).

If the arguments include quiz

After the report, ask Ryan the questions one at a time and wait for each answer before going on. Don't give the answer before he tries. Then say what he got right, what was missing, and the one-sentence version for an interview. At the end, list the ones worth reviewing.

7. Report

Short and in plain English. No em dashes.

  1. Verdict: three sentences. How it's doing, the biggest risk, the one thing to do next.
  2. Checks: typecheck, lint, tests, build, one line each.
  3. Scorecard: security, data, errors, tests, frontend, consistency, docs, direction. Each gets one word (strong, good, fair, weak) and one sentence of why.
  4. Findings: ranked by how much they matter to the goal. Each says what happens, the file:line, the fix size (small, medium, large), and whether it's new or already on the roadmap.
  5. Since the last audit: fixed and still open. Skip it the first time.
  6. Direction: agree or disagree with the roadmap's next steps, and why. A real fork gets 2 or 3 options with what each costs, and a recommendation.
  7. Interview questions: from step 6.

8. After the report

Ask Ryan, in one question, which of these he wants:

  • Save the report as docs/audits/YYYY-MM-DD.md, so the next audit can compare against it
  • Add the new findings to docs/ROADMAP.md, each under the current milestone or Parked, saying which and why

Do only what he picks, as docs: commits. Never push.

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.