帮助你高效创建、修改、测试与发布 Claude Code 插件的全流程技能
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "developing-claude-code-plugins" 技能: 1. 下载 https://raw.githubusercontent.com/obra/superpowers-developing-for-claude-code/main/skills/developing-claude-code-plugins/SKILL.md 2. 保存为 ~/.claude/skills/developing-claude-code-plugins/SKILL.md 3. 装好后重载技能,告诉我可以用了
请为 Claude Code 插件生成一个初始项目结构,包含目录设计、核心文件说明、配置示例,以及一个最小可运行的 hello world 插件。
得到清晰的插件脚手架、关键文件示例和可直接开始开发的基础代码。
我正在开发一个 Claude Code 插件,请帮我设计测试方案,覆盖单元测试、集成测试、常见失败场景,并给出示例测试用例。
得到完整测试清单、测试用例建议,以及提升插件稳定性的质量保障思路。
请为 Claude Code 插件制定发布与维护流程,包括版本管理、变更日志、发布检查清单、回滚方案和后续维护建议。
得到结构化的发布流程与维护规范,便于团队稳定交付和持续迭代。
This skill provides efficient workflows for creating Claude Code plugins. Use it to make plugin development fast and correct - it synthesizes official docs into actionable steps and provides working examples.
Use this skill when:
For comprehensive official documentation, use the working-with-claude-code skill to access full docs.
| Need to... | Read This | Official Docs |
|---|---|---|
| Understand directory structure | references/plugin-structure.md | plugins.md |
| Choose a plugin pattern | references/common-patterns.md | plugins.md |
| Make hooks work cross-platform | references/polyglot-hooks.md | hooks.md |
| Debug plugin issues | references/troubleshooting.md | Various |
| See working examples | examples/ directory | N/A |
Before writing code:
Define your plugin's purpose
Choose your pattern (read references/common-patterns.md)
Review examples
examples/simple-greeter-plugin/ - Minimal pluginexamples/full-featured-plugin/ - All components~/.claude/plugins/Create directories (see references/plugin-structure.md for details):
mkdir -p my-plugin/.claude-plugin
mkdir -p my-plugin/skills
# Add other component directories as needed
Write plugin.json (required):
{
"name": "my-plugin",
"version": "1.0.0",
"description": "What your plugin does",
"author": {"name": "Your Name"}
}
See references/plugin-structure.md for complete format.
Create development marketplace (for local testing):
Create .claude-plugin/marketplace.json:
{
"name": "my-dev",
"plugins": [{
"name": "my-plugin",
"source": "./"
}]
}
See references/plugin-structure.md for complete format.
Use TodoWrite to track component creation:
Example:
- Create skill: main-workflow
- Add command: /hello
- Configure hooks
- Write README
- Test installation
For each component type, see:
references/plugin-structure.mdreferences/common-patterns.mdexamples/ directoryInstall for testing:
/plugin marketplace add /path/to/my-plugin
/plugin install my-plugin@my-dev
Then restart Claude Code.
Test each component:
/your-commandIterate:
/plugin uninstall my-plugin@my-dev
# Make changes
/plugin install my-plugin@my-dev
# Restart Claude Code
If something doesn't work, read references/troubleshooting.md for:
Common issues are usually:
${CLAUDE_PLUGIN_ROOT})…
用于演示技能如何引导用户完成多步骤插件工作流与操作流程。
帮助用户快速生成得体、专业的问候语与开场白,用于邮件和商务沟通
提供 Claude Code CLI、插件、MCP、配置与技能的官方使用指导
帮助你撰写不过时的代码注释,聚焦做什么与为什么而非时序背景。
先用伪代码梳理方案与迭代思路,再高效转成可执行代码。
帮助开发者用早返回或表驱动方式简化嵌套条件分支,提升代码可读性。
提供模块化开发技能与工作流,帮助开发者快速构建、扩展并规范化 AI 编码实践
集成多种 Claude Code 工作流,提升开发测试、评审与自动化协作效率
帮助 Claude Code 用户发现、安装并管理开源插件、技能与智能代理资源。
为 Claude Code 提供开箱即用的多语言配置、插件与工作流组件,加速智能开发流程。
在协作会话中引导你从零创建插件并生成可交付的 .plugin 文件
提供面向 Claude Code 的生产级开发工作流与多代理协作方案