跳到正文
FunCoding

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

  1. Read the library's version from this repository's lockfile or manifest (package.json, pyproject.toml, go.mod, Cargo.toml).
  2. 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.
  3. 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.
  4. Mention the doc section you relied on when the API choice is not obvious.

相似的 Skill

精选

domain-modeling

编写词汇表,记录架构决策,澄清术语歧义。

MAmattpocock/skills336k近 7 天新增 5,004 个 star

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