请问 HN:如何让一个单体仓库为 AI 做好准备?

1作者: kasnaka大约 2 个月前
组织正在推动 AI 就绪!我们运行着一个相当大的单体代码库,其中一部分是一个共享的 Web 平台。 我们的团队正在努力应对其他团队对上述 Web 平台的贡献,他们认为这是尝试其新 AI 工具的完美代码。 到目前为止,我们的想法是,在这种情况下,AI 就绪与 Human 就绪相同。 也就是说,使代码库易于理解、结构化、清理任何仍然存在的旧模式等。 此外,还要添加 ClAUDE.md 文件来描述正确的模式。 但是,除了“常规”的,查看代码并清理它之外,是否有任何工具或更智能的方法,使我们的代码库更容易供其他人贡献,考虑到现在可用的新工具?
查看原文
The org is pushing for AI-readiness! We run a fairly large monorepo, part of that is a shared web-platform.<p>Our team is struggling with the inbound contributions to said web-platform from other teams seeing it as the perfect code to try out their new AI-tools on.<p>Our idea so far is that AI-Ready in this case is the same as Human-Ready. I.e. make the codebase understandable, structured, clean up any old patterns still lying around etc. With the additional of adding ClAUDE.md files describing correct patterns.<p>However, besides the &quot;regular&quot;, look at shit and clean it, is there any tools, or smarter ways to make our codebase easier for other to contribute to given the new tools avaialable?