improve-architecture

仓库创建 2026年2月2日最近提交 6 天前SkillHot 收录 1 小时前
▸ 精选理由

适合需要渐进改善代码形状、降低重构风险的工程团队与技术负责人。

这个 Skill 做什么

审计代码结构并提出优先级高的最小改进计划与决策记录,而非一次性重写。

▸ 展开 SKILL.md 英文原文

Audit an area of the codebase and propose the smallest structural moves that improve it - untangle boundaries, kill duplication, fix seams, break cycles. Produces a prioritized plan and decision records, not a rewrite. Use when a codebase feels tangled, hard to change, or is becoming a ball of mud, or when asked to improve or refactor architecture.

开发编程架构审计重构建议优先级计划通用
2.7k
Stars
257
Forks
40
仓库内 Skill
+55
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/rohitg00/pro-workflow/main/skills/improve-architecture/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/rohitg00/pro-workflow/main/skills/improve-architecture/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# improve-architecture

Invest in the shape of the system a little at a time rather than paying for a
rewrite later. This skill diagnoses and proposes; it does not rewrite on its own.

## Method

1. **Map first.** Get the current shape before judging it - entry points,
   modules, data flow, who calls whom. Reuse `module-map` for the one-screen
   view; do not skip to opinions.
2. **Find the strain.** Look for the load-bearing problems, not style nits:
   - God modules that everything imports and nothing can change safely.
   - Leaky boundaries - a module reaching into another's internals instead of
     its surface.
   - Duplicated logic that drifts (the same rule implemented three ways).
 
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有