deep-module-refactor
仓库创建 2025年6月22日最近提交 1 天前SkillHot 收录 20 天前
▸ 精选理由
聚焦提升可测试性与模块深度,适合需重构大型代码库的团队。
这个 Skill 做什么
分析代码库,识别架构摩擦并建议深度模块化的重构方案。
把代码库当成整体来审视,找出模块耦合、接口臃肿或难测的地方,并给出把浅模块改成更“深”的模块化重构方案。需要改进架构、提高可测性、减少跨模块摩擦或让代码更容易被 AI/人理解时用。特别关注 John Ousterhout 的 deep module 思路,会产出具体的重构建议和可跟踪的 RFC/Issue 列表。
▸ 展开 SKILL.md 英文原文
Explore a codebase to find opportunities for architectural improvement, focusing on making the codebase more testable by deepening shallow modules. Use when user wants to improve architecture, find refactoring opportunities, consolidate tightly-coupled modules, or make a codebase more AI-navigable.
4.4k
Stars
448
Forks
40
仓库内 Skill
+70
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/zebbern/claude-code-guide/main/skills/deep-module-refactor/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/zebbern/claude-code-guide/main/skills/deep-module-refactor/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Improve Codebase Architecture Explore a codebase like an AI would, surface architectural friction, discover opportunities for improving testability, and propose module-deepening refactors as GitHub issue RFCs. A **deep module** (John Ousterhout, "A Philosophy of Software Design") has a small interface hiding a large implementation. Deep modules are more testable, more AI-navigable, and let you test at the boundary instead of inside. ## Process ### 1. Explore the codebase Use the Agent tool with subagent_type=Explore to navigate the codebase naturally. Do NOT follow rigid heuristics — explore organically and note where you experience friction: - Where does understanding one concept re
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有