Use BEFORE implementing, writing, configuring, or setting up ANY feature involving libraries, frameworks, or complex APIs - even before reading existing code. Fetches current documentation to ensure correct usage. Triggers on third-party libraries (such as react-query, FastAPI, Django, pytest), complex standard library modules (such as subprocess, streams, pathlib, logging), and "how to" questions about library usage. Do NOT use for trivial built-ins (such as dict.get, Array.map) or pure algorithms. Load this skill first to receive guidance on finding current documentation when implementing features, exploring code, or answering library-related questions.
Fetches current library documentation via a subagent before implementing any framework, library, or complex API features. Triggers on third-party libraries (react-query, FastAPI, Django), complex standard library modules, or "how to" questions about tool usage.
/plugin marketplace add asermax/claude-plugins/plugin install superpowers@asermax-pluginsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
test-cases.jsonYour training data is outdated. Current documentation is always more accurate.
When implementing features, answering questions, or debugging issues involving libraries/frameworks/tools, you MUST fetch current documentation using Context7 before writing code or making recommendations.
LLM training data becomes stale the moment training ends. Libraries evolve:
Never implement from memory. Always verify with current docs.
You MUST use documentation search when you encounter ANY of these:
Red flags that mean you're about to fail:
Why subagent instead of direct Context7:
How to dispatch:
Dispatch the documentation-searcher agent with the following information:
The agent will search Context7 documentation and provide a focused synthesis with:
After receiving subagent synthesis:
Never:
If you're thinking ANY of these, you're about to violate the skill:
The context math:
Never use "I have budget left" to justify waste.
Skip documentation search for:
But DO use documentation search for:
When in doubt: dispatch a subagent. The cost of a subagent search (2,000-5,000 tokens) is tiny compared to implementing wrong patterns from training data.
Why subagents are mandatory:
Context savings per search:
Across a session:
That's 48,000 tokens available for:
Before claiming you've implemented something correctly, verify:
If you have ANY uncertainty after receiving synthesis:
Never:
❌ "I know react-query uses useQuery, let me write this..."
✅ "Let me dispatch documentation-searcher agent to verify the current useQuery API..."
Why it fails: APIs change. Your memory is from training cutoff.
❌ "This is just one search, I'll use Context7 directly..."
✅ "Even one search saves 15,000 tokens. Always dispatch documentation-searcher agent."
Why it fails: "Just one" becomes "just one more" throughout the session. Context compounds.
❌ [Writes full implementation] "Let me check if this is right..."
✅ [Dispatches documentation-searcher agent first] "Now I'll implement using verified patterns..."
Why it fails: Fixing wrong code takes longer than writing correct code once.
With Test-Driven Development:
With Brainstorming:
With Debugging:
Before implementing ANYTHING involving a library/framework:
Critical rules:
This is not optional. This is mandatory.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.