Skip to main content

clean-code-ts-react

Use when writing, reviewing, or refactoring TypeScript or React code for craftsmanship โ€” naming, function and component shape, error handling, data modeling, tests, and abstraction. Translates Robert C. Martin's Clean Code principles into modern TS+React idioms (TS 5.x, React 19), with first-class "When NOT to apply" guidance and a Meta category for principle conflicts (DRY vs SRP, small functions vs deep modules, type safety vs ergonomics). Triggers on code review, refactoring for clarity, naming, function/component design, "is this clean?", "make this more readable", "right abstraction?" โ€” even when the user doesn't say "clean code". Does NOT cover React-specific APIs (RSC, hooks API surface) โ€” use the `react` skill. Does NOT cover TS compiler perf or tsconfig โ€” use the `typescript` skill.

Jump to install

Source facts

Repository
pproenca/dot-skills
Last source activity
May 27, 2026 at 09:50
Detected SKILL.md language
English
Stars
194
Forks
17

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.