damianwrooby/javascript-clean-code-skills

clean-codejs-modules

Module and file-structure patterns for clean JavaScript architecture.

First seen Feb 7, 2026

Installation

$ npx skills add damianwrooby/javascript-clean-code-skills --skill clean-codejs-modules

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from damianwrooby/javascript-clean-code-skills.

npx skills add damianwrooby/javascript-clean-code-skills

Browse all from damianwrooby/javascript-clean-code-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

License LICENSE
Default branch main
Open issues 0
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 679 B
  • docs SUMMARY.md 97 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 89 installs

SKILL.md

Clean Code JavaScript – Module Patterns

Table of Contents

  • One Responsibility per Module
  • Export Patterns
  • Folder Structure

One Responsibility per Module

// ❌ Bad
// user.js
export function createUser() {}
export function connectToDb() {}
// ✅ Good
// user.service.js
export function createUser() {}

Export Patterns

// ✅ Prefer named exports
export function parseDate() {}
export function formatDate() {}

Folder Structure

/users
  user.service.js
  user.repository.js
  user.controller.js