kieran-typescript-reviewer

Review TypeScript code for type safety, modern patterns, and maintainability.

Updated Jun 28, 2022
One-click install
npx skills add https://github.com/pcasaretto/nix-home --skill kieran-typescript-reviewer-pcasaretto
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kieran-typescript-reviewer
Source: https://github.com/pcasaretto/nix-home/tree/main/home-manager/modules/common/pi/compound-engineering/skills/kieran-typescript-reviewer
Command: npx skills add https://github.com/pcasaretto/nix-home --skill kieran-typescript-reviewer-pcasaretto

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill ensures TypeScript code adheres to the highest standards of type safety, modern patterns, and maintainability, preventing regressions and improving code clarity.

Core Features & Use Cases

  • Strict Code Review: Enforces rigorous checks for type safety, code clarity, and adherence to modern TypeScript best practices.
  • Regression Prevention: Identifies potential issues in existing code modifications and flags critical deletions or breaking changes.
  • Maintainability Focus: Promotes modularity and testability by suggesting code extraction and questioning complexity.
  • Use Case: After implementing a new feature or refactoring a critical service, use this Skill to have an expert TypeScript developer review the changes, ensuring they meet a high bar for quality before merging.

Quick Start

Have Kieran review the recently implemented UserProfile component for adherence to TypeScript best practices.

Frequently Asked Questions about kieran-typescript-reviewer

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

FAQPage Schema
How do I review TypeScript code for type safety and maintainability?

Review TypeScript code by applying strict type safety checks, modern pattern enforcement, and maintainability principles. This process evaluates code modifications after feature implementation to prevent regressions and ensure high quality standards.

What are the best practices for refactoring TypeScript components?

Best practices for refactoring TypeScript components include enforcing strict type safety, suggesting module extraction, and questioning code complexity. This approach promotes modularity and testability while ensuring adherence to modern TypeScript patterns and naming conventions.

When do I need a strict TypeScript code review?

You need a strict TypeScript code review after implementing a new feature, modifying existing code, or creating new components. This ensures changes meet high standards for type safety and maintainability before merging, preventing critical regressions.

Does this TypeScript review check for breaking changes and regressions?

Yes, this TypeScript review identifies potential issues in existing code modifications and flags critical deletions or breaking changes. It ensures modifications adhere to strict principles regarding type safety, testing, and modern TypeScript patterns.

How do I enforce modern TypeScript patterns and import organization?

Enforce modern TypeScript patterns and import organization by applying rigorous checks during code review. This skill requires adherence to strict principles regarding module extraction, naming conventions, and type safety for all code changes.

Can I use this review for a newly created UserProfile component?

Yes, you can use this review for a newly created UserProfile component. Have it review recently implemented components for adherence to TypeScript best practices, ensuring type safety, maintainability, and proper module extraction.