What problem does it solve?
Reviewing React UI components for architectural soundness is time-consuming and easy to get wrong: mirrored state, synchronization effects, bloated public APIs, weak primitive boundaries, and bundle bloat often slip through informal reviews. This Skill provides a structured, read-only review checklist grounded in the Video.js v10 codebase conventions.
Core Features & Use Cases
- State and Data Flow Audit: Traces sources of truth, selectors, context, callbacks, and effects, flagging mirrored state, broad subscriptions, and unstable context values.
- Public Surface Review: Examines props, callbacks, refs, render functions, data attributes, CSS custom properties, and exports, checking controlled/uncontrolled modes and opt-out behavior.
- Bundle and Export Analysis: Inspects imports, re-exports, client boundaries, and tree shaking, enforcing compound export patterns like
export * as Name from './index.parts'.
- Use Case: Ask for a review of a new React chapter menu component and receive prioritized findings on ownership, compound anatomy, styling contracts, opt-outs, and bundle boundaries, each with location, evidence, and the smallest viable improvement.
Quick Start
Ask the assistant to review a specific React component in the repository, for example by saying: review the new React chapter menu component for data flow, API surface, and bundle issues.