TypeScript/JavaScript Code Review

VerifiedCaution

Review TypeScript and JavaScript code changes for compliance with coding standards, style, and quality. Use for pull request and diff reviews.

Sby Skills Guide Bot
DevelopmentIntermediate
8/29/2026
Claude Code
#typescript#code-review#frontend#accessibility#static-analysis

Recommended for

Automated summary

Reviews TypeScript and JavaScript code changes against Metabase coding standards, treating the no-`any` rule as blocking.

Strengths

  • Ranks findings by an explicit priority order, putting TypeScript authoring-rule violations above everything else
  • Makes explicit or implicit `any` a blocking issue and recommends inspecting inferred types with LSP tooling
  • Covers reviewer blind spots: accessibility, performance, security, bundle size and analytics
  • Grounds the review in specific reference documents (typescript-write, frontend/CLAUDE.md, developer guide)

Limitations

  • Tightly coupled to the Metabase repository: the referenced files (`typescript-write`, `frontend/CLAUDE.md`) do not exist elsewhere
  • Assumes working tooling in the environment (LSP, type-checking, linting) to verify inferred types
  • Covers only TypeScript/JavaScript and does not replace human review of architecture or product decisions
When to use it

Use it to review a pull request or diff containing TypeScript/JavaScript code in a project that follows Metabase conventions.

When not to use it

Avoid it on repositories without the Metabase reference files, or for languages other than TypeScript/JavaScript.

Security analysis

Caution
Quality score88/100

The skill uses Bash for standard code-review tooling (type-checking, linting, LSP inspection) and does not contain destructive, exfiltrating, or obfuscated instructions. The risk is low but non-zero due to the general-purpose nature of Bash, so it warrants a caution rating rather than safe.

Findings
  • •Allows Bash for running type-checking, linting, and TypeScript LSP tools; legitimate but powerful execution context.
How this analysis is made

Examples

Review a TS pull request
Review the TypeScript changes in this PR diff against our coding standards. Block on any explicit or implicit `any` and list other violations in priority order.
Accessibility and performance pass
Look at this diff and flag accessibility gaps (unlabeled icon buttons, non-semantic click targets, missing focus traps) plus performance and bundle-size concerns.
Check a new user flow
This PR adds a new modal and navigation flow in TypeScript. Check standards compliance and tell me whether an analytics tracking event is missing.

name: typescript-review description: Review TypeScript and JavaScript code changes for compliance with Metabase coding standards, style violations, and code quality issues. Use when reviewing pull requests or diffs containing TypeScript/JavaScript code. allowed-tools: Read, Grep, Bash, Glob, Skill

TypeScript/JavaScript Code Review Skill

@./../_shared/typescript-commands.md @./../_shared/react-redux-patterns.md

Main Focus

Primary standard: the typescript-write skill. Load it first — it defines the authoring rules this review enforces, alongside frontend/CLAUDE.md and docs/developers-guide/frontend.md.

Adherence to typescript-write is the highest-priority review dimension: rank any violation of its provisions above all other findings. Treat its no-any hard rule (no explicit or implicit any in new code) as blocking. Use TypeScript LSP tools to inspect inferred types when available; otherwise rely on type-checking and linting.

Review in this priority order:

  1. Violations of typescript-write provisions — no-any, type tightening, type modeling, null/undefined handling, naming, structure, comments. Highest priority; block on the no-any rule.
  2. Compliance with frontend/CLAUDE.md.
  3. Readability and maintainability.
  4. Appropriate test coverage.

Blind spots — act as the missing reviewer

These rarely surface in team reviews, so this skill should raise them. They are additive — raise them, but rank them below typescript-write violations:

  • Accessibility. Interactive elements need keyboard support, focus management, and accessible names. Flag missing aria-label/aria-labelledby, non-semantic click targets, modals without focus trap, icon-only buttons without labels, and form inputs without a linked label.
  • Performance. Flag areas that scale poorly and aren't memoized; inline object/array literals passed to memoized children; effects that fire on every batch of a progressive load; and new dependencies added to hot paths.
  • Security. Evaluate potential security issues in new code.
  • Bundle size. Flag new large dependencies, default imports from icon or util libs, and heavy modules imported at route-load time.
  • Analytics. User-facing flows should emit tracking events. If a PR adds a new flow (button, modal, navigation) without a tracking event, ask whether one is expected.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/typescript-javascript-code-review-mte1lhh3/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/typescript-javascript-code-review-mte1lhh3' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/typescript-javascript-code-review-mte1lhh3/download' --output '.skill-downloads/typescript-javascript-code-review-mte1lhh3/SKILL.md.part' && mv '.skill-downloads/typescript-javascript-code-review-mte1lhh3/SKILL.md.part' '.skill-downloads/typescript-javascript-code-review-mte1lhh3/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Tools declared by the author (check availability in your agent): Read, Grep, Bash, Glob, Skill

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/typescript-javascript-code-review-mte1lhh3/SKILL.md' && test -s '.skill-downloads/typescript-javascript-code-review-mte1lhh3/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/typescript-review' && cp -R '.skill-downloads/typescript-javascript-code-review-mte1lhh3' '.claude/skills/typescript-review'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/typescript-javascript-code-review-mte1lhh3'

openskills read 'typescript-javascript-code-review-mte1lhh3'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/typescript-javascript-code-review-mte1lhh3/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills