m.okjike.com

事实上,Codepilot 这种大型代码库 Vibe Coding 非常依赖于文档。 自从 Claude Code 的 Plan 模式废掉以后,我连计划写的都是计划文档,整个文档体系的复杂度和... (opens in new tab)

事实上,Codepilot 这种大型代码库 Vibe Coding 非常依赖于文档。自从 Claude Code 的 Plan 模式废掉以后,我连计划写的都是计划文档,整个文档体系的复杂度和占代码的比例都在快速大幅上升。所以,文档体系的管理,以及 AI 和人协作下的文档梳理,在整个大型代码库中其实是非常重要的。我让 Codex 分析了一下 CodePilot 目前的文档体系,以及它跟代码之间的关系。目前 CodePilot 里面有 26 万行代码和 5.6 万行文档,文档占代码的比例大约是 21%。说一个事实:从 CodePilot 的第一个版本到现在,我没有动过一行代码,因为现在确实看不懂了。但目前基本上所有已知的 bug 我都能修复,所有想要实现的能力也都能实现。这是当前 Vibe Coding 我自己的一个实践,也是我自己的一个上限。整个重构本来预期是两周,但实际持续了超过一个月零三周。

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help