跳到正文
cccskills
免费在 GitHub 公开

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

中文简介正在准备中。当前显示原文说明。

集成工具GitLab
查看安装方法

包含的文件(44)

  • SKILL.md6.3 KB
  • references/amazon-bedrock.md8.3 KB
  • references/analytics.md2.4 KB
  • references/checkpointing.md2.8 KB
  • references/cli-reference.md9.9 KB
  • references/common-workflows.md25.4 KB
  • references/costs.md6.3 KB
  • references/data-usage.md7.9 KB
  • references/devcontainer.md4.3 KB
  • references/github-actions.md26.9 KB
  • references/gitlab-ci-cd.md17.2 KB
  • references/google-vertex-ai.md6.2 KB
  • references/headless.md8.8 KB
  • references/hooks-guide.md9.4 KB
  • references/hooks.md24.4 KB
  • references/iam.md11.0 KB
  • references/interactive-mode.md8.5 KB
  • references/jetbrains.md5.6 KB
  • references/legal-and-compliance.md1.5 KB
  • references/llm-gateway.md4.2 KB
  • references/mcp.md41.3 KB
  • references/memory.md6.3 KB
  • references/migration-guide.md9.4 KB
  • references/model-config.md6.2 KB
  • references/monitoring-usage.md21.8 KB
  • references/network-config.md3.1 KB
  • references/output-styles.md3.6 KB
  • references/overview.md4.5 KB
  • references/plugin-marketplaces.md14.0 KB
  • references/plugins-reference.md12.8 KB
  • references/plugins.md13.1 KB
  • references/quickstart.md8.3 KB
  • references/security.md6.9 KB
  • references/settings.md42.5 KB
  • references/setup.md6.6 KB
  • references/skills.md14.5 KB
  • references/slash-commands.md20.4 KB
  • references/statusline.md5.7 KB
  • references/sub-agents.md15.0 KB
  • references/terminal-config.md2.6 KB
  • references/third-party-integrations.md7.8 KB
  • references/troubleshooting.md12.0 KB
  • references/vs-code.md9.0 KB
  • scripts/update_docs.js3.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use when working on Claude Code plugins (creating, modifying, testing, releasing, or maintaining) - provides streamlined workflows, patterns, and examples for the complete plugin lifecycle

中文简介正在准备中。当前显示原文说明。

obra/superpowers-developing-for-claude-code1452025年12月4日 更新

Use when demonstrating plugin workflow features - shows how skills can guide multi-step processes

中文简介正在准备中。当前显示原文说明。

obra/superpowers-developing-for-claude-code1452025年12月4日 更新

查看 obra 的全部技能

报告此技能的问题