Architecture
Architecture governance — design rules, layered architecture, ADRs, and codebase audits.
5 skills
Keeps an agent honest about the shape of a codebase — what the layers are, where a file belongs, and what a change is allowed to touch.
What it does
architecture-rules— the project’s design direction and security constraints, read before an architectural decision or a code-quality review.explicit-architecture— layer dependencies and file placement in a layered codebase.make-adr— records an architecture decision as an ADR.audit-codebase— audits for pattern drift, inconsistencies and architectural erosion.audit-testsuite— documents a test-suite run: results, bugs found, coverage.
Contents
| Type | Name | Purpose |
|---|---|---|
| Skill | architecture-rules |
Use when making an architectural decision, reviewing code quality, or checking security constraints. Triggers on ‘architecture rules’, ‘design direction’, ‘security constraints’. |
| Skill | audit-codebase |
Use when auditing a codebase for pattern drift, inconsistencies, or architectural erosion. Triggers on ‘audit the codebase’, ‘check for drift’, ‘is the architecture eroding’. |
| Skill | audit-testsuite |
Use when a test suite run needs documenting — results, bugs found, coverage assessment. Triggers on ‘document the test results’, ‘test report’, ‘coverage assessment’. |
| Skill | explicit-architecture |
Use when placing new files, checking layer dependencies, or reviewing code placement in a layered codebase. |
| Skill | make-adr |
Use when recording an architecture decision. Triggers on ‘create an ADR’, ‘document this decision’, ‘record why we chose’. |
Configuration
The rules themselves live in the project’s memory vault (.agents/memory/). No module configuration is required.
See also
- Memory — where ADRs and architecture rules are stored
- Create a module — module anatomy