improve-codebase-architecture

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

结合领域模型提出可测试性与 AI 可导航性的重构机会。

▸ 风险提示

会读取并分析整个代码库,注意私有信息暴露。

这个 Skill 做什么

扫描代码库发现架构摩擦点并生成可视化报告,辅以深入重构建议。

把代码库里那些让人调试、测试或理解困难的架构摩擦点扫一遍,输出成可浏览的 HTML 可视化报告,并针对某个点给出可行的“deepening”重构建议。当想提升可测试性或让 AI 更容易导航项目时用,先看报告再挑一项深入改造。特别之处是以项目域模型和统一的设计词汇为依据,能从宏观到可执行的重构点递进。

▸ 展开 SKILL.md 英文原文

Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

开发编程架构诊断深度重构HTML 报告通用
0
Stars
0
Forks
22
仓库内 Skill
积累中
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/octopus117/mattpocock-skills-adapt/main/skills/improve-codebase-architecture/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/octopus117/mattpocock-skills-adapt/main/skills/improve-codebase-architecture/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Improve Codebase Architecture

Surface architectural friction and propose **deepening opportunities** — refactors that turn shallow modules into deep ones. The aim is testability and AI-navigability.

This command is _informed_ by the project's domain model and built on a shared design vocabulary:

- Run the `/codebase-design` skill for the architecture vocabulary (**module**, **interface**, **depth**, **seam**, **adapter**, **leverage**, **locality**) and its principles (the deletion test, "the interface is the test surface", "one adapter = hypothetical seam, two = real"). Use these terms exactly in every suggestion — don't drift into "component," "service," "API," or "boundary."
- The do
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有