venthezone/pi-dots/context7-driven-development
Claude Code and agent skill by venthezone/pi-dots
- community
Checking that the SKILL.md file is still in the repository.
Use when implementing features or debugging issues that involve external libraries, frameworks, or APIs. Always verify with Context7 before writing code.
Install
npx vskill@latest install venthezone/pi-dots/context7-driven-developmentSKILL.md
The same SKILL.md was published earlier as venthezone/pi-dots/context7-driven-development.
Context7-Driven Development
Overview
Never assume you know the API. Always verify before writing code.
Tool Priority Order
Use tools in this order based on what's available locally:
1. Local Files (Fastest - use when code exists on disk)
Use when: Repo is cloned, you're working in a project, or files are in /tmp
2. Exa Web Search (For discovery & solutions)
Use when: Finding solutions, discovering repos, searching for error fixes, general web queries
3. Context7 (For official library documentation)
Use when: You need authoritative API docs for a known library
4. jcodemunch (For deep code analysis)
Use when: Complex cross-reference analysis, find dead code, symbol importance
When to Use
Use Context7-Driven Development when:
- Writing code that uses external libraries/frameworks
- Fixing bugs involving external code
- Integrating with third-party services
- Upgrading library versions
- Debugging library-specific errors
Core Workflow
Implementation Workflow
- Check Local First
- Is the code already on disk? Use
read/grep/find - If not, consider
exa_crawling_exato fetch the repo or docs page - Only then use Context7 for authoritative API docs
- Identify Dependencies
- Check package.json, Cargo.toml, imports
- List all external libraries being used
- Resolve Library IDs or Documentation Sources
- If Context7 tools are available, use:
`` context7_resolve-library-id(libraryName, query) ``
- Otherwise resolve the official docs source manually via project docs, web search, or package documentation
- Include version if known:
/org/project/v1.2.3
- Query Documentation
- If Context7 tools are available, use:
`` context7_query-docs(libraryId, "How to [specific operation]") ``
- Otherwise query the docs manually using your available search/documentation workflow
- Query BEFORE writing code
- Query AFTER writing code to verify
- Be specific: "How to authenticate with JWT in NextAuth.js" not "auth"
- Apply to Implementation
- Follow documentation patterns exactly
- Check version compatibility
- Note breaking changes
Debugging Workflow
- Reproduce & Isolate
- Understand error message
- Identify which library is involved
- Search for Solutions
- First:
exa_web_search_exafor error message + fix - Second:
context7_query-docsfor official troubleshooting - Third:
jcodemunch_find_referencesto see how project uses it
- Verify Fix
- Apply suggested fix
- Test thoroughly
- Check for related issues
Clone-and-Explore Pattern
For deep inspection of external repos:
Clean up after: rm -rf /tmp/repo
Query Best Practices
| Bad Query | Good Query | |
|---|---|---|
| "auth" | "How to authenticate users with JWT in Express.js" | |
| "hooks" | "React useEffect cleanup function examples" | |
| "database" | "How to connect to PostgreSQL with Prisma ORM" | |
| "error" | "Fix ECONNREFUSED in node-fetch retry logic" |
Red Flags - STOP and Query
- "I know how this works" → You don't. Query docs.
- "This is a common pattern" → Patterns change. Verify.
- "I've used this before" → Memory fails. Check docs.
- "The API is intuitive" → Assumptions cause bugs. Look it up.
- "I'll check after writing" → No. Query first. Always.
Verification Checklist
Before submitting code:
- [ ] Checked local files first (read/grep/find)
- [ ] Used Exa search for error messages or alternatives
- [ ] Resolved the correct library or docs source
- [ ] Queried Context7 if available, otherwise checked the official docs manually
- [ ] Followed documentation patterns exactly
- [ ] Checked version compatibility
- [ ] Verified again after implementation
Maximum Queries
- Exa search: use freely for discovery
- Context7: max 3 queries per question
- jcodemunch: index once, then query as needed
- If you still can't find what you need, note the uncertainty
Examples
Before (Hallucination Risk)
After (Docs-Driven)
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpi-dotfiles/skills/context7-driven-development/SKILL.md
Popularity
- Repository stars
- 42
- Repository forks
- 1
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/venthezone/pi-dots/context7-driven-development)