Code Readability Review

Reviews and optionally refactors TypeScript/React code for readability: nested ternaries, enum-to-label maps, early returns, oversized JSX expressions, and conditional className composition (cn/cx/template literals). Use when the user mentions ugly/nested ternaries, messy className branches, unreadable JSX conditionals, code style review for readability, 不优雅, 嵌套三元, or asks to clean up similar structures.

hyk260 9527a7d 2 files · 10.8 KB Updated

File contents

hyk260/purechatnext/tree/main/.cursor/skills/code-readability-review commit 9527a7d232

Frequently asked questions

npx skillmds@latest add hyk260/code-readability-review