Token导航 LogoToken导航TokenDH.com
前端设计external-servicegithub未标认证来源可访问许可证需确认审计提醒

developing-claude-code-pluginsdeveloping Claude 代码 plugins

Agent Skill

developing-claude-code-plugins 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,409

周安装

57

GitHub Stars

122

下载量

442
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:developing-claude-code-plugins(developing Claude 代码 plugins)
来源仓库:https://github.com/obra/superpowers-developing-for-claude-code
仓库路径:skills/developing-claude-code-plugins
安装命令:
npx skills add https://github.com/obra/superpowers-developing-for-claude-code --skill developing-claude-code-plugins
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/obra/superpowers-developing-for-claude-code --skill developing-claude-code-plugins

简介

developing Claude 代码 plugins 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适用于需要围绕仓库状态、代码变更或协作事项进行整理的场景,如插件开发、功能扩展等。
  • 通过 GitHub 仓库安装,使用 npx skills add 命令添加技能,需确认权限和维护状态。
  • 使用前应检查是否会触发联网、命令执行或文件读写,确保符合项目安全策略。
  • developing-claude-code-plugins 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Developing Claude Code Plugins

Overview

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.

When to Use

Use this skill when:

  • Creating a new Claude Code plugin from scratch
  • Adding components to an existing plugin (skills, commands, hooks, MCP servers)
  • Setting up a development marketplace for testing
  • Troubleshooting plugin structure issues
  • Understanding plugin architecture and patterns
  • Releasing a plugin (versioning, tagging, marketplace distribution)
  • Publishing updates or maintaining existing plugins

For comprehensive official documentation, use the working-with-claude-code skill to access full docs.

Quick Reference

Need to...Read ThisOfficial Docs
Understand directory structurereferences/plugin-structure.mdplugins.md
Choose a plugin patternreferences/common-patterns.mdplugins.md
Make hooks work cross-platformreferences/polyglot-hooks.mdhooks.md
Debug plugin issuesreferences/troubleshooting.mdVarious
See working examplesexamples/ directoryN/A

Plugin Development Workflow

Phase 1: Plan

Before writing code:

  1. Define your plugin's purpose

- What problem does it solve? - Who will use it? - What components will it need?

  1. Choose your pattern (read references/common-patterns.md)

- Simple plugin with one skill? - MCP integration with guidance? - Command collection? - Full-featured platform?

  1. Review examples

- examples/simple-greeter-plugin/ - Minimal plugin - examples/full-featured-plugin/ - All components - Installed plugins in ~/.claude/plugins/

Phase 2: Create Structure

  1. 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
  2. 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.
  3. 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.

Phase 3: Add Components

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:

  • Format/syntax: references/plugin-structure.md
  • When to use: references/common-patterns.md
  • Working code: examples/ directory

Phase 4: Test Locally

  1. Install for testing: /plugin marketplace add /path/to/my-plugin /plugin install my-plugin@my-dev Then restart Claude Code.
  2. Test each component:

- Skills: Ask for tasks matching skill descriptions - Commands: Run /your-command - MCP servers: Check tools are available - Hooks: Trigger relevant events

  1. Iterate: /plugin uninstall my-plugin@my-dev # Make changes /plugin install my-plugin@my-dev # Restart Claude Code

Phase 5: Debug and Refine

If something doesn't work, read references/troubleshooting.md for:

  • Plugin not loading
  • Skill not triggering
  • Command not appearing
  • MCP server not starting
  • Hooks not firing

Common issues are usually:

  • Wrong directory structure
  • Hardcoded paths (use ${CLAUDE_PLUGIN_ROOT})
  • Forgot to restart Claude Code
  • Missing executable permissions on scripts

Phase 6: Release and Distribute

  1. Write README with:

- What the plugin does - Installation instructions - Usage examples - Component descriptions

  1. Version your release using semantic versioning:

- Update version in .claude-plugin/plugin.json - Document changes in CHANGELOG.md or RELEASE-NOTES.md - Example: "version": "1.2.1" (major.minor.patch)

  1. Commit and tag your release: git add. git commit -m "Release v1.2.1: [brief description]" git tag v1.2.1 git push origin main git push origin v1.2.1
  2. Choose distribution method: Option A: Direct GitHub distribution Option B: Marketplace distribution (recommended for multi-plugin collections) Option C: Private/team distribution

- Users add: /plugin marketplace add your-org/your-plugin-repo - Your plugin.json serves as the manifest - Create separate marketplace repository - Add .claude-plugin/marketplace.json with plugin references: {"name": "my-marketplace", "owner": {"name": "Your Name"}, "plugins": [{"name": "your-plugin", "source": {"source": "url", "url": "https://github.com/your-org/your-plugin.git"}, "version": "1.2.1", "description": "Plugin description"}]} - Users add: /plugin marketplace add your-org/your-marketplace - Update marketplace manifest for each plugin release - Configure in team's .claude/settings.json: {"extraKnownMarketplaces": {"team-tools": {"source": {"source": "github", "repo": "your-org/plugins"}}}}

  1. Test the release: # Test fresh installation /plugin marketplace add your-marketplace-source /plugin install your-plugin@marketplace-name # Verify functionality, then clean up /plugin uninstall your-plugin@marketplace-name
  2. Announce and maintain:

- GitHub releases (optional) - Team notifications - Monitor for issues and user feedback - Plan maintenance updates

Critical Rules

Always follow these (from references/plugin-structure.md):

  1. .claude-plugin/ contains ONLY manifests (plugin.json and optionally marketplace.json)

- ❌ Don't put skills, commands, or other components inside - ✅ Put them at plugin root

  1. Use ${CLAUDE_PLUGIN_ROOT} for all paths in config files

- Makes plugin portable across systems - Required for hooks, MCP servers, scripts

  1. Use relative paths in plugin.json

- Start with ./ - Relative to plugin root

  1. Make scripts executable

- chmod +x script.sh - Required for hooks and MCP servers

Resources in This Skill

  • references/plugin-structure.md - Directory layout, file formats, component syntax
  • references/common-patterns.md - When to use each plugin pattern, examples
  • references/polyglot-hooks.md - Cross-platform hook wrapper for Windows/macOS/Linux
  • references/troubleshooting.md - Debug guide for common issues
  • examples/simple-greeter-plugin/ - Minimal working plugin (one skill)
  • examples/full-featured-plugin/ - Complete plugin with all components (includes run-hook.cmd)

Cross-References

For deep dives into official documentation, use the working-with-claude-code skill to access:

  • plugins.md - Plugin development overview
  • plugins-reference.md - Complete API reference
  • skills.md - Skill authoring guide
  • slash-commands.md - Command format
  • hooks.md, hooks-guide.md - Hook system
  • mcp.md - MCP server integration
  • plugin-marketplaces.md - Distribution

Best Practices

  1. Start simple - Begin with minimal structure, add complexity when needed
  2. Test frequently - Install → test → uninstall → modify → repeat
  3. Use examples - Copy patterns from working plugins
  4. Follow conventions - Match style of existing plugins
  5. Document everything - Clear README helps users and future you
  6. Version properly - Use semantic versioning (major.minor.patch)

Workflow Summary

Plan → Choose pattern, review examples
Create → Make structure, write manifests
Add → Build components (skills, commands, etc.)
Test → Install via dev marketplace
Debug → Use troubleshooting guide
Release → Version, tag, distribute via marketplace
Maintain → Monitor, update, support users

The correct path is the fast path. Use references, follow patterns, test frequently.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.46%
按下载量换算161

Claude

29.48%
按下载量换算130

Cursor

19.11%
按下载量换算84

Gemini CLI

10.74%
按下载量换算47

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills