一键导入
fetch-docs
Fetch framework documentation when uncertain about APIs. Use when you need up-to-date docs for approved frameworks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Fetch framework documentation when uncertain about APIs. Use when you need up-to-date docs for approved frameworks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | fetch-docs |
| description | Fetch framework documentation when uncertain about APIs. Use when you need up-to-date docs for approved frameworks. |
| user-invocable | true |
| argument-hint | <framework-or-query> |
Fetch up-to-date framework documentation for approved libraries.
To look up documentation for an approved framework:
frameworks skill Quick Reference tableFetch documentation for a known library on a specific topic.
Required: Library doc ID (from frameworks skill) and a query describing what you need.
mcp__context7__query-docs(libraryId="<doc-id>", query="<topic>")
Example:
mcp__context7__query-docs(libraryId="/pydantic/pydantic", query="field validators")
Find the doc ID for a library by name. Use when adding a new framework or when the doc ID is unknown.
mcp__context7__resolve-library-id(libraryName="<name>", query="<name> documentation")
Example:
mcp__context7__resolve-library-id(libraryName="httpx", query="httpx documentation")
| Situation | Action |
|---|---|
| Uncertain about an API for an approved framework | Query docs using its doc ID |
Adding a new framework (/add-framework) | Resolve library ID first, then query docs |
| Need usage examples for a library feature | Query docs with specific topic |
frameworks skill Quick Reference tableWebSearchThis skill currently uses Context7 MCP as its documentation provider. The doc IDs in the frameworks skill table (e.g., /pydantic/pydantic) are Context7-specific identifiers. To swap providers, update both:
frameworks/SKILL.md — replace all Doc ID values with the new provider's identifiersGoogle-style docstring conventions for Python code. Apply when writing or reviewing functions, classes, or modules that need documentation.
Python naming conventions for this codebase. Apply when writing or reviewing Python code including functions, classes, variables, and constants.
Python type hint conventions for this codebase. Apply when writing or reviewing Python code that needs type annotations on functions, classes, or variables.
Essential Pythonic idioms and conventions. Apply when writing or reviewing Python code to ensure idiomatic patterns like comprehensions, built-in functions, context managers, and unpacking.
Python code organization conventions for this codebase. Apply when structuring modules, organizing imports, designing file layouts, or moving functions/classes within or between files. Use PROACTIVELY when users request to check code organization, move code, or clean up and reorganize a module.
Refactoring complex functions into smaller, pure helper functions. Apply when function complexity is exceeded or when extracting helper functions during refactoring. If tasked with fixing ruff lint errors related to complexity, ALWAYS trigger this skill.