improve-codebase-architecture
Skill2 starsChanged 3 months agoNo licenceView on GitHub
发现架构摩擦并提出*深化改进的机会*——将浅层模块重构为深层模块。目标是提高可测试性和 AI 导航性。 此命令基于项目的领域模型,并采用共享的设计词汇表: 扫描前先确定范围——YAGNI(You Aign I Need It,你不需要它)。 深入理解一个模块有助于简化未来的修改,因此要格外关注代码库中最近发生过更改的部分。在查找之前,先确定查找*哪里*: 首先阅读项目的领域术语表(CONTEXT.md)以及你所接触领域的任何应用定义规则 (ADR)。 然后生成一个子代理来遍历代码库。不要遵循僵化的经验法则——要灵活探索,并记录遇到的阻力: 对任何你怀疑是浅层的模块应用*删除测试*:删除它会集中复杂性,还是仅仅转移复杂性?“是,集中复杂性”就是你想要的信号。 将一个独立的 HTML 文件写入操作系统临时目录,这样就不会有任何内容被上传到代码仓库。临时目录从 $TMPDIR 解析,如果解析失败则使用 /tmp(Windows 系统下为 %TEMP%),并将文件写入 <tmpdir>/architecture-review-<timestamp>.html,以便每次运行都生成一个新文件。用户可以通过 xdg-open <path>(Linux 系统)、open <path>(macOS 系统)或 start <path>(Windows…
195 other projects use a version of this.
Adopted by
Most recently taken up by
- bamlab/flashlighttheir own version, first seen Nov 16, 2026
- Robo-Co-op/robobuilder-standardtheir own version, first seen Nov 16, 2026
- lhotwll217/owner-operatortheir own version, first seen Nov 16, 2026
- bepaldes/heimdall-agenttheir own version, first seen Nov 16, 2026
- philoserf/claude-code-configtheir own version, first seen Nov 15, 2026
- geoffbremner/skillstheir own version, first seen Nov 15, 2026
Used with
Projects with it also use writing-beats, migrate-to-shoehorn and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
LesaniSkillwriting-beats
Shape an article as a journey of beats, choose-your-own-adventure style. The user picks a starting beat from the raw material, you write only that beat, then offer options for where to pivot next, beat by beat, until the article reaches a natural end. Use when the user has raw material and wants to assemble it as a narrative rather than an argument.
Also in 77 projects that use this
simo97Skillmigrate-to-shoehorn
Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data.
Also in 80 projects that use this
LesaniSkillwriting-shape
Take a markdown file of raw material and shape it into an article through a conversational session — drafting candidate openings, growing the piece paragraph by paragraph, arguing about format (lists, tables, callouts, quotes) at each step. Use when the user has a pile of notes, fragments, or a rough draft and wants help turning it into something publishable.
Also in 73 projects that use this
liufeng1976Skillsetup-ts-deep-modules
Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.
Also in 49 projects that use this
AnasX7Skillscaffold-exercises
Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.
Also in 77 projects that use this
simo97Skillrequest-refactor-plan
Use this skill when user wants to create a refactor plan.
Also in 44 projects that use this
- +1 more from Lesani
- +1 more from simo97
Other versions195 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 195
- mattpocock/skills★ 325ksame name
- danny-avila/LibreChat★ 47ksame name
- LibreChat-AI/LibreChat★ 47ksame name
- The-Vibe-Company/quivr★ 40ksame name
- QuivrHQ/quivr★ 40ksame name
- windmill-labs/windmill★ 19ksame name
- GreyDGL/PentestGPT★ 16ksame name
- humanlayer/humanlayer★ 13ksame name
- ArcReel/ArcReel★ 6.6ksame name
- sanity-io/sanity★ 6.4ksame name
185 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository9 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- code-reviewSkill
- diagnosing-bugsSkill
- frontend-designSkill
- karpathy-guidelines-installerSkill
- Mock-Interview-QuestionList-GenerationSkill
- Mock-InterviewSkill
- write-TRDSkill
The file
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

