clean-code
Original:🇺🇸 English
Translated
Use when writing, fixing, editing, or refactoring TypeScript, React, or CSS code. Not for PR or diff reviews — use clean-code-reviewer for those.
7installs
Added on
NPX Install
npx skill4agent add gosukiwi/clean-code-react clean-codeTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Clean Code: Collection Router
Use this as the top-level entry point for the clean-code skill collection. It should activate the relevant track skills for the files and concerns in front of you, then report findings with the specialized rule IDs.
Route By Work
| Work | Use |
|---|---|
| Broad TypeScript quality, names, functions, modules, async flows, comments, boundaries, data modeling, errors, tests | |
| React components, JSX, hooks, effects, state, React tests, file ownership | |
| CSS, CSS Modules, CSS-in-JS, Tailwind classes, inline styles, tokens, layout, visual accessibility | |
| Small cleanup near existing TypeScript edits | |
Editing Process
When editing code with clean-code expectations:
- Apply the requested change first.
- Use the relevant track skill before making quality improvements.
- Keep cleanup proportional to the touched code.
- Report the concrete rule-backed improvements made.
AI Behavior
Do not treat as a replacement for the specialized skills. It is a router.
clean-codeFor broad edits, include every relevant track instead of choosing only one. For example, a component with CSS Modules should use , , and .
.tsxclean-typescriptclean-reactclean-css