agentleFS
Facta-DevFacta-Dev/beautifulnodejs/.claude/skills/review/SKILL.md

review

Skill0 starsChanged 32 days agoMITView on GitHub

Runs the <app> pre-landing review checklist across dynamic-execution justification, error-shadowing discipline, queries.ts auditing, and eslint cleanliness, producing a severity-ranked gate verdict against `make ci`.

190 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use close-spec, design-with-images 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.
  • dzhngSkill

    close-spec

    When a spec under specs/<feature>/ is done shipping (a write-spec build, or any planned task that produced a spec), archive it to specs/done/ and rewrite it from a build-plan into a durable rationale — the why, the principles, the invariants — pointing back to the real code for the how. Use when implementation has landed and the plan no longer matches what shipped, or the user says a feature/spec is finished. Pairs with [write-spec](../write-spec/SKILL.md) (the plan this closes) and [review](../review/SKILL.md) (run before closing).

    Also in 5 projects that use this

  • dzhngSkill

    design-with-images

    Explore UI and visual design with image generation, then iterate the real implementation against the user-selected concept. Use when brainstorming visual directions, offering mockup variants, or implementing an approved generated design; do not stop at the mockups or the first code approximation.

    Also in 5 projects that use this

  • LambenthanSkill

    daily-arxiv

    每日从 arXiv 拉取新论文,过滤相关性,auto-ingest 高优先级论文,检测 SOTA 更新

    Also in 5 projects that use this

  • LambenthanSkill

    exp-eval

    实验判决门:Review LLM 独立评判实验结果 → 4 种判决路径 → 自动更新 claims confidence、ideas status、graph edges

    Also in 5 projects that use this

  • +3 more from dzhng
  • +5 more from Lambenthan

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 153 edited versions we read keep these.

  • 4

    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:

    Do NOT activate for documentation-only or lockfile-only changes with no .ts or package.json edits.

    line 23
  2. Very specific:

    No dynamic execution in src source: Every use of node:vm, eval, or new Function (or a Function-constructor reinterpretation) in the diff …

    line 35
  3. Very specific:

    queries.ts auditing: Every query added or changed in a slice's queries.ts is checked against the migration it targets: column names and …

    line 45
  4. Distinctive:

    No fabricated data: do not invent file paths, line numbers, or query invocations.

    line 57
  5. Distinctive:

    Every stat needs a source: a claim like "adapter X ignores the scan error at line 40" needs the file/line actually read, or an explicit …

    line 60
  6. Distinctive:

    No code-fenced final output where raw output is expected: the verdict in Output Format below is raw structured prose, never a fenced block.

    line 63
  7. Distinctive:

    Read each touched file before reporting on it.

    line 65

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

<app> review skill

Reusable pre-landing review CHECKLIST for the <app> TypeScript codebase. An agent invokes this skill; the agent supplies contextual judgment, the skill supplies the deterministic procedure.

When to Activate

Activate this skill before landing any change to src/**/*.ts or migrations/, or whenever a request asks for a "review", "gate check", or "pre-landing pass" on <app>. Also trigger on:

  • A pull request touching a handler, repository adapter, or domain module.
  • A request to confirm a change is safe to merge against make ci.
  • A follow-up review after fixes from a prior /review pass.

Do NOT activate for documentation-only or lockfile-only changes with no .ts or package.json edits. This skill COMPLEMENTS the code-reviewer core agent rather than replacing it: the agent reasons freely about a diff's intent and tradeoffs, while this skill walks the same four stack categories in the same order every time. Do not restate the agent's prose here — the two are consulted together, not merged.

Core Principles

  • Checklist, not judgment. Four fixed categories, always in this order: dynamic-execution justification, error-handling discipline, queries.ts auditing, eslint cleanliness.
  • No dynamic execution in src source. Every use of node:vm, eval, or new Function (or a Function-constructor reinterpretation) in the diff needs an inline comment naming the invariant it upholds; an unjustified dynamic-execution call is a BLOCK regardless of what the tooling allows.
  • No swallowed errors in library paths. src/shared/ and src/platform/ and src/features/*/usecase.ts must return errors that wrap a stable apperr code and propagate; an ignored promise (void run() on a fallible call, or a bare catch {}) is acceptable only in *.test.ts, src/bin/api.ts shutdown paths, or with an inline comment proving the invariant that makes ignoring it safe.
  • queries.ts auditing. Every query added or changed in a slice's queries.ts is checked against the migration it targets: column names and nullability must match the paired migration's up; a hand-built runtime SQL string (template- literal interpolation of values into SQL) bypassing the committed queries.ts is flagged.
  • eslint cleanliness. The diff must not introduce an // eslint-disable that silences a no-restricted-imports/@typescript-eslint rule without an inline justification comment; pnpm lint (eslint) is the gate this category mirrors.

Rules

  • No fabricated data: do not invent file paths, line numbers, or query invocations. If a file was not read this session, list it under "not reviewed" instead of guessing its contents.
  • Every stat needs a source: a claim like "adapter X ignores the scan error at line 40" needs the file/line actually read, or an explicit "unverified" tag.
  • No code-fenced final output where raw output is expected: the verdict in Output Format below is raw structured prose, never a fenced block.
  • Read each touched file before reporting on it; unread files are listed separately as "not reviewed (not read)".
  • BLOCK only on a real finding: an unjustified dynamic-execution call, a library-path ignored-promise with no inline proof, a queries.ts entry whose SQL interpolates values or whose columns do not match the migration, or an // eslint-disable with no justification.
  • WARN on style-grade issues (a justification comment that is thin but present, a runtime query that could become a queries.ts entry but is not itself unsound).
  • APPROVE only when all four categories show no BLOCK-level finding.

Research References

Provenance table — fill claim/source year, link from primary sources actually read this session. Leave the placeholder row if a claim is unverified.

ClaimSourceYearLink
<placeholder claim><source file or doc><year><link>
restricted-imports + domain-pure deny groupseslint.config.mjs—local file
Migration pairing convention (non-empty down export)migrations/*_*.mjs node-pg-migrate—local file

Output Format

Raw structured prose (not a code fence when rendered as the final verdict):

### <app> review — pre-landing checklist

Gate: make ci (prettier format:check + tsc vet + eslint + openapi-typescript gen-check + vitest)

Findings:
- [BLOCK|WARN] dynamic-execution @ <file>:<line> — <what> | fix: <suggestion>
- [BLOCK|WARN] error-discipline @ <file>:<line> — <what> | fix: <suggestion>
- [BLOCK|WARN] query-audit @ <file>:<line> — <what> | fix: <suggestion>
- [BLOCK|WARN] eslint @ <file>:<line> — <what> | fix: <suggestion>

Not reviewed (not read):
- <file>

Verdict: APPROVE | WARN | BLOCK

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.