Codebase Design

A way to design modules with simple interfaces and deep internals, which makes code easier to test and understand.

How to use it

Install it with the open Skills CLI (needs Node.js), then restart your agent:

npx skills add mattpocock/skills --skill codebase-design
  1. Download the ZIP from this page and unzip it.
  2. Put the codebase-design folder in .claude/skills/ inside your project (or ~/.claude/skills/ for all projects).
  3. Restart Claude Code and call it with /codebase-design.

بالعربي

يوفر طريقة لتصميم وحدات ذات واجهات بسيطة وتفاصيل داخلية قوية، بما يحسن الاختبار وفهم قاعدة الكود.

More for software architecture

  • Improve Codebase Architecture: Finds ways to improve your codebase structure, shows them in an HTML report, then discusses the chosen option in depth.
  • Architecture Patterns: Applies Clean Architecture, Hexagonal Architecture and DDD to organize boundaries, dependencies and services.