Claude docs
A set of zsh, git, bash, Claude and tmux configuration files
npx -y skills add ccronca/dotfiles --skill claude-docsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Consult official Claude Code documentation from docs.claude.com using selective fetching. Use this skill when working on Claude Code hooks, skills, subagents, MCP servers, or any Claude Code feature that requires referencing official documentation for accurate implementation. Fetches only the specific documentation needed rather than loading all docs upfront.
SKILL.md
4.2 KB, as published. Nobody here has run it
Claude Docs
Overview
This skill enables efficient consultation of official Claude Code documentation by fetching only the specific docs needed for the current task.
When to Use This Skill
Invoke this skill when:
- Creating or modifying Claude Code hooks
- Building or debugging skills
- Working with subagents or understanding subagent parameters
- Implementing MCP server integrations
- Understanding any Claude Code feature that requires official documentation
- Troubleshooting Claude Code functionality
- Verifying correct API usage or parameters
Common Documentation
For the most frequently referenced topics, fetch these detailed documentation files directly:
Hooks Documentation
-
hooks-guide.md - Guide to creating hooks with examples and best practices
- URL:
https://code.claude.com/docs/en/hooks-guide.md - Use for: Understanding hook lifecycle, creating new hooks, examples
- URL:
-
hooks.md - Hooks API reference with event types and parameters
- URL:
https://code.claude.com/docs/en/hooks.md - Use for: Hook event reference, available events, parameter details
- URL:
Skills Documentation
- skills.md - Skills creation guide and structure reference
- URL:
https://code.claude.com/docs/en/skills.md - Use for: Creating skills, understanding SKILL.md format, bundled resources
- URL:
Subagents Documentation
- sub-agents.md - Subagent types, parameters, and usage
- URL:
https://code.claude.com/docs/en/sub-agents.md - Use for: Available subagent types, when to use Task tool, subagent parameters
- URL:
Workflow for Selective Fetching
Follow this process to efficiently fetch documentation:
Step 1: Identify Documentation Needs
Determine which documentation is needed based on the task:
- Hook-related task → Fetch
hooks-guide.mdand/orhooks.md - Skill-related task → Fetch
skills.md - Subagent-related task → Fetch
sub-agents.md - Other Claude Code feature → Proceed to Step 2
Step 2: Discover Available Documentation (If Needed)
For features not covered by the 4 common docs above, fetch the docs map to discover available documentation:
URL: https://code.claude.com/docs/en/claude_code_docs_map.md
The docs map lists all available Claude Code documentation with descriptions. Identify the relevant doc(s) from the map.
Step 3: Fetch Only Relevant Documentation
Use WebFetch to retrieve only the specific documentation needed:
WebFetch:
url: https://code.claude.com/docs/en/[doc-name].md
prompt: "Extract the full documentation content"
Fetch multiple docs in parallel if the task requires information from several sources.
Step 4: Apply Documentation to Task
Use the fetched documentation to:
- Verify correct API usage
- Understand available parameters and options
- Follow best practices and examples
- Implement the feature correctly
Examples
Creating a hook:
- Fetch
hooks-guide.mdfor creation process and examples - Fetch
hooks.mdfor event reference - Create hook with correct parameters
Debugging a skill:
- Fetch
skills.mdfor SKILL.md format requirements - Validate frontmatter and structure
Using subagents:
- Fetch
sub-agents.mdfor subagent types and capabilities - Select appropriate subagent
Unknown feature (e.g., settings.json):
- Fetch docs map:
claude_code_docs_map.md - Identify relevant doc (e.g.,
settings.md) - Fetch specific doc and apply
Best Practices
- Fetch only the documentation needed for the current task
- Fetch multiple docs in parallel when needed
- Always fetch from docs.claude.com for latest information
- Use docs map for discovery when common docs don't cover the need
Attribution
Based on the claude-docs-consultant skill by centminmod.