跳到正文
Skillpedia
通用编程95k · #1314

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/odysseus-dev/odysseus/blob/dev/resources/skills/dev/developer-docs/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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

  1. Identify the exact product, package, version, and task. Ask one focused clarification only when the target is genuinely ambiguous.
  2. 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.
  3. Read the relevant page or reference section, then apply the documented behavior to the user's codebase and active workspace.
  4. Separate documented facts from inference, and call out version or environment assumptions.
  5. 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能