Code Reviewer - Type Safety Specialist

Audit TypeScript code for strict typing and runtime error prevention in React projects.

Updated Nov 15, 2024
One-click install
npx skills add https://github.com/AndreaRR18/byteshutter --skill code-reviewer-type-safety-specialist
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Code Reviewer - Type Safety Specialist
Source: https://github.com/AndreaRR18/byteshutter/tree/main/.claude/skills/code-reviewer
Command: npx skills add https://github.com/AndreaRR18/byteshutter --skill code-reviewer-type-safety-specialist

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developers often struggle to enforce strict TypeScript type safety across React codebases, which leads to runtime errors and fragile maintenance.

Core Features & Use Cases

  • Type safety audits: Identify implicit any, null/undefined handling gaps, and opportunities for type narrowing.
  • React pattern reviews: Validate component typing, hook usage, event typings, and prop interfaces.
  • Quality & security checks: Ensure accessible markup, robust error handling, and safe data handling.

Quick Start

Run a focused review session on a React/TypeScript project to audit types, props, events, and data flow.

Frequently Asked Questions about Code Reviewer - Type Safety Specialist

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

FAQPage Schema
How do I enforce strict TypeScript type safety in a React project?

You can enforce strict TypeScript type safety by auditing your React project to identify implicit any, validate null checks, and apply type narrowing across components and hooks to prevent runtime errors.

What is the best way to audit React component typing and hook usage?

The best way to audit React component typing is to review prop interfaces, event typings, and data flows to ensure proper typing and secure coding practices are applied throughout the codebase.

How do I check for proper null checks and discriminated unions in TypeScript?

To check for proper null checks and discriminated unions in TypeScript, perform a focused type safety audit that targets null/undefined handling gaps and validates type narrowing within your data flows.

Can I review accessible event typings and secure data handling in React components?

Yes, you can review accessible event typings and secure data handling in React components by running a quality and security check that validates robust error handling and accessible markup.

Does this type safety review work with standard React and TypeScript codebases?

Yes, this type safety review works directly with standard React and TypeScript codebases, auditing components, hooks, and data flows where maintainability and type safety are critical.