code-review-ts

Reviews TypeScript code for type safety, quality, performance, and security issues.

1|Updated Oct 11, 2025
One-click install
npx skills add https://github.com/codewizwit/human-in-the-loop --skill code-review-ts-codewizwit
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: code-review-ts
Source: https://github.com/codewizwit/human-in-the-loop/tree/main/lib/skills/code-review-ts
Command: npx skills add https://github.com/codewizwit/human-in-the-loop --skill code-review-ts-codewizwit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manually auditing a TypeScript codebase for type safety gaps, anti-patterns, security flaws, and performance bottlenecks is slow and inconsistent. This Skill automates a structured review across your workspace and produces a severity-rated report with actionable fixes. ## Core Features & Use Cases - Multi-Dimensional Analysis: Examines type safety, code quality, best practices, performance, and security across all TypeScript files. - Scoped Reviews: Review the entire workspace, a specific directory, or only recently changed files, with a chosen priority focus such as security or type safety. - Structured Report Output: Delivers a markdown report with findings organized by category and severity (Critical, High, Medium, Low), each with file paths, line references, and improvement code examples. - Use Case: Ask for a security-focused review of your API routes and receive findings on input validation, injection risks, and authentication checks with concrete remediation examples. ## Quick Start Ask the assistant to review all TypeScript code in this project and produce a severity-rated report covering type safety, quality, performance, and security.

Frequently Asked Questions about code-review-ts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review TypeScript code for type safety issues?▼

Request a TypeScript code review with a type safety priority focus. The review scans your files for inappropriate any usage, weak generics, missing type guards, and strict mode compliance, then reports each finding with file paths and fix examples.

How to run a security audit on TypeScript API routes?▼

Ask for a security-focused review of your API route files. The audit checks input validation, injection vulnerabilities, exposed sensitive data, and authentication and authorization logic, rating each finding by severity.

Can I review only recently changed TypeScript files?▼

Yes, the review scope can be limited to recently changed files instead of the full workspace or a specific directory. This keeps feedback focused on new code before merging.

Does the TypeScript review work with React components?▼

Yes, it supports React projects and reviews component files for prop type definitions, generic component patterns, unnecessary re-renders, and memoization opportunities alongside general type safety checks.

What are the limitations of automated TypeScript code review?▼

The review skips generated code, node_modules, and third-party libraries, and avoids formatting issues that linters handle. It assumes TypeScript strict mode and focuses on substantive issues rather than style preferences.