typescript-react-review

Identify common TypeScript and React issues during pull request reviews.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Shah-Aayush/pr-reviewer --skill typescript-react-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typescript-react-review
Source: https://github.com/Shah-Aayush/pr-reviewer/tree/main/shared-skills/typescript-react
Command: npx skills add https://github.com/Shah-Aayush/pr-reviewer --skill typescript-react-review

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the review of TypeScript + React code to identify potential issues and improve code quality before merge.

Core Features & Use Cases

  • Code Analysis: Identify hooks misuse, stale closures, XSS, state races, and bundle-bloat patterns.
  • Scope Activation: Activate on diffs touching .ts/.tsx/.js/.jsx in a React app.
  • Use Case: Streamline the code review process by automatically flagging potential issues in your React application's codebase.

Quick Start

Review the TypeScript + React code changes in your pull request using the typescript-react-review skill.

Frequently Asked Questions about typescript-react-review

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

FAQPage Schema
How do I automate React code review for common TypeScript issues?

Automate React code review for TypeScript issues by analyzing pull request diffs to identify hooks misuse, stale closures, XSS vulnerabilities, state races, and bundle-bloat patterns before merging.

What types of bugs can static analysis detect in React and TypeScript code?

Static analysis for React and TypeScript code detects hooks management issues, improper state handling, security vulnerabilities like XSS, and performance bottlenecks such as bundle-bloat patterns.

How do I set up TypeScript code review to trigger only on React file changes?

Set up TypeScript code review to trigger on React file changes by activating the analysis scope specifically for diffs touching .ts, .tsx, .js, and .jsx files within your application.

Can static analysis catch stale closures and state races in React hooks?

Static analysis can catch stale closures and state races in React hooks by evaluating hooks management and effects handling during automated pull request code reviews.

Does automated code review replace TypeScript type checking for React security?

Automated code review does not replace TypeScript type checking but complements it by enforcing TypeScript discipline and specifically detecting security concerns like XSS in React components.

When should I not rely on automated static analysis for React code?

Do not rely on automated static analysis for React code when evaluating complex runtime logic or DOM interactions, as it primarily targets static patterns like hooks misuse and bundle-bloat.