codebase-design

仓库创建 2026年7月6日最近提交 22 天前SkillHot 收录 22 天前
▸ 精选理由

把设计语言化,帮助做出可测试且可维护的模块化决定。

这个 Skill 做什么

提供设计深模块的共享词汇与原则,指导接口与重构决策。

提供一套描述深度模块设计的共同词汇和原则,帮助你决定模块接口、分层缝合点和可测性改造。在要设计或重构模块、提高可测试性或让代码更便于 AI 导航时使用。特别在于把复杂行为封装为小接口并强调可复用的设计术语,方便团队达成一致。

▸ 展开 SKILL.md 英文原文

Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.

开发编程模块设计接口抽象可测试性通用
0
Stars
0
Forks
38
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/K3639284/skills/main/skills/engineering/codebase-design/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/K3639284/skills/main/skills/engineering/codebase-design/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Codebase Design

Design **deep modules**: a lot of behaviour behind a small interface, placed at a clean seam, testable through that interface. Use this language and these principles wherever code is being designed or restructured. The aim is leverage for callers, locality for maintainers, and testability for everyone.

## Glossary

Use these terms exactly — don't substitute "component," "service," "API," or "boundary." Consistent language is the whole point.

**Module** — anything with an interface and an implementation. Deliberately scale-agnostic: a function, class, package, or tier-spanning slice. _Avoid_: unit, component, service.

**Interface** — everything a caller must know to use 
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有