clean-code

Installation
SKILL.md

Clean Code for TypeScript/JavaScript

Practical patterns for writing and refactoring clean, maintainable TypeScript/JavaScript code.

Code Smell Detection

Naming Smells

Smell Example Fix
Single-letter names const d = new Date() const createdAt = new Date()
Abbreviations const usrMgr = ... const userManager = ...
Generic names data, info, temp, result Name by what it represents
Misleading names userList (but it's a Set) users or userSet
Encoding types strName, arrItems name, items

Function Smells

| Smell | Indicator | Refactoring |

Related skills

More from toilahuongg/shopify-agents-kit

Installs
6
GitHub Stars
9
First Seen
Mar 3, 2026