skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
damianwrooby/javascript-clean-code-skills80 installs

clean-codejs-objects

Object and class design patterns following Clean Code JavaScript.

How do I install this agent skill?

npx skills add https://github.com/damianwrooby/javascript-clean-code-skills --skill clean-codejs-objects
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    The skill provides documentation on JavaScript design patterns. No security issues were detected.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

  • Runlayerwarn

    1/1 file flagged

What does this agent skill do?

Clean Code JavaScript – Object & Class Patterns

Table of Contents

  • Encapsulation
  • Immutability
  • Cohesion

Encapsulation

// ❌ Bad
user.name = 'John';

// ✅ Good
user.rename('John');

Immutability

// ❌ Bad
user.age++;

// ✅ Good
const updatedUser = user.withAge(user.age + 1);

Cohesion

// ❌ Bad
class User {
  calculateTax() {}
}

// ✅ Good
class TaxCalculator {
  calculate(user) {}
}

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/damianwrooby/javascript-clean-code-skills/clean-codejs-objects">View clean-codejs-objects on skillZs</a>