plugins/claude-code-expert/skills/plugin-development/SKILL.md
--- name: plugin-development description: Build, validate, and publish Claude Code plugins — manifest schema, skill/command/agent/hook authoring, MCP server integration, marketplace publishing, version management. Use this skill whenever creating a new plugin, adding a skill/command/agent to an existing plugin, validating plugin.json, debugging plugin load failures, or publishing to a marketplace. Triggers on: "create plugin", "plugin.json", "add skill to plugin", "publish plugin", "plugin valid
npx skillsauth add markus41/claude plugins/claude-code-expert/skills/plugin-developmentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Claude Code plugins are git-versioned bundles of skills, commands, agents, hooks, and MCP servers installable via .claude/marketplaces/. This skill covers the full authoring lifecycle.
my-plugin/
├── .claude-plugin/
│ └── plugin.json # manifest (required)
├── CLAUDE.md # plugin-level instructions
├── skills/
│ └── {skill-name}/
│ ├── SKILL.md
│ └── references/
├── commands/
│ └── {command-name}.md
├── agents/
│ └── {agent-name}.md
├── hooks/
│ └── {hook-name}.sh
├── mcp-server/ # optional
│ ├── src/index.js
│ └── package.json
└── README.md
Minimum required fields:
{
"$schema": "https://claude.local/schemas/plugin.schema.json",
"name": "my-plugin",
"version": "1.0.0",
"description": "Short description under 200 chars.",
"author": { "name": "You" },
"license": "MIT"
}
Recommended additions:
{
"repository": "https://github.com/you/my-plugin",
"keywords": ["claude-code", "..."],
"permissions": { "requires": ["read", "write"], "optional": ["bash", "network"] },
"capabilities": { "provides": ["..."], "requires": [] },
"context": {
"entry": "CONTEXT_SUMMARY.md",
"title": "My Plugin",
"summary": "≤400 words",
"maxTokens": 700
}
}
Follow the skill-creator canonical spec:
references/ subdir — Claude loads on demand.Template in plugin-architect agent.
Commands live in commands/{name}.md. Frontmatter:
---
description: What the command does, under 200 chars.
---
# /command-name
## Usage
...
## Flags
...
The command body is plain markdown executed as a prompt when the user runs /plugin-name:command-name.
---
name: agent-name
description: When to invoke; ≥3 trigger phrases.
model: sonnet
allowed-tools:
- Read
- Grep
- Bash
---
# Agent Name
## Role
...
## Approach
...
## Output format
...
Tool restrictions enforce agent scope — an auditor agent shouldn't be able to Write, a research agent doesn't need Bash.
Run plugin-validator agent on any new/modified plugin. Checks:
allowed-tools are real tool namesPlugins live in git repos. Users install via marketplace:
/plugin marketplace add https://github.com/org/marketplace-repo
/plugin install my-plugin
For personal plugins, skip the marketplace — git clone into ~/.claude/plugins/ directly.
Semver. Breaking changes = major bump. New capabilities = minor. Bug fixes = patch.
Include CHANGELOG.md with a section per version. plugin.json version must match the top CHANGELOG entry.
| Need | Tool |
|---|---|
| Settings schema for plugin config | cc_docs_settings_schema |
| Plugin-development troubleshooting | cc_docs_troubleshoot("plugin") |
| Model for authoring | cc_docs_model_recommend("write plugin skill") |
set -euo pipefail → mask errors.allowed-tools: ["*"] → defeats tool restriction.tools
Build Teams-native agents with the Teams SDK (formerly Teams AI Library v2) — App class, activity routing, adaptive cards, streaming, AI-generated labels, feedback, message extensions, Teams-as-MCP-server, and the bring-your-own-AI pattern with Agent Framework.
tools
Run agents on Microsoft Foundry (formerly Azure AI Foundry) Agent Service — prompt agents vs hosted agents, threads/runs and the Responses API, built-in tools (Bing grounding, code interpreter, file search, MCP, OpenAPI, A2A), connected agents, Entra agent identity, SDKs, and observability/evaluations.
tools
Build and host custom engine agents with the Microsoft 365 Agents SDK — AgentApplication, the Activity protocol, channel reach via Azure Bot Service, hosting Agent Framework or Semantic Kernel engines, and the Agents Toolkit/Playground workflow. Successor to the Bot Framework SDK.
tools
Design, govern, and extend Microsoft Copilot Studio agents — topics, generative orchestration, knowledge, tools and MCP, agent flows, autonomous triggers, publishing channels, Copilot Credits pricing, and solution-based ALM on Power Platform.