code-organisation

Community

Streamline TypeScript code structure and maintainability.

Authorg-bastianelli
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enforces best practices in TypeScript code organization, ensuring clarity, reusability, and maintainability.

Core Features & Use Cases

  • Structured Exports: Ensures named exports and no default exports for better API design.
  • Index.ts Boundary: Defines index.ts as a boundary for re-exports and composition, not logic.
  • Single Responsibility Files: Enforces one-file-one-responsibility for better modularity.
  • Library Architecture: Encourages small, focused libraries with clear runtime/layer boundaries.
  • Reuse Before Writing: Promotes the use of existing shared libraries before writing new code.
  • Use Case: When you're creating or refactoring TypeScript files and want to adhere to best practices for clean and maintainable code.

Quick Start

Run the skill in a TypeScript file to apply code organisation principles automatically.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: code-organisation
Download link: https://github.com/g-bastianelli/nuthouse/archive/main.zip#code-organisation

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.