⚙️ 自动化 社区
代码文档自动同步更新(发现 30+ 差异)
将 Cowork 指向源代码和文档目录,自动比对并更新文档,发现了开发者未注意到的 30 多处不一致
★★☆ 中级 30-60 min 2026年2月1日
📋
使用场景
项目文档长期未更新,与实际代码存在大量不一致。开发者将源代码和文档目录同时给 Cowork,要求自动同步。
💬
提示词
My project documentation is outdated. Please: 1. Compare the source code in /src with the documentation in /docs 2. Identify all discrepancies where the docs don't match the code 3. Update the documentation to accurately reflect the current codebase 4. List all changes made in a summary report
✨
预期结果
Cowork 对文档进行了全面修订,发现并修复了 30 多处差异,包括过时的 API 描述、缺失的参数说明和错误的示例代码。