Documentation-Accurate Code Generation — 文档级精准代码
v1.0.0在生成代码前先加载官方文档,校验 API 签名与参数,杜绝幻觉式错误,确保每一行代码都与真实接口保持一致。
详细分析 ▾
运行时依赖
版本
- Initial release of doc-accurate-codegen skill: generate code by referencing and validating against real documentation to prevent hallucination bugs. - Enforces a strict "docs-first" workflow for any code generation, API use, or configuration creation. - Always loads documentation, extracts actual API signatures, and validates generated code for accuracy. - Introduces tools for code generation, validation, doc lookup, and API extraction with full reference tracking. - Provides output templates and best practices for reliable, documentation-sourced code.
安装命令
点击复制本土化适配说明
Documentation-Accurate Code Generation — 文档级精准代码 安装说明: 安装命令:npx clawhub@latest install doc-accurate-codegen 支持国内镜像加速,使用 --registry https://cn.longxiaskill.com 参数可加速下载