---
name: matt-codebase-design
description: "Glossary and principles for deep modules: module, interface, depth, seam, adapter, leverage, locality. Use when designing an interface, placing a seam, or when another skill needs the vocabulary; also scans a codebase for deepening candidates and writes them up. Triggers on: 'find deepening opportunities', 'improve the architecture', 'architecture review', or /matt-codebase-design."
imported: true
imported_from: https://github.com/mattpocock/skills
preset_enabled: false
---

This skill lives in `docs/skills/development/matt-codebase-design/`. Read `docs/skills/development/matt-codebase-design/SKILL.md` and follow it exactly.

Every supporting file it mentions (REFERENCE.md, templates, `scripts/`, examples) sits beside it in that directory. Wherever it says "this skill's directory" or uses a path relative to itself, resolve it against `docs/skills/development/matt-codebase-design/`.
