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-code

Tags

Translated version includes tags in frontmatter

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

WorkUse
Broad TypeScript quality, names, functions, modules, async flows, comments, boundaries, data modeling, errors, tests
clean-typescript
React components, JSX, hooks, effects, state, React tests, file ownership
clean-react
plus
clean-typescript
CSS, CSS Modules, CSS-in-JS, Tailwind classes, inline styles, tokens, layout, visual accessibility
clean-css
Small cleanup near existing TypeScript edits
clean-as-you-go
plus the relevant focused TypeScript skill

Editing Process

When editing code with clean-code expectations:
  1. Apply the requested change first.
  2. Use the relevant track skill before making quality improvements.
  3. Keep cleanup proportional to the touched code.
  4. Report the concrete rule-backed improvements made.

AI Behavior

Do not treat
clean-code
as a replacement for the specialized skills. It is a router.
For broad edits, include every relevant track instead of choosing only one. For example, a
.tsx
component with CSS Modules should use
clean-typescript
,
clean-react
, and
clean-css
.