본문으로 건너뛰기
cccskills
무료GitHub에 공개

docs

Router for the /docs command. Look up Claude documentation, ask plain-English questions, generate interactive courses and HTML changelog reports, check freshness, and sync the local cache. Dispatches to the claude-docs, claude-docs-validate, claude-docs-course, and claude-docs-changelog skills.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.7 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Claude Code Documentation — /docs router

You are a documentation assistant. Route the user's request to the appropriate skill.

Auto-discovery (answering Claude/API/SDK questions without a /docs prefix) is handled by the claude-docs skill on its own. This skill is the explicit /docs entry point: it only runs when the user types /docs …, then dispatches based on $ARGUMENTS.

Documentation Location

The clone at ~/.claude-code-docs/ holds only metadata — paths_manifest.json (the page index) and search_index.json — plus the plugin. The actual .md pages are fetched from Anthropic's servers into a local cache at ~/.claude-code-docs/cache/ (override with $CLAUDE_DOCS_CACHE_DIR). Missing pages are fetched on demand via plugin/scripts/fetch-docs.sh get <filename>.

If ~/.claude-code-docs/paths_manifest.json doesn't exist, inform the user:

Documentation not found. Set up with:

/plugin marketplace add costiash/claude-code-docs
/plugin install claude-docs@claude-code-docs

Then restart Claude Code so the SessionStart hook can clone the metadata and sync the cache.

Routing

Analyze $ARGUMENTS and route:

No arguments / help (empty, --help, -h, help): → Show brief usage:

/docs <topic> — Look up documentation (e.g., /docs hooks, /docs agent sdk python) /docs --course <topic> — Generate an interactive HTML course on a topic /docs --report — Generate an HTML changelog of recent doc changes (with course buttons) /docs -t — Check documentation freshness /docs sync — Fetch any missing/changed pages into the local cache now /docs what's new — Show recent documentation changes /docs <question> — Ask a question about Claude (e.g., /docs how do I configure MCP?)

Freshness check (-t, --check, --freshness, or user asks about freshness/health/validation): → Use the claude-docs-validate skill to check doc health and freshness.

What's new (what's new, recent changes, updates): → Run: ~/.claude-code-docs/plugin/scripts/manifest-diff.sh --since 7d → Present the Added / Changed / Removed pages naturally (title + category).

Sync (sync, update cache, fetch): → Run: ~/.claude-code-docs/plugin/scripts/fetch-docs.sh sync → Report how many pages were fetched (or that the cache was already up to date).

Changelog report (--report, --report <timeframe>, changelog, docs report): → Use the claude-docs-changelog skill to generate an interactive HTML changelog report with course generation buttons.

Stats (--stats, stats, count): → Total pages: jq '.pages | length' ~/.claude-code-docs/paths_manifest.json → By category: jq -r '.pages[].category' ~/.claude-code-docs/paths_manifest.json | sort | uniq -c | sort -rn → Report the total and the per-category breakdown.

Uninstall (uninstall): → Tell the user: /plugin uninstall claude-docs@claude-code-docs → Optionally clean up the clone and cache: rm -rf ~/.claude-code-docs (this also removes ~/.claude-code-docs/cache/ and any generated courses).

Course generation (--course <topic>, course <topic>): → Use the claude-docs-course skill to generate an interactive HTML course on the given topic.

Everything else (topic lookups, questions, searches): → Use the claude-docs skill to find and present documentation.

User's Request

The user requested: $ARGUMENTS

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Search and read locally-stored Claude documentation covering Claude Code CLI, Claude API (Messages, tool use, vision, streaming, batch), Agent SDK (Python and TypeScript), prompt engineering, and all Anthropic platform docs. Use this skill whenever the user asks about Claude Code features (hooks, MCP servers, skills, plugins, settings, permissions, keybindings, sub-agents), the Anthropic API or any of its SDKs (Python, TypeScript, Go, Java), the Agent SDK (sessions, hooks, custom tools, MCP), model capabilities (context windows, extended thinking, pricing, rate limits, vision), prompt engineering best practices, or troubleshooting any Claude-related error. This skill provides instant access to official documentation files without web searches — always prefer it over web lookups for Claude and Anthropic topics.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

costiash/claude-code-docs552026년 10월 19일 업데이트

Generate a self-contained HTML changelog report showing recent documentation changes with interactive course generation buttons. Use this skill when the user asks for a docs changelog, documentation report, what changed recently, recent doc updates as a report, or runs `/docs --report`. Discovers changes via git history, categorizes them, summarizes what's new, and produces a stunning Obsidian & Amber themed HTML report where each entry has a "Create Course" button that copies the course command to clipboard.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

costiash/claude-code-docs552026년 10월 19일 업데이트

Generate an interactive, self-contained HTML course on any Claude documentation topic. Use this skill when the user wants to create an interactive course, tutorial, or deep-dive walkthrough about a Claude feature, API concept, SDK pattern, or prompt engineering technique. Triggers on: "create a course about", "interactive tutorial for", "teach me about X interactively", "make a course on", "I'd like a course", "/docs --course", "/docs course", or when the user accepts the post-docs course prompt. Produces a stunning single-page HTML file with scroll-based navigation, animated visualizations, quizzes, and code translations drawn from official Claude documentation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

costiash/claude-code-docs552026년 10월 19일 업데이트

Check the health and freshness of locally-stored Claude documentation. Use this skill when the user asks about documentation health, broken links, stale docs, freshness checks, or wants to validate that their local install is up-to-date and all URLs are reachable. Triggers on: "are my docs current", "check doc health", "validate documentation", "broken links", "stale docs".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

costiash/claude-code-docs552026년 10월 19일 업데이트

costiash의 스킬 모두 보기

이 스킬의 문제 신고