This skill should be used when the user asks to "demonstrate skills", "show skill format", "create a skill template", or discusses skill development patterns. Provides a reference template for creating Claude Code plugin skills.
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "example-skill" 技能: 1. 下载 https://raw.githubusercontent.com/anthropics/claude-plugins-official/main/plugins/example-plugin/skills/example-skill/SKILL.md 2. 保存为 ~/.claude/skills/example-skill/SKILL.md 3. 装好后重载技能,告诉我可以用了
This skill demonstrates the structure and format for Claude Code plugin skills.
Skills are model-invoked capabilities that Claude autonomously uses based on task context. Unlike commands (user-invoked) or agents (spawned by Claude), skills provide contextual guidance that Claude incorporates into its responses.
This skill activates when the user's request involves:
skills/
└── skill-name/
└── SKILL.md # Main skill definition (required)
skills/
└── skill-name/
├── SKILL.md # Main skill definition
├── README.md # Additional documentation
├── references/ # Reference materials
│ └── patterns.md
├── examples/ # Example files
│ └── sample.md
└── scripts/ # Helper scripts
└── helper.sh
Skills support these frontmatter fields:
The description field is crucial - it tells Claude when to invoke the skill.
Good description patterns:
description: This skill should be used when the user asks to "specific phrase", "another phrase", mentions "keyword", or discusses topic-area.
Include:
帮助开发者为 Claude Code 插件创建事件驱动 Hook,并校验工具调用与自动化流程。
帮助开发者为 Claude Code 设计、编写和组织斜杠命令。
帮助开发者梳理需求并规划合适的 MCP 服务器构建方案
生成可视化交互式单文件 HTML playground,便于探索配置并复制提示词
帮助开发者把本地 MCP 服务打包成自带运行时的 .mcpb 安装包。
浏览 Anthropic 官方精选的 Claude Code 插件目录并快速发现可用工具