react-component-diagnosis

Diagnose React component design quality across seven architectural dimensions.

278|15|Updated Mar 25, 2026
One-click install
npx skills add https://github.com/hylarucoder/hai-stack --skill react-component-diagnosis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-component-diagnosis
Source: https://github.com/hylarucoder/hai-stack/tree/main/skills/react-component-diagnosis
Command: npx skills add https://github.com/hylarucoder/hai-stack --skill react-component-diagnosis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers identify hidden design issues in React components by replacing superficial reviews with evidence-based architectural diagnosis.

Core Features & Use Cases

  • Seven-Dimension Review: Evaluates consumer API, data flow, testability, extensibility, performance, mental model, and boundaries with concrete code evidence.
  • Actionable Recommendations: Produces prioritized P0/P1/P2 improvements with impact analysis and effort estimates.
  • Use Case: Review a complex React component before refactoring to understand its API quality, rendering behavior, maintainability risks, and architectural tradeoffs.

Quick Start

Ask the skill to diagnose the design quality and performance of the React component directory or TSX file you provide.

Frequently Asked Questions about react-component-diagnosis

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

FAQPage Schema
How do I audit a React component for maintainability and architecture issues?

React component design analysis identifies hidden maintainability risks by inspecting source code evidence across seven architectural dimensions. It replaces superficial reviews with structured recommendations and impact estimates for refactoring.

How do I review React component props design and rendering behavior before refactoring?

Reviewing React component props design and rendering behavior involves diagnosing the consumer API and data flow with concrete code location evidence. This process generates actionable improvements to mitigate maintainability risks and architectural tradeoffs.

Can I use this to evaluate React component extensibility and testing strategy in TypeScript?

Yes, you can evaluate React component extensibility and testing strategy in TypeScript by diagnosing single TSX files or component directories. The analysis applies architectural dimensions to identify design quality issues and produce structured recommendations.

What is the best way to diagnose React component boundaries and data flow?

The best way to diagnose React component boundaries and data flow is through a seven-dimension architectural review using detailed source inspection. This approach provides concrete code evidence and prioritized improvements for better component design.