working-with-claude-code
Use when working with Claude Code CLI, plugins, hooks, MCP servers, skills, configuration, or any Claude Code feature - provides comprehensive official documentation for all aspects of Claude Code
$ Installieren
git clone https://github.com/obra/superpowers-developing-for-claude-code /tmp/superpowers-developing-for-claude-code && cp -r /tmp/superpowers-developing-for-claude-code/skills/working-with-claude-code ~/.claude/skills/superpowers-developing-for-claude-code// tip: Run this command in your terminal to install the skill
name: working-with-claude-code description: Use when working with Claude Code CLI, plugins, hooks, MCP servers, skills, configuration, or any Claude Code feature - provides comprehensive official documentation for all aspects of Claude Code
Working with Claude Code
Overview
This skill provides complete, authoritative documentation for Claude Code directly from docs.claude.com. Instead of guessing about configuration paths, API structures, or feature capabilities, read the official docs stored in this skill's references directory.
When to Use
Use this skill when:
- Creating or configuring Claude Code plugins
- Setting up MCP servers
- Working with hooks (pre-commit, session-start, etc.)
- Writing or testing skills
- Configuring Claude Code settings
- Troubleshooting Claude Code issues
- Understanding CLI commands
- Setting up integrations (VS Code, JetBrains, etc.)
- Configuring networking, security, or enterprise features
Quick Reference
| Task | Read This File |
|---|---|
| Create a plugin | plugins.md then plugins-reference.md |
| Set up MCP server | mcp.md |
| Configure hooks | hooks.md then hooks-guide.md |
| Write a skill | skills.md |
| CLI commands | cli-reference.md |
| Troubleshoot issues | troubleshooting.md |
| General setup | setup.md or quickstart.md |
| Configuration options | settings.md |
Documentation Organization
All documentation is stored as individual markdown files in references/. Use the Read tool to access specific documentation:
references/
âââ overview.md # Claude Code introduction
âââ quickstart.md # Getting started guide
âââ setup.md # Installation and setup
âââ plugins.md # Plugin development
âââ plugins-reference.md # Plugin API reference
âââ plugin-marketplaces.md # Plugin marketplaces
âââ skills.md # Skill creation
âââ mcp.md # MCP server integration
âââ hooks.md # Hooks overview
âââ hooks-guide.md # Hooks implementation guide
âââ slash-commands.md # Slash command reference
âââ sub-agents.md # Subagent usage
âââ settings.md # Configuration reference
âââ cli-reference.md # CLI command reference
âââ common-workflows.md # Common usage patterns
âââ interactive-mode.md # Interactive mode guide
âââ headless.md # Headless mode guide
âââ output-styles.md # Output customization
âââ statusline.md # Status line configuration
âââ memory.md # Memory and context management
âââ checkpointing.md # Checkpointing feature
âââ analytics.md # Usage analytics
âââ costs.md # Cost tracking
âââ monitoring-usage.md # Usage monitoring
âââ data-usage.md # Data usage policies
âââ security.md # Security features
âââ iam.md # IAM integration
âââ network-config.md # Network configuration
âââ terminal-config.md # Terminal configuration
âââ model-config.md # Model configuration
âââ llm-gateway.md # LLM gateway setup
âââ amazon-bedrock.md # AWS Bedrock integration
âââ google-vertex-ai.md # Google Vertex AI integration
âââ vs-code.md # VS Code integration
âââ jetbrains.md # JetBrains integration
âââ devcontainer.md # Dev container support
âââ github-actions.md # GitHub Actions integration
âââ gitlab-ci-cd.md # GitLab CI/CD integration
âââ third-party-integrations.md # Other integrations
âââ legal-and-compliance.md # Legal information
âââ troubleshooting.md # Troubleshooting guide
âââ migration-guide.md # Migration guide
Workflow
For Specific Questions
- Identify the relevant documentation file from the list above
- Use Read tool to load:
@references/filename.md - Find the answer in the official documentation
- Apply the solution
Example:
User: "How do I create a Claude Code plugin?"
â Read @references/plugins.md
â Follow the official plugin creation steps
For Broad Topics
When exploring a topic, start with the overview document, then drill into specific files:
- Extending Claude Code: Start with
plugins.md,skills.md, ormcp.md - Configuration: Start with
settings.mdorsetup.md - Integrations: Check relevant integration file (vs-code.md, github-actions.md, etc.)
- Troubleshooting: Start with
troubleshooting.md
For Uncertain Topics
Use Grep tool to search across all documentation:
pattern: "search term"
path: ~/.claude/skills/working-with-claude-code/references/
Updating Documentation
The skill includes scripts/update_docs.js to fetch the latest documentation from docs.claude.com.
Run when:
- Documentation seems outdated
- New Claude Code features are released
- Official docs have been updated
node ~/.claude/skills/working-with-claude-code/scripts/update_docs.js
The script:
- Fetches llms.txt from docs.claude.com
- Extracts all Claude Code documentation URLs
- Downloads each page to
references/ - Reports success/failures
Common Patterns
Plugin Development
Read plugins.md for overview, then plugins-reference.md for API details.
MCP Server Setup
Read mcp.md for configuration format and examples.
Hook Configuration
Read hooks.md for overview, then hooks-guide.md for implementation details.
Skill Creation
Read skills.md for the complete skill authoring guide.
What This Skill Does NOT Do
- This skill provides documentation access, not procedural guidance
- For workflows on how to build plugins/skills, use the
extending-claude-codeskill (when available) - This skill is a reference library, not a tutorial
Red Flags
If you find yourself:
- Guessing about configuration file locations â Read
settings.md - Speculating about API structures â Read relevant reference doc
- Unsure about hook names â Read
hooks.md - Making assumptions about features â Search the docs first
Always consult the official documentation before guessing.
Repository
