首页/AI 开发工具与流程/working-with-claude-code
W

working-with-claude-code

by @obrav
4.0(120)

此技能提供 Claude Code 官方文档,涵盖 CLI、插件、钩子、MCP 服务器、技能、配置等所有方面。无需猜测,直接获取权威、全面的最新信息,助您高效开发和排查问题。

claude-codedocumentationclipluginsconfigurationGitHub
安装方式
npx skills add https://github.com/obra/superpowers-developing-for-claude-code --skill working-with-claude-code
compare_arrows

Before / After 效果对比

1 组
使用前

在没有此技能时,开发者需要花费大量时间在网络上搜索 Claude Code 的各种配置、API 结构或功能说明,信息可能分散、过时或不准确,导致开发效率低下,问题排查困难。

使用后

借助此技能,开发者可以即时访问 Claude Code 的完整官方文档,无论是插件开发、MCP 服务器设置还是故障排除,都能迅速找到权威信息,大幅提升开发效率和问题解决速度。

SKILL.md

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

TaskRead This File
Create a pluginplugins.md then plugins-reference.md
Set up MCP servermcp.md
Configure hookshooks.md then hooks-guide.md
Write a skillskills.md
CLI commandscli-reference.md
Troubleshoot issuestroubleshooting.md
General setupsetup.md or quickstart.md
Configuration optionssettings.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

  1. Identify the relevant documentation file from the list above
  2. Use Read tool to load: @references/filename.md
  3. Find the answer in the official documentation
  4. 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, or mcp.md
  • Configuration: Start with settings.md or setup.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:

  1. Fetches llms.txt from docs.claude.com
  2. Extracts all Claude Code documentation URLs
  3. Downloads each page to references/
  4. 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-code skill (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.

用户评价 (0)

发表评价

效果
易用性
文档
兼容性

暂无评价

统计数据

安装量62
评分4.0 / 5.0
版本
更新日期2026年5月31日
对比案例1 组

用户评分

4.0(120)
5
37%
4
43%
3
13%
2
5%
1
2%

为此 Skill 评分

0.0

兼容平台

🤖claude-code

时间线

创建2026年5月4日
最后更新2026年5月31日
🎁 Agent 知识卡片
调研问卷