About screaming-architecture
A skill that applies the Screaming Architecture pattern to project structure. It is intended for developers creating or modifying a codebase layout, with a todo microservice example organized by application and domain responsibilities.
Key features
- 01Create project directory structures
- 02Organize code by application and domain
- 03Apply a maintainable architecture pattern
Use cases
- 01Structuring a new project
- 02Reorganizing an existing codebase
- 03Separating application and domain code
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ karibulab/ skills --skill screaming-architectureAfter installing, type/screaming-architecturein Claude Code to confirm it loaded.
Details
From the project READMEScreaming Architecture
Clean and maintainable code architecture pattern for project structure.
Purpose
Follow the clean and maintainable code architecture pattern for project structure.
When to Use
Use when you need to create or modify project structure following the clean and maintainable code architecture pattern.
Instructions
- Create the project directory structure.
For example, a todo list microservice could have the following structure:
src/
todo/
application/
add-todo.use-case.ts
update-todo.use-case.ts
get-todos.use-case.ts
domain/
todo.entity.ts
todo.repository.ts // interface
infrastructure/
todo.repository.impl.ts
presentation/
todo.controller.ts
dto/
add-todo.dto.ts
update-todo.dto.ts
Comments
Markdown supported