clean-architecture-typescript

Community

Build scalable TS apps with clean architecture.

Authorlekman
Version1.0.0
Installs0

System Documentation

What problem does it solve?

TypeScript clean architecture implementation with *.system.ts convention, interface-based DI, namespace API pattern, and coverage configuration. Use when creating or refactoring TypeScript modules with external dependencies, writing system wrappers, defining interfaces for Azure SDK or Cloudflare API, or configuring coverage exclusions.

Core Features & Use Cases

  • System files: thin wrappers, no business logic, and support for DI through constructor parameters.
  • Interfaces: contracts named with I{Domain} and minimal surface area to keep platform-agnostic.
  • Dependency Injection: pass deps object and override defaults as needed.
  • Namespace API pattern: Classes with static methods to organize domain logic.
  • Coverage configuration: bunfig.toml exclusions for {domain}.*.system.ts and related files.
  • Module scaffolding: folder structures with index.ts barrel exports.

Quick Start

Create a new module following the *.system.ts convention, write interface contracts, and wire dependencies via DI.

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: clean-architecture-typescript
Download link: https://github.com/lekman/cdn/archive/main.zip#clean-architecture-typescript

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 223,000+ vetted skills library on demand.