current-docs
Fetch current, version-specific documentation for a library before writing or fixing code that uses it, so the code follows today's API rather than a remembered one. Use when working with any third-party library or framework, especially after a major version change or when an API call fails.
- Star
- 961
- 分类
- 写作与翻译
- 许可证
- Apache-2.0
- 最近提交
- 2026年11月30日
catalog/plugins/context7/skills/current-docs/SKILL.md
在 GitHub 上查看Use current library docs
- Read the library's version from this repository's lockfile or manifest (package.json, pyproject.toml, go.mod, Cargo.toml).
- Resolve the library to its Context7 ID, then fetch docs for the topic at hand (for example "routing", "middleware" or "auth"), at that version when it is available.
- Write code against what the docs say. Where they differ from existing code in the repository, follow the repository unless the user wants to migrate.
- Mention the doc section you relied on when the API choice is not obvious.
相似的 Skill
精选
writing-fragments
MAmattpocock/skills336k近 7 天新增 5,004 个 star
writing-shape
MAmattpocock/skills336k近 7 天新增 5,004 个 star
writing-beats
MAmattpocock/skills336k近 7 天新增 5,004 个 star
perfect-docs
MAmattpocock/skills336k近 7 天新增 5,004 个 star
writing-skills
OBobra/superpowers331k近 7 天新增 5,757 个 star