/copilot-plugin-development:copilot-plugin-authoringfrom copilot-plugin-development
Creates, migrates, audits, and validates GitHub Copilot plugins from agents, skills, hooks, MCP config, and manifests. Use when packaging primitives or repairing marketplace governance.
Ships in copilot-plugin-development. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Build self-contained, installable plugin packages from canonical primitives and prove both static contracts and runtime discovery.
Choose component ownership before editing:
| Mode | Canonical source | Runtime package |
|---|---|---|
library | harness/github-copilot/agents/ and harness/github-copilot/skills/ | Agents and skills are generated directly under the plugin's agents/ and skills/. |
plugin | The plugin's own agents/, skills/, hooks/, or extensions/ | Canonical content stays directly in those plugin-root directories. |
| Mixed plugin-owned | Plugin-local components plus selected shared skills | Keep componentSource: plugin and sharedSkills in manifests/plugin-sources.json, then generate those package copies from the shared harness source. |
Canonical ownership and source references live in
harness/github-copilot/manifests/plugin-sources.json, not in the distributed plugin.json. A
plugin-owned package may declare sharedSkills there to avoid maintaining a second canonical copy.
Do not hand-edit generated shared-source copies.
GitHub Copilot plugins use:
plugin.json without the Agent Plugins $schema;agents/, skills/, hooks/, and extensions/ paths;mcp.json, declared through mcpServers, with portable transports;com.github.copilot/ directory.Instructions and VS Code prompts are repository workspace customizations, not portable core plugin components. Package a safe publisher skill when they must accompany a plugin.
docs/templates/plugin.template.json and optionally docs/templates/plugin-mcp.template.json.harness/github-copilot/plugins/<name>/.sharedSkills when the plugin needs a self-contained copy.python3 harness/github-copilot/scripts/normalize_plugin_manifests.py and python3 harness/github-copilot/scripts/sync_plugin_components.py..github/plugin/marketplace.json entry with source, exact manifest description, and exact version.COPILOT_HOME, list its skills and MCP servers, invoke a representative namespaced agent, and exercise hooks or extensions when their runtime surface is available.docs/HARNESS-VALIDATION.md and regenerate docs/PLUGIN-AUDIT.md, docs/PRIMITIVE-CONTENT-AUDIT.md, docs/PRIMITIVE-CAPABILITIES.md, docs/PRIMITIVE-REDUNDANCY.md, and docs/catalog/github-copilot.md.python3 harness/github-copilot/scripts/validate_primitives.py --strict
python3 harness/github-copilot/scripts/normalize_plugin_manifests.py --check
python3 harness/github-copilot/scripts/audit_plugins.py --check
python3 harness/github-copilot/scripts/audit_primitive_content.py --check
python3 harness/github-copilot/scripts/audit_primitive_capabilities.py --check
python3 harness/github-copilot/scripts/audit_primitive_redundancy.py --check
python3 harness/github-copilot/scripts/generate_catalog.py --check
python3 harness/github-copilot/scripts/sync_plugin_components.py --check
python3 harness/github-copilot/scripts/sync_installed_primitives.py --check
Also validate every new skill with the skill-creator validator, lint changed workflows with actionlint, compile or syntax-check bundled scripts, and run available package tests.
Static validation is not enough. A representative install must prove the applicable surfaces:
| Surface | Evidence |
|---|---|
| Plugin | copilot plugin list shows the expected version. |
| Marketplace | copilot plugin marketplace browse <name> lists the package. |
| Agent | copilot --agent <plugin>:<agent> resolves and runs. |
| Skill | copilot skill list --json reports source: plugin. |
| MCP | copilot mcp list shows each configured server. |
| Hook | A safe simulated payload or tool call produces the expected decision. |
| Client extension | Package install, mirror checks, dependency pinning, syntax, tests, and an interactive client test when available. |
Reinstall into a fresh isolated home after package changes because GitHub Copilot CLI caches installed content.
| Symptom | Likely cause | Resolution |
|---|---|---|
| Skills load but agents do not | Manifest omits or mispoints the direct agent directory | Declare agents: "agents/" and verify the files are directly present. |
| Manifest contains repository-only metadata | Canonical ownership leaked into the distributed package | Move it to manifests/plugin-sources.json and normalize. |
| MCP server is absent | Legacy .mcp.json, missing schema, or wrong transport vocabulary | Use root mcp.json and the Agent Plugins MCP schema. |
| Hook does not fire | Wrong direct path or non-executable script | Point hooks to the plugin-root config and run direct plus live payload tests. |
| Marketplace install is stale | Version or entry differs from manifest | Synchronize description/version and reinstall in a fresh home. |
| Audit reports drift | Canonical source changed without regeneration | Run the declared normalizer, importer, synchronizer, or catalog generator. |
| Same skill exists in shared and plugin sources | Plugin copied and then edited a shared capability | Keep one shared canonical package, declare it in sharedSkills, and regenerate the plugin copy. |
copilot-primitive-architect agent when package boundaries or component ownership are ambiguous.skill-creator for any skill created or repaired as part of the package.## Plugin authoring result
**Plugin:** <name>
**Version:** <version>
**Ownership:** <library|plugin>
**Status:** <created|migrated|repaired|blocked>
### Components
- Agents: <count>
- Skills: <count>
- Hooks: <count>
- MCP servers: <count>
- Client extensions: <count>
### Validation
- Schemas: <result>
- Repository gates: <result>
- Isolated install: <result>
- Runtime surfaces: <result>
- Unavailable tests: <reason or none>
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin copilot-plugin-developmentOther plugins' skills for the same job