AgentSkillsCN

claude-code

当用户咨询 Claude Code 的安装方法、Slash 命令(/cook、/plan、/fix、/test、/docs、/design、/git)、Agent 技能的创建与管理、MCP 服务器的配置、钩子/插件的搭建、IDE 集成(VS Code、JetBrains)、CI/CD 工作流、企业级部署(SSO、RBAC、沙盒隔离),或在处理身份认证与性能问题、探索高级功能(扩展思维、缓存机制、检查点机制)时,务必启用此技能。

SKILL.md
--- frontmatter
name: claude-code
description: Activate when users ask about Claude Code installation, slash commands (/cook, /plan, /fix, /test, /docs, /design, /git), creating/managing Agent Skills, configuring MCP servers, setting up hooks/plugins, IDE integration (VS Code, JetBrains), CI/CD workflows, enterprise deployment (SSO, RBAC, sandboxing), troubleshooting authentication/performance issues, or advanced features (extended thinking, caching, checkpointing).

Claude Code

Anthropic's agentic coding tool combining autonomous planning, execution, and validation with extensibility through skills, plugins, MCP servers, and hooks.

Core Concepts

Subagents: Specialized agents (planner, code-reviewer, tester, debugger, docs-manager, ui-ux-designer, database-admin)

Agent Skills: Modular capabilities with SKILL.md + bundled resources (scripts, references, assets) loaded progressively

Slash Commands: User-defined operations in .claude/commands/ expanding to prompts

Hooks: Event-driven shell commands (SessionStart, PreToolUse, PostToolUse, Stop, SubagentStop)

MCP Servers: Model Context Protocol integrations for external tools (GitHub, Jira, databases)

Plugins: Packaged collections distributed via marketplace

Reference Guide

Load references as needed for specific topics:

TopicReference FileContents
Installation & setupreferences/getting-started.mdPrerequisites, installation methods, authentication
Slash commandsreferences/slash-commands.mdFull catalog: /cook, /plan, /fix, /test, /docs, /git, /design
Workflow examplesreferences/common-workflows.mdFeature implementation, bug fixing, testing, git ops
Creating skillsreferences/agent-skills.mdSkill structure, metadata, bundled resources
MCP serversreferences/mcp-integration.mdConfiguration, common servers, authentication
Hooks systemreferences/hooks-comprehensive.mdEvent types, command/prompt hooks, tool matchers
Pluginsreferences/hooks-and-plugins.mdPlugin structure, marketplace, installation
Configurationreferences/configuration.mdSettings hierarchy, model config, output styles
Enterprisereferences/enterprise-features.mdSSO, RBAC, sandboxing, audit logging, deployment
IDE integrationreferences/ide-integration.mdVS Code extension, JetBrains plugin
CI/CDreferences/cicd-integration.mdGitHub Actions, GitLab workflows
Advanced featuresreferences/advanced-features.mdExtended thinking, caching, checkpointing
Troubleshootingreferences/troubleshooting.mdAuth failures, MCP issues, performance, debug mode
API referencereferences/api-reference.mdAdmin, Messages, Files, Models, Skills APIs
Best practicesreferences/best-practices.mdProject organization, security, performance, cost

Instructions

When answering questions:

  1. Identify topic from user query
  2. Load relevant reference files (use table above)
  3. Provide specific guidance with examples
  4. For complex queries, load multiple references

Documentation sources: