Use when understanding external libraries, frameworks, or dependencies - provides workflows for finding and reading official documentation via Context7 instead of web search or source code reading
/plugin marketplace add ether-moon/skill-set/plugin install skill-set@skill-setThis skill inherits all available tools. When active, it can use any tool Claude has access to.
reference/anti-patterns.mdreference/tools.mdreference/workflows.mdCore principle: Use official documentation (Context7) to understand external libraries and frameworks instead of web search or reading source code.
This skill provides structured workflows for finding authoritative, version-specific documentation for external dependencies.
Use this skill when:
Don't use for:
Primary tool: Context7 provides authoritative, version-specific documentation for external libraries.
# Step 1: Find library ID
resolve-library-id "library-name"
# Step 2: Get documentation
get-library-docs context7CompatibleLibraryID="/org/project"
When searching for library documentation, try multiple variations:
"importmap-rails""rails import maps""rails/importmap""importmap"Important: Try 2+ variations before using WebSearch. Context7 has official, version-specific documentation. WebSearch gives you blog posts and outdated StackOverflow.
Understanding External Library:
1. resolve-library-id "library-name"
- If not found: try variations (framework + concept, org/repo, base name)
- Try 2+ variations before giving up
2. get-library-docs context7CompatibleLibraryID="/org/project"
3. Read and understand official patterns, APIs, and concepts
4. Apply understanding to project usage
Example:
User: "Help me understand how importmap works and how to add a new library"
You:
1. resolve-library-id "importmap-rails"
- If not found: try "rails/importmap", "rails import maps", "importmap"
2. get-library-docs context7CompatibleLibraryID="/rails/importmap"
3. Understand: import maps spec, pin vs pin_all_from, CDN vs vendor
4. Explain concepts and how to add a new library based on official docs
If you catch yourself doing ANY of these, STOP and start over:
All of these mean: STOP. Try Context7 with multiple search variations first.
Common mistakes:
| Mistake | Fix |
|---|---|
| WebSearch first | Use Context7 with multiple search term variations |
| One search term only | Try 2+ variations (exact name, framework+concept, org/repo, base name) |
| Reading source code | Check Context7 official docs first |
| Assuming library behavior | Official docs explain intent, best practices, and gotchas |
Why Context7 over WebSearch:
Find library documentation:
resolve-library-id "library-name"
get-library-docs context7CompatibleLibraryID="/org/project"
Search term variations to try:
"package-name""framework concept""org/repo""basename"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 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 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.