js-review
Skill4 starsChanged 3 months agoMITView on GitHub
JavaScript/TypeScript/Node code review — async correctness, TypeScript strictness, Node patterns, dependency hygiene, JS security. Triggered by "review JavaScript", "review TypeScript", "review Node code", "JS best practices", or /js-review
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
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
- Very specific: line 43
When invoked by the pr-review dispatcher, the reviewer reads references/js-review-checklist.md, reviews ONLY changed lines in the PR diff, …
- Distinctive: line 54
No external actions of any kind in dispatched mode — findings are returned as data, never posted.
- Distinctive: line 62
Don't flag style that Prettier/ESLint handles
- Distinctive: line 63
Don't demand a framework rewrite or migration (e.g.
- Very specific: line 65
Don't block on pre-existing npm audit advisories.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
JS Review
Systematic JavaScript/TypeScript/Node code review. Only flags correctness, security, performance, and maintainability — not style that Prettier/ESLint already handles.
Process
- Static analysis (guard every tool — run only when the project has it configured):
# type-check, only when a tsconfig.json exists
[ -f tsconfig.json ] && npx --no-install tsc --noEmit
# the project's own lint script, only when defined in package.json
npm run --if-present lint
# dependency advisories, only for package.json / lockfile changes — report awareness,
# do NOT block on pre-existing advisories
npm audit --omit=dev # pnpm audit --prod / yarn npm audit for those managers- Walk checklist (see
references/js-review-checklist.md):- Async correctness, TypeScript strictness, Node runtime patterns, dependency hygiene, JS security
- Report findings:
- file:line for each issue
- Category: correctness / security / performance / maintainability
- Severity: must-fix / should-fix / consider
- Suggested fix (code snippet)
Dispatched mode (pr-review integration)
When invoked by the pr-review dispatcher, the reviewer reads
references/js-review-checklist.md, reviews ONLY changed lines in the PR diff, and returns a
findings list where each finding has:
file— repo-relative pathline— NEW-file (RIGHT-side) line numberdescription— 1–2 sentencescategory— correctness / security / performance / maintainabilityseverity— must-fix / should-fix / considerreason— which checklist item flagged it
No external actions of any kind in dispatched mode — findings are returned as data, never posted.
Scope
Changed files only unless explicitly asked for a full-project review.
Gotchas
- Don't flag style that Prettier/ESLint handles
- Don't demand a framework rewrite or migration (e.g. CJS → ESM) during review
- Respect the project's existing patterns — a CommonJS project stays CommonJS
- Don't block on pre-existing
npm auditadvisories; flag only what the change introduces
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- mozilla-firefox/firefox★ 14ksame name
- BrowserWorks/waterfox-android★ 393same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository48 other files it gives its agents.
- .claude/templates/AGENTS.mdAGENTS.md
- docs/agents.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- .cursor/rules/core.mdcCursor rule
- .cursor/rules/go.mdcCursor rule
- .cursor/rules/k8s.mdcCursor rule
- .cursor/rules/node.mdcCursor rule
- .cursor/rules/python.mdcCursor rule
- .cursor/rules/rust.mdcCursor rule
- .cursor/rules/tdd.mdcCursor rule
- .cursor/rules/workbench.mdcCursor rule
- llms-full.txtllms.txt
- llms.txtllms.txt
- cmux-sprint-orchestratorSkill
- config-auditSkill
- doneSkill
- eurekaSkill
- goalSkill
- go-reviewSkill
- handoffSkill
- k8s-debugSkill
- k8s-reviewSkill
- kickoffSkill
- pr-review-ingestSkill
- pr-reviewSkill
- python-reviewSkill
- reflectionSkill
- skill-evalSkill
- tdd-protocolSkill
- team-executeSkill
- team-planSkill
- team-shutdownSkill
- test-reviewSkill
- validate-recommendationSkill
- worktree-guideSkill
- babysitSkill
- canvasSkill
- create-hookSkill
- create-ruleSkill
- create-skillSkill
- create-subagentSkill
- migrate-to-skillsSkill
- sdkSkill
- shellSkill
- split-to-prsSkill
- statuslineSkill
- update-cli-configSkill
- update-cursor-settingsSkill
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
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.

