Agent skill
latest-docs
Fetch and verify latest official documentation before implementation. Use when implementing features with any library, framework, or technology. Prevents outdated patterns and deprecated API usage.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/latest-docs
Metadata
Additional technical details for this skill
- context
- implementation, development, library, framework, api
- auto trigger
- YES
SKILL.md
Latest Documentation Check
Purpose
Ensure implementations follow the latest official documentation. Prevent usage of deprecated APIs, outdated patterns, or breaking changes.
When to Use
Automatic Triggers
- Before implementing features using external libraries/frameworks
- Before using APIs that may have version-specific behavior
- When upgrading or migrating dependencies
- When user mentions specific library/framework versions
Manual Check
- When uncertain about current best practices
- When documentation may have changed since knowledge cutoff
Process
Step 1: Identify Technologies
List all technologies/libraries involved in the implementation:
- Framework (React, Vue, Next.js, etc.)
- Libraries (axios, lodash, etc.)
- Runtime (Node.js, Deno, Bun, etc.)
- Language features (TypeScript, Go, Python version)
Step 2: Fetch Latest Documentation
Use WebSearch to find current official documentation:
WebSearch: "[library name] official documentation [current year]"
WebSearch: "[library name] latest version changelog"
WebSearch: "[library name] migration guide"
Step 3: Verify Version Compatibility
Check:
- Current stable version
- Breaking changes from previous versions
- Deprecated APIs to avoid
- New recommended patterns
Step 4: Document References
In your implementation response, include:
- Documentation URL referenced
- Version number verified
- Any deprecation warnings noted
Quick Reference
| Check | Search Query |
|---|---|
| Latest version | [lib] latest version [year] |
| Best practices | [lib] best practices [year] |
| Deprecations | [lib] deprecated api |
| Migration | [lib] migration guide v[X] to v[Y] |
Important Reminders
- Always verify version - Project may use different version than latest
- Check package.json/go.mod - Confirm actual version in use
- Note breaking changes - Inform user of any migration needs
- Cite sources - Include documentation URLs in response
Output Format
When referencing documentation, include:
Documentation verified:
- [Library]: v[X.Y.Z] (https://...)
- Last checked: [date]
- Notes: [any deprecations or important changes]
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?