From metabase-typescript-review
Reviews TypeScript/JavaScript code changes for Metabase coding standards, style violations, and code quality issues. Use when reviewing pull requests or diffs.
How this skill is triggered — by the user, by Claude, or both
Slash command
/metabase-typescript-review:typescript-reviewThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
@./../_shared/typescript-commands.md
@./../_shared/typescript-commands.md @./../_shared/react-redux-patterns.md
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, and verify it with the LSP rather than by eye.
Review in this priority order:
typescript-write provisions — no-any, type tightening, type modeling, null/undefined handling, naming, structure, comments. Highest priority; block on the no-any rule.frontend/CLAUDE.md.These rarely surface in team reviews, so this skill should raise them. They are additive — raise them, but rank them below typescript-write violations:
aria-label/aria-labelledby, non-semantic click targets, modals without focus trap, icon-only buttons without labels, and form inputs without a linked label.npx claudepluginhub p/metabase-metabase-typescript-review-claude-skills-typescript-reviewReviews changed React/TypeScript frontend code, auto-detects technologies (Remix, Zustand, shadcn/ui, etc.), and loads specialized sub-skills for targeted review. Optionally parallelizes with agents.
Reviews frontend code across 8 dimensions: architecture, type safety, accessibility, style, performance, testability, state management, and security. Outputs a graded report with blocking issues and recommendations.
Reviews frontend files (JSX, TS, JS) for code quality, performance, and business logic violations using a structured checklist. Supports pending-change and file-targeted reviews.