validate-typescript-style

Validate TypeScript/React code against style and architectural conventions.

22|3|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/peteski22/claude-pragma --skill validate-typescript-style
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: validate-typescript-style
Source: https://github.com/peteski22/claude-pragma/tree/main/skills/validators/typescript-style
Command: npx skills add https://github.com/peteski22/claude-pragma --skill validate-typescript-style

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Validate TypeScript/React code against a defined set of style and architectural conventions to ensure consistency across projects and reviews.

Core Features & Use Cases

  • Enforces TypeScript strict mode, React component patterns (functional, hooks), and modern architectural practices.
  • Checks file organization (exports, module boundaries) and hook dependency usage to prevent common pitfalls.
  • Use Case: integrate into PR checks to automatically surface pattern violations in a React project.

Quick Start

Run the validate-typescript-style skill against your TS/React codebase to identify and report deviations from the prescribed conventions.

Frequently Asked Questions about validate-typescript-style

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

FAQPage Schema
How do I enforce TypeScript strict mode and React component patterns in my project?

To enforce TypeScript strict mode and React component patterns, use a static analysis validator against defined architectural conventions. This skill targets functional components, hooks, and modern module boundaries to ensure consistency.

Can I integrate automated TypeScript code quality checks into my PR pipeline?

Yes, you can integrate automated TypeScript code quality checks into your PR pipeline. This skill surfaces pattern violations and architectural deviations during code reviews, deferring security and formatting concerns to other validators in the pipeline.

Does this TypeScript validator check React hook dependency usage?

Yes, this TypeScript validator checks React hook dependency usage. It analyzes hook dependencies to prevent common pitfalls and enforces strict guidelines for modern React architectural practices.

What is the best way to enforce file organization and module boundaries in a React codebase?

The best way to enforce file organization and module boundaries in a React codebase is through static analysis. This skill validates exports and module structures against strict architectural conventions to maintain project consistency.

Will this skill handle code formatting and security analysis for my TypeScript project?

No, this skill will not handle code formatting and security analysis for your TypeScript project. It focuses exclusively on style and architectural conventions, explicitly deferring security and formatting concerns to other validators in your pipeline.