developer-docs
它能做什么
这个技能引导 AI 在回答或编写代码之前,查阅库、框架或 API 的官方文档。适合希望建议与自己所用版本相匹配的开发者。
适用场景
- ✓当你询问某个软件库、框架或 API 如何运作的时候。
- ✓当你的代码依赖于在不同版本之间发生过变化的行为的时候。
- ✓当你希望对照官方参考资料检查某项代码改动的时候。
技能链接
https://github.com/odysseus-dev/odysseus/blob/dev/resources/skills/dev/developer-docs/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我们使用的 Next.js 版本中,怎样使用新的路由功能?请先查看官方文档。”
每周 5 个新技能,1 分钟读完。
工作原理
AI 确定确切的产品和版本,找到主要文档,并阅读相关章节。它把所得应用到你的代码中,并注明任何关于版本的假设。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
When to Use
Use when the user asks how a library, framework, API, protocol, CLI, or SDK works, or when implementation depends on version-specific behavior. Prefer this skill over guessing from memory.
Procedure
- Identify the exact product, package, version, and task. Ask one focused clarification only when the target is genuinely ambiguous.
- Prefer the vendor's or project's primary documentation, source repository, release notes, and API reference. Use a general search only to locate those sources.
- Read the relevant page or reference section, then apply the documented behavior to the user's codebase and active workspace.
- Separate documented facts from inference, and call out version or environment assumptions.
- For code changes, add a focused regression test for the documented contract and run it before reporting completion.
Pitfalls
- Do not present search snippets, stale cached knowledge, or a third-party tutorial as authoritative when primary documentation is available.
- Do not silently mix instructions from different major versions.
- Do not claim an API or option exists without confirming it in the relevant reference.
- Do not use web search for a local project task when the active workspace and local tools can answer it.
Verification
- The cited or retrieved documentation matches the target version.
- The implementation or answer distinguishes source-backed facts from inference.
- Any code change has a focused test or a concrete verification command.
常见问题
它会依赖记忆吗?
该技能说明,应优先使用官方文档;当存在主要文档时,不应把搜索摘录当作权威来源。
如果版本不明确怎么办?
当目标确实不明确时,它会提出一个有针对性的问题。
它会测试代码改动吗?
对于代码改动,该技能会为文档中记载的行为添加一个有针对性的回归测试,并运行它。
详情
作者的原始描述
Find, read, and apply authoritative developer documentation during implementation
repo: odysseus-dev/odysseus
热度
- GitHub 星标
- 95k
- 排名
- #1314
- 许可证
- AGPL-3.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
odysseus
95k让你的智能体通过限定范围的令牌,读取并更新你的 Odysseus 数据,例如待办事项、邮件、日历、记忆和文档。
odysseus
95k让你的智能体通过 Codex Agent 令牌,读取并更新你的 Odysseus 数据,例如待办事项、邮件、日历、记忆和文档。
artifact-completion
95k帮你的智能体尽早产出所需的文件或文档,根据实际输出进行完善,并在宣布完成前进行检查。
terminal-recovery
95k帮你的智能体从失败的终端命令中恢复,读取错误信息,找出可能的原因,并尝试一次有针对性的修复。