preen-split-react-components

Installation
SKILL.md

Preen Split React Components

Proactively search the monorepo for oversized React component files and refactor them into small, named, one-component-per-file modules with clear folder organization and colocated tests.

When to Run

Run this skill when maintaining code quality or during slack time. It searches the entire codebase for refactoring opportunities.

Discovery Phase

Search all packages for large TSX files that may benefit from splitting:

# Find TSX files over 300 lines (high likelihood of split candidates)
find . -name "*.tsx" -not -path "*/node_modules/*" -not -path "*/.next/*" -not -path "*/dist/*" | xargs wc -l 2>/dev/null | sort -rn | head -20
Installs
1
Repository
a2f0/tearleads
First Seen
Mar 9, 2026
preen-split-react-components — a2f0/tearleads