typescript-review
Enforces Metabase coding standards for TS/JS.
Install
mkdir -p .claude/skills/typescript-review && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/45" && unzip -o skill.zip -d .claude/skills/typescript-review && rm skill.zipInstalls to .claude/skills/typescript-review
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
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.Key capabilities
- →Enforce no-any rule in TypeScript code
- →Validate compliance with Metabase coding standards
- →Check for accessibility gaps in interactive elements
- →Review performance and memoization patterns
- →Identify missing analytics tracking events
How it works
It evaluates code changes against a hierarchy of standards, prioritizing type safety and the no-any rule. It acts as an additive reviewer by checking for accessibility, performance, and security issues often missed in standard reviews.
Inputs & outputs
When to use typescript-review
- →Review pull requests for type safety
- →Check code against style guidelines
- →Identify accessibility gaps in code
About this 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:
- Violations of
typescript-writeprovisions — no-any, type tightening, type modeling, null/undefined handling, naming, structure, comments. Highest priority; block on the no-anyrule. - Compliance with
frontend/CLAUDE.md. - Readability and maintainability.
- 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.
When not to use it
- →When reviewing non-TypeScript or non-JavaScript files
- →When the codebase does not follow Metabase standards
Prerequisites
Limitations
- →Requires typescript-write skill for baseline rules
- →Review findings are additive and secondary to type violations
How it compares
It enforces strict, project-specific type safety rules and accessibility checks that go beyond generic linting.
Compared to similar skills
typescript-review side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| typescript-review (this skill) | 39 | 2mo | No flags | Intermediate |
| accessibility-compliance | 45 | 2mo | No flags | Intermediate |
| antfu | 6 | 3mo | Review | Intermediate |
| ast-grep-find | 3 | 7mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by metabase
View all by metabase →You might also like
accessibility-compliance
wshobson
Implement WCAG 2.2 compliant interfaces with mobile accessibility, inclusive design patterns, and assistive technology support. Use when auditing accessibility, implementing ARIA patterns, building for screen readers, or ensuring inclusive user experiences.
antfu
antfu
Anthony Fu's opinionated tooling and conventions for JavaScript/TypeScript projects. Use when setting up new projects, configuring ESLint/Prettier alternatives, monorepos, library publishing, or when the user mentions Anthony Fu's preferences.
ast-grep-find
parcadei
AST-based code search and refactoring via ast-grep MCP
code-standards
redpanda-data
TypeScript, React, and JavaScript best practices enforced by Ultracite/Biome.
naming-analyzer
davila7
Suggest better variable, function, and class names based on context and conventions.
dead-code
parcadei
Find unused functions and dead code in the codebase