Generate a Claude Code skill from cached documentation for version-specific expertise
Generates Claude Code skills from cached documentation for version-specific expertise and guidance.
/plugin marketplace add squirrelsoft-dev/doc-fetcher/plugin install doc-fetcher@squirrelsoft-dev-tools<library> [version] [--template <template-name>] [--output <path>]Create a Claude Code skill from cached documentation in ~/.claude/docs, enabling version-specific expertise and accurate AI guidance. Skills are saved to ~/.claude/skills.
pwdWhen the user invokes this command, follow these steps:
$ARGUMENTS
--template <name>: Skill template to use (default: "expert")--output <path>: Custom output path for the skill1.5. INSTALL DEPENDENCIES: If ~/.claude/plugins/cache/doc-fetcher/node_modules doesn't exist then execute cd ~/.claude/plugins/cache/doc-fetcher && npm install after installation change the directory back to the project workspace root.
Run Generate Skill Command:
node ~/.claude/plugins/cache/doc-fetcher/scripts/generate-skill.js $ARGUMENTS~/.claude/docs/[library]/[version]/~/.claude/skills/[library]-[version]-[template]/Handle Results:
Error Handling:
/fetch-docs [library] to cache docs firstNext Steps:
~/.claude/plugins/cache/doc-fetcher/~/.claude/docs and skills in ~/.claude/skills--template to customize skill focus (expert, quick-reference, troubleshooter, etc.)