Use when designing or improving a module interface, choosing a seam, reducing shallow modules, making code easier to test, or reviewing architecture for locality, leverage, adapters, and deep-module design.
Scanned 9/10/2026
Install to Claude Code
npx -y skills add tensology/decisionsai --skill codebase-design --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Codebase Design?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/tensology-codebase-design)More formats (shields.io, HTML) on the badges page.
---
name: codebase-design
description: Use when designing or improving a module interface, choosing a seam, reducing shallow modules, making code easier to test, or reviewing architecture for locality, leverage, adapters, and deep-module design.
---
# Codebase Design
Use this vocabulary when shaping code so Decisions workflows and future agents talk about architecture consistently.
## Vocabulary
- **Module:** anything with an interface and implementation: function, class, package, or vertical slice.
- **Interface:** everything a caller must know: type shape, invariants, ordering, errors, config, and performance.
- **Implementation:** what sits behind the interface.
- **Depth:** how much behavior sits behind a small interface.
- **Seam:** where behavior can vary without editing the caller.
- **Adapter:** a concrete implementation at a seam.
- **Leverage:** capability gained by callers.
- **Locality:** change and verification concentrated in one place.
## Rules
- Prefer deep modules: small interface, rich implementation.
- Use the deletion test: if removing the module only moves complexity, it was shallow.
- Tests should cross the same interface callers use.
- One adapter means a hypothetical seam. Two adapters means a real seam.
- In Decisions tickets, name modules with project domain terms and record durable decisions in project docs or workflow memory.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Ultra-compressed code review comments. Cuts noise from PR feedback while preserving the actionable signal. Each comment is one line: location, problem, fix. Use when user says "review this PR", "code review", "review the diff", "/review", or invokes /caveman-review. Auto-triggers when reviewing pull requests.
Ultra-compressed commit message generator. Cuts noise from commit messages while preserving intent and reasoning. Conventional Commits format. Subject ≤50 chars, body only when "why" isn't obvious. Use when user says "write a commit", "commit message", "generate commit", "/commit", or invokes /caveman-commit. Auto-triggers when staging changes.
Verification loop for Spring Boot projects: build, static analysis, tests with coverage, security scans, and diff review before release or PR.
一个全面的 Claude Code 会话验证系统。
Verification loop for Django projects: migrations, linting, tests with coverage, security scans, and deployment readiness checks before release or PR.