Loading...
Loading...
Naming patterns and conventions based on Clean Code JavaScript principles.
npx skill4agent add damianwrooby/javascript-clean-code-skills clean-codejs-naming// ❌ Bad
const d = 86400000;
// ✅ Good
const MILLISECONDS_PER_DAY = 86400000;// ❌ Bad
function getUser(u) {}
// ✅ Good
function fetchUserById(userId) {}// ❌ Bad
if (!user.isNotActive) {}
// ✅ Good
if (user.isActive) {}// ❌ Bad
const data = getData();
// ✅ Good
const usersResponse = fetchUsers();