
docs-discovery
Technical documentation discovery via context7 and web search. Capabilities: library/framework docs lookup, topic-specific search. Keywords: llms.txt, context7, documentation, library docs, API docs. Use when: searching library documentation, finding framework guides, looking up API references.
- Installs
- 41
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/samhvw8/dotfiles --skill docs-discovery- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads docs-discovery automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Documentation Discovery
Mission: Find official library/framework documentation quickly.
Strategy
Step 1: Try context7 First
mcp__context7__resolve-library-id("{library}")
→ Success? → mcp__context7__get-library-docs("{id}", topic="{topic}")
→ Fail? → Step 2
Step 2: Search for Documentation URLs
If context7 fails, run these searches in parallel:
WebSearch: "{library} llms.txt"
WebSearch: "{library} official documentation"
Step 3: Fetch Found URLs
WebFetch the URLs found from Step 2:
- llms.txt links → fetch and parse
- Documentation pages → fetch and extract content
Workflow Summary
1. context7 (fast, curated)
↓ fail
2. WebSearch (parallel):
- "{library} llms.txt"
- "{library} official documentation"
↓ found URLs
3. WebFetch found URLs
↓ content
4. Parse & present to user
Tools
| Step | Tool | Purpose |
|---|---|---|
| 1 | mcp__context7__resolve-library-id | Get context7 library ID |
| 1 | mcp__context7__get-library-docs | Fetch docs from context7 |
| 2 | WebSearch | Search for llms.txt and docs URLs |
| 3 | WebFetch | Fetch documentation content |
Key Rules
- context7 first - Fastest, already curated
- Search, don't guess - Don't guess URL patterns, search for them
- Parallel search - Run multiple WebSearch queries together
- Topic filtering - Use topic param in context7, filter search results by topic
FAQ
What does the docs-discovery skill do?
Technical documentation discovery via context7 and web search. Capabilities: library/framework docs lookup, topic-specific search. Keywords: llms.txt, context7, documentation, library docs, API docs. Use when: searching library documentation, finding framework guides, looking up API references.
How do I install docs-discovery?
Run npx skills add https://github.com/samhvw8/dotfiles --skill docs-discovery in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/docs-discovery/ (personal) or .claude/skills/docs-discovery/ (project).
Which AI agents can use docs-discovery?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is docs-discovery safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains docs-discovery?
It is published by samhvw8 in samhvw8/dotfiles. It has 41 recorded installs.
More from samhvw8/dotfiles
code-quality
samhvw8/dotfiles
Review, refactor, and debug code with verification before claiming done. Use when responding to review feedback, requesting a review, refactoring or reducing technical debt, root-causing a bug or failing test, or checking work before a merge, commit, or completion claim.
frontend-development
samhvw8/dotfiles
Open the skill to read its SKILL.md instructions.
3d-graphics
samhvw8/dotfiles
Open the skill to read its SKILL.md instructions.
github-search
samhvw8/dotfiles
Search GitHub with the gh CLI: find repositories, code, and issues/PRs, and see how open-source projects use a library. Use when looking for repos, usage examples, or reported bugs and workarounds on GitHub.
Popular docs & writing skills
grill-with-docs
mattpocock/skills
A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.
lark-markdown
open.feishu.cn
飞书 Markdown:查看、创建、上传、编辑和比较飞书中的原生 Markdown 文件。当用户要操作飞书 Markdown 文件,或比较其远端版本及本地草稿时使用。纯本地 Markdown 文件操作不触发本 skill。不负责将 Markdown 导入为飞书在线文档,也不负责文件搜索、权限、评论、移动、删除等云空间管理操作。
writing-beats
mattpocock/skills
Writing, exploit; assemble raw material into a journey of beats, grounding each term before a beat leans on it.
writing-shape
mattpocock/skills
Writing, exploit: shape raw material into an article, paragraph by paragraph.
writing-fragments
mattpocock/skills
Writing, explore: mine raw fragments, no structure yet.
writing-for-agents
mattpocock/skills
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.