Skip to content
Back to skills

Codebase Design

ASecurity

Find boundaries that hide complexity and reduce change propagation. Triggers on "deep modules", "深化模块".

  • 3 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 4, 2026
ai-agentsgotestingrefactoring

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned November 9, 2026

npx -y skills add int2t05/engineering-skills --skill codebase-design --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Codebase Design?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Codebase Design
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/int2t05-codebase-design/badge)](https://www.skillsdirectory.com/skills/int2t05-codebase-design)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: codebase-design
description: Find boundaries that hide complexity and reduce change propagation. Triggers on "deep modules", "深化模块".
---

# Codebase Design

## When to use

- Find boundaries that hide complexity and reduce change propagation.

**Not for:** refactoring for executing a structural move.

## Steps

1. Trace real callers, dependencies and representative business paths; inspect change history without requiring a subagent.

2. Identify leaked internals, shallow modules and repeated coordination with concrete call-site evidence.

3. Compare candidate boundaries by coupling, testability and migration effort; present a behavior contract and one recommendation.

4. Confirm the structural decision and testing seam before refactoring; use Markdown unless an interactive artifact was requested.

**Output:** Suggested paths, subject to [human audit](../../../references/human-audit.md): `docs/design/codebase-audit.md` when a durable decision is needed.

## Verify

- Candidates have call-site evidence; the selected boundary states what complexity is hidden and how behavior is checked.

## References

- [engineering-principles.md](../../../references/engineering-principles.md) — shared decision boundaries, scope and verification.
- [human-audit.md](../../../references/human-audit.md) — document consent, readability and human review.
- [references/language.md](references/language.md) — glossary: module, interface, implementation, depth, seam, adapter, leverage, locality + principles (deletion test, interface is the test surface, one vs two adapters)
- [references/deepening.md](references/deepening.md) — dependency categories (in-process, local-substitutable, ports & adapters, mock), seam discipline, replace-don't-layer testing
- [references/html-report.md](references/html-report.md) — HTML scaffold, Tailwind/Mermaid via CDN, diagram patterns (mass, cross-section, call-graph collapse), tone and glossary usage
- [references/interface-design.md](references/interface-design.md) — interface design criteria: what an interface includes, depth, testability rules, comparing alternatives
- [references/design-it-twice.md](references/design-it-twice.md) — parallel sub-agent pattern for exploring alternative interfaces (Ousterhout's "Design It Twice")

Files in this skill

  • SKILL.md7.4 KB
  • agents/openai.yaml155 B
  • references/deepening.md2.5 KB
  • references/design-it-twice.md2.8 KB
  • references/html-report.md6.8 KB
  • references/interface-design.md2.6 KB
  • references/language.md5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.