codebase-design
仓库创建 2026年7月27日最近提交 1 天前SkillHot 收录 1 天前
▸ 精选理由
强调小接口、大行为和可测性,帮团队统一设计语言。
这个 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
22
仓库内 Skill
积累中
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/octopus117/mattpocock-skills-adapt/main/skills/codebase-design/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/octopus117/mattpocock-skills-adapt/main/skills/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 公开信息 · 原文版权归作者所有