god-component-detector
Installation
SKILL.md
God Component Detector
Identifies React/Next.js components that violate the Single Responsibility Principle by mixing concerns, having excessive complexity, or containing too many lines of code.
What is a God Component?
A "God Component" (also called "God Object" or "Blob Anti-pattern") is a component that:
- Knows too much: Has excessive knowledge of the system
- Does too much: Handles multiple unrelated responsibilities
- Is too large: Excessive lines of code (typically >300 LOC)
- Mixes concerns: UI rendering + business logic + data fetching + side effects
Detection Criteria
🚨 Critical Red Flags (Severity: High)
- File Size