ts-review

Review TypeScript code for architecture, security, and type safety issues.

4|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/widnyana/eyay-toolkits --skill ts-review-widnyana
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ts-review
Source: https://github.com/widnyana/eyay-toolkits/tree/main/plugins/ts-backend-dev/skills/ts-review
Command: npx skills add https://github.com/widnyana/eyay-toolkits --skill ts-review-widnyana

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you catch architecture, security, correctness, and quality issues in TypeScript code before they ship.

Core Features & Use Cases

  • Architecture & patterns review: checks separation of concerns, dependency handling, and boundary input validation (DTOs/schemas).
  • Security and safety checks: verifies authz/auth boundaries, secret handling, injection risks (e.g., SQL parameterization), webhook verification, and safe logging/error messaging.
  • Implementation quality review: evaluates error handling, database practices (transactions, indexes, N+1 avoidance), and TypeScript correctness (types, null/undefined, any usage).
  • Use case: review a PR diff or a focused file set and get prioritized findings labeled as critical issues, improvements, suggestions, and positive notes.

Quick Start

Use this skill to review the TypeScript code you paste by asking: "ts-review this file and list the critical issues first."

Frequently Asked Questions about ts-review

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

FAQPage Schema
How do I review TypeScript code for security and database performance issues?

Review TypeScript code by analyzing architecture, security boundaries, error handling, database patterns, and type safety. This identifies injection risks, N+1 queries, and missing transactions, delivering categorized findings to improve code quality before shipping.

What is the best way to check a PR diff for TypeScript type safety and architecture flaws?

Checking a PR diff for TypeScript type safety involves evaluating null/undefined handling, any usage, and separation of concerns. This generates a summary with critical issues, improvements, suggestions, and positive notes for actionable feedback.

Can I use an automated code review to find SQL injection risks and unsafe secret handling in TypeScript?

Yes, automated code review can find SQL injection risks and unsafe secret handling in TypeScript. It verifies SQL parameterization, webhook verification, auth boundaries, and safe logging to catch security vulnerabilities before deployment.

How do I get actionable feedback on my TypeScript error handling and boundary input validation?

To get actionable feedback on TypeScript error handling, review code against boundary input validation schemas like DTOs. This categorizes findings into critical issues and suggestions, ensuring proper error handling and input validation are implemented.

Does TypeScript code review cover database patterns like transactions and N+1 query avoidance?

Yes, TypeScript code review covers database patterns like transactions and N+1 query avoidance. It evaluates database practices alongside type correctness and architecture, delivering prioritized improvements to optimize query performance and data integrity.