DocsGitHubnpm
Browse documentation

Clean Code

TypeScript, React, and Next.js rules for writing, refactoring, and reviewing.

clean-code applies naming, small functions, no any, early returns, and typed errors, plus stack-specific rules for React 19, Next.js 15/16, Zustand v5, and TanStack Query v5.

Invoke

Terminal
$clean-code

What it does

  • Use it while writing or reviewing, not as a separate cleanup religion after the fact.
  • Stack-specific rules beat generic “clean code” slogans.
  • Pairs with code-review for spec/standards verdicts and impeccable for visual craft.

Install

Included in Premium. Install or refresh with:

Terminal
npx aiblueprint-cli@latest agents pro setup

See Premium setup.