Skip to content
Agentmart
Submit a tool

typescript-review

TypeScript/React review rules (types, hooks, state, tests, errors).

Skill by vancourse

IndexedMIT★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/vancourse-typescript-review

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

TypeScript/React review rules (types, hooks, state, tests, errors). Load the rule file for the task at hand.

Use cases: frontend, productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/typescript-review

What's inside

Skill name
typescript-review
Description
TypeScript/React review rules (types, hooks, state, tests, errors). Load the rule file for the task at hand.
License
MIT
Instructions
43 lines in SKILL.md · view on GitHub

Files (16)

  • SKILL.md
  • ai-code-smells.md · rules/
  • code-hygiene.md · rules/
  • control-flow.md · rules/
  • error-handling.md · rules/
  • frontend-backend-layering.md · rules/
  • functions.md · rules/
  • playwright-e2e.md · rules/
  • react-components.md · rules/
  • react-hooks.md · rules/
  • security.md · rules/
  • testing.md · rules/
  • types.md · rules/
  • variables.md · rules/
  • zod-validation.md · rules/
  • zustand-stores.md · rules/

SKILL.md (first lines)

# TypeScript & React Review Rules

Generic, cross-project TS/React rules. Read only the rule file(s) matching
the current task — do not load all of them.

## Routing table

| Task touches...                                               | Read                              |
| ------------------------------------------------------------- | --------------------------------- |
| Types, `any`, `as`, generics, branded, discriminated unions   | `rules/types.md`                  |
| Early returns, switch exhaustiveness, narrow-then-act         | `rules/control-flow.md`           |
| Arrow functions, object args, defaults, return types          | `rules/functions.md`              |
| `const`/`let`, module-level constants, naming                 | `rules/variables.md`              |
| Try/catch, Result pattern, `asError`, error codes, logging    | `rules/error-handling.md`         |
| Zod schemas, parse vs safeParse, discriminator, refinement    | `rules/zod-validation.md`         |
| React hooks — deps, stale closures, AbortController, cleanup  | `rules/react-hooks.md`            |
| React components — props, dialogs, mutations, routing, a11y   | `rules/react-components.md`       |
| Zustand (or similar) stores — atomic updates, cleanup         | `rules/zustand-stores.md`         |
| **Test methodology** (8-layer model, mocking policy, PRD↔mirror, scenarios-first, CI tiering, isolation, 18 rules) | invoke **`rails:test-strategy`** |
| TS/React testing tooling (Vitest vi.mock vs MSW, @testing-library/react + user-event, TanStack Query fresh client, Zod test payloads) | `rules/testing.md`                |
| Playwright e2e — state-based waits, isolation, selectors      | `rules/playwright-e2e.md`         |
| Imports, dead code, speculative exports, PR discipline        | `rules/code-hygiene.md`           |
| AI-assisted code (speculative defaults, three-state null)     | `rules/ai-code-smells.md`         |
| FE doing server-domain work (classify, synthesise, transform) | `rules/frontend-backend-layering.md` |
| **PR-time security audit** (secrets / authn+authz / input validation + output encoding / dep vuln + supply chain / audit log) | invoke **`rails:security-review`** |
| **Design-phase threat modeling** (STRIDE against feature attack surface) | invoke **`rails:threat-model`** |
| TS/React security tooling (no secrets in localStorage; XSS / dangerouslySetInnerHTML; CSP; cookie flags HttpOnly+Secure+SameSite; CSRF tokens; open-redirect validation; postMessage origin checks; iframe sandbox; SRI; error-tracker filters) | `rules/security.md` |

## When multiple topics apply

Pick the dominant one. Don't load everything.

## Project-specific overlays

Project-specific rules (framework idioms, design-system components,
shared internal utilities) belong in a separate per-repo guideline file.
Load that in addition to these generic rules when working in that repo.

## Source of truth

The `rules/` files are the canonical reference.

From vancourse/apex, MIT.

Signals

Stars
1
Forks
1
Open issues
9
Last commit (this folder)
Oct 6, 2026 (23 days ago)
Last release
Aug 13, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from vancourse

Cite this page

typescript-review skill. Agent Mart. https://agentmart.dev/skills/vancourse-typescript-review (last updated 2026-10-24)