Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计通过

plugin-dev-guide插件开发指南

Agent Skill

plugin-dev-guide 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

269

周安装

11

GitHub Stars

13

下载量

86
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:plugin-dev-guide(插件开发指南)
来源仓库:https://github.com/sjnims/plugin-dev
仓库路径:skills/plugin-dev-guide
安装命令:
npx skills add https://github.com/sjnims/plugin-dev --skill plugin-dev-guide
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/sjnims/plugin-dev --skill plugin-dev-guide

简介

plugin-dev-guide 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 它适用于插件开发和学习资源收集场景,可帮助 Agent 根据关键词或任务需求生成结构化输出。
  • 通过自然语言查询或任务描述触发,返回匹配的文档片段或链接供进一步验证。
  • 安装命令为 npx skills add https://github.com/sjnims/plugin-dev --skill plugin-dev-guide,需确认网络访问权限。
  • 使用前应检查数据源可靠性和更新频率,避免依赖过时或不准确的外部信息。

SKILL.md

Plugin Development Guide

This meta-skill provides an overview of Claude Code plugin development and routes to specialized skills based on the task at hand.

Plugin Development Skills Overview

The plugin-dev toolkit provides 9 specialized skills for building Claude Code plugins, plus this guide. Each skill handles a specific domain of plugin development.

Skill Quick Reference

SkillPurpose
plugin-structureDirectory layout, manifest, component organization
command-developmentSimple prompts (single.md files in commands/)
agent-developmentAutonomous subagents
skill-developmentComplex prompts with bundled resources (skills/)
hook-developmentEvent-driven automation
mcp-integrationModel Context Protocol servers
lsp-integrationLanguage Server Protocol for code intelligence
plugin-settingsUser configuration via.local.md
marketplace-structurePlugin marketplace creation

When to Use Each Skill

Starting a New Plugin

Skill: plugin-structure

Use when the user needs to:

  • Create a new plugin from scratch
  • Understand plugin directory layout
  • Configure plugin.json manifest
  • Learn about component auto-discovery
  • Use ${CLAUDE_PLUGIN_ROOT} for portable paths

Adding User-Facing Commands

Skill: command-development

Use when the user needs to:

  • Create slash commands (/command-name)
  • Configure command frontmatter (description, allowed-tools, model)
  • Use dynamic arguments ($ARGUMENTS, $1, $2)
  • Reference files with @ syntax
  • Execute bash inline with [BANG] backticks

Creating Autonomous Agents

Skill: agent-development

Use when the user needs to:

  • Create subagents for complex tasks
  • Write agent system prompts
  • Configure agent triggering (description with examples)
  • Choose agent models and colors
  • Restrict agent tool access

Building Skills

Skill: skill-development

Use when the user needs to:

  • Create skills that extend Claude's capabilities
  • Write SKILL.md with proper frontmatter
  • Organize skill content with progressive disclosure
  • Create references/, examples/, scripts/ directories
  • Write effective trigger phrases

Implementing Event Hooks

Skill: hook-development

Use when the user needs to:

  • React to Claude Code events (PreToolUse, Stop, SessionStart, etc.)
  • Create prompt-based or command-based hooks
  • Validate tool inputs before execution
  • Enforce completion standards
  • Block dangerous operations

Integrating External Services via MCP

Skill: mcp-integration

Use when the user needs to:

  • Add MCP servers to plugins
  • Configure stdio, SSE, HTTP, or WebSocket servers
  • Set up authentication (OAuth, tokens)
  • Use MCP tools in commands and agents
  • Discover existing MCP servers on PulseMCP

Adding Code Intelligence via LSP

Skill: lsp-integration

Use when the user needs to:

  • Add Language Server Protocol servers to plugins
  • Enable go-to-definition and find-references
  • Configure language-specific servers (pyright, gopls, rust-analyzer)
  • Set up extensionToLanguage mappings
  • Enhance Claude's code understanding

Managing Plugin Configuration

Skill: plugin-settings

Use when the user needs to:

  • Store user-configurable settings
  • Use.claude/plugin-name.local.md pattern
  • Parse YAML frontmatter in hooks
  • Create temporarily active hooks
  • Manage agent state

Creating Plugin Marketplaces

Skill: marketplace-structure

Use when the user needs to:

  • Create a marketplace for multiple plugins
  • Configure marketplace.json
  • Set up plugin sources (relative, GitHub, git URL)
  • Distribute plugins to teams
  • Organize plugin collections

Decision Tree for Skill Selection

User wants to...
├── Create/organize a plugin structure? → plugin-structure
├── Add a simple slash command (no bundled resources)? → command-development
├── Create an autonomous agent? → agent-development
├── Add a complex skill with scripts/references? → skill-development
├── React to Claude Code events? → hook-development
├── Integrate external service/API? → mcp-integration
├── Add code intelligence/LSP? → lsp-integration
├── Make plugin configurable? → plugin-settings
└── Distribute multiple plugins? → marketplace-structure

Common Multi-Skill Workflows

Building a Complete Plugin

  1. Start: Load plugin-structure skill to create directory layout
  2. Add features: Load command-development for user-facing commands
  3. Automation: Load hook-development for event-driven behavior
  4. Configuration: Load plugin-settings if user configuration needed
  5. Validation: Use plugin-validator agent to validate structure

Creating an MCP-Powered Plugin

  1. Start: Load plugin-structure for basic structure
  2. Integration: Load mcp-integration to configure MCP servers
  3. Commands: Load command-development to create commands that use MCP tools
  4. Agents: Load agent-development for autonomous MCP workflows

Building a Code Intelligence Plugin

  1. Start: Load plugin-structure for basic structure
  2. LSP: Load lsp-integration to configure language servers
  3. Commands: Load command-development for commands using LSP features

Building a Skill-Focused Plugin

  1. Start: Load plugin-structure for basic structure
  2. Skills: Load skill-development to create specialized skills
  3. Validation: Use skill-reviewer agent to validate skill quality

Available Agents

The plugin-dev plugin also provides 3 agents:

AgentPurpose
plugin-validatorValidates plugin structure and manifests
skill-reviewerReviews skill quality and triggering
agent-creatorGenerates new agents from descriptions

Use agents proactively after creating components to ensure quality.

Available Commands

CommandPurpose
/plugin-dev:plugin-dev-guideOverview and skill routing
/plugin-dev:startEntry point - choose plugin or marketplace creation
/plugin-dev:create-plugin8-phase guided plugin creation workflow
/plugin-dev:create-marketplace8-phase guided marketplace creation workflow

User Request

$ARGUMENTS

If the user provided a request above, analyze it and either:

  1. Route to a specific skill if the request clearly matches one domain
  2. Answer directly using this guide's overview information
  3. Ask for clarification if the request is ambiguous

If no request was provided, summarize the available plugin development capabilities and ask what the user wants to build or learn about.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.57%
按下载量换算29

Claude

29.78%
按下载量换算26

Cursor

18.07%
按下载量换算16

Gemini CLI

9.19%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

external-service

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

安装前确认

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

来源信息

继续浏览同类 Skills