code-review

Audit TypeScript/JavaScript code for quality, performance, security, and design patterns.

Updated Mar 30, 2025
One-click install
npx skills add https://github.com/j4xie/my-prototype-logistics --skill code-review-j4xie
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review
Source: https://github.com/j4xie/my-prototype-logistics/tree/main/.claude/skills/code-review
Command: npx skills add https://github.com/j4xie/my-prototype-logistics --skill code-review-j4xie

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill performs targeted code reviews to identify quality, performance, security, and design pattern issues in PRs or code changes.

Core Features & Use Cases

  • Quality Checks: Validate error handling, data validation, and type safety.
  • Best Practices: Detect anti-patterns and suggest fixes.
  • Use Case: Quickly assess a PR for potential issues before merging.

Quick Start

Run the code review script: bash scripts/code-review.sh

Frequently Asked Questions about code-review

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

FAQPage Schema
How do I automate code quality checks in TypeScript projects?

Automated code quality checks validate type safety, error handling, data validation, and security patterns in TypeScript. This Skill audits PRs and code changes against best practices, identifying issues before merge and ensuring compliance with strict mode and centralized configuration standards.

What security issues does code review detect in JavaScript?

Code review identifies security vulnerabilities including insecure storage practices, magic numbers, hard-coded values, missing user-facing error messages, and runtime API validation gaps. It enforces explicit error types, enum-based roles, and non-silent degradations with alerts across your codebase.

Can I check for anti-patterns and design issues in a pull request?

Yes. This Skill performs targeted PR reviews that detect anti-patterns, performance bottlenecks, and design pattern violations in TypeScript/JavaScript code. It surfaces issues before merge and suggests fixes aligned with TypeScript strict mode requirements.

How do I verify type safety and error handling in my codebase?

Run the code review audit to validate TypeScript type safety, explicit error types, proper data validation, and error handling across your project. It checks for missing user-facing messages, runtime API validation, and configuration governance compliance.

What's the fastest way to assess code quality before merging?

Execute the code-review script to quickly audit a PR for quality, performance, security, and design issues. The Skill delivers targeted findings on error handling, type safety, validation, and best practice violations in seconds.

Does this work with TypeScript strict mode?

Yes. This Skill is fully aligned with TypeScript strict mode, checking for type safety compliance, explicit error types, proper validation, and configuration governance. It enforces best practices required by strict mode across your codebase.