Przejdź do treści
Biblioteka skilli
AI i agenci · Budowanie i kod

cc-plugin-development

/cc-plugin-development

Tworzy, waliduje i publikuje wtyczki Claude Code: schemat manifestu, skille, polecenia, agenci, hooki, integracja z MCP, publikacja w marketplace i zarządzanie wersjami.

Repozytorium
claude ↗
Licencja
MIT
Ostatnia zmiana repozytorium
22.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
3
Przestarzałość

Brak sygnałów. Repozytorium zmienione 22.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Tworzy, waliduje i publikuje wtyczki Claude Code: schemat manifestu, skille, polecenia, agenci, hooki, integracja z MCP, publikacja w marketplace i zarządzanie wersjami.

Wyzwalacze z opisu

create pluginplugin.jsonadd skill to pluginpublish pluginplugin validationmarketplaceplugin manifestmy plugin isn
Oryginalny opis (EN)

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 validation", "marketplace", "plugin manifest", "my plugin isn't loading".

Jak działa

  1. Anatomy
  2. plugin.json — the manifest
  3. Authoring a skill
  4. Authoring a command
  5. Authoring an agent
  6. Validation
  7. Publishing
  8. Version management
  9. MCP delegation
  10. Anti-patterns
Sekcje z nagłówków SKILL.md, w oryginale · 166 linii, 540 słów
Podgląd SKILL.md
---
name: cc-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 validation", "marketplace", "plugin manifest", "my plugin isn't loading".
---

# Plugin Development

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.

## Anatomy

```
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
```

## plugin.json — the manifest

Minimum required fields:

```json
{
  "$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:

```json
{
  "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
  }
}
```

## Authoring a skill

Follow the skill-creator canonical spec:

1. **Frontmatter description is the trigger** — be specific and "pushy" (name ≥3 contexts where it should fire).
2. **Body ≤ 500 lines** (per skill-creator guidance).
3. **Deep reference content** goes in `references/` subdir — Claude loads on demand.
4. **MCP delegation table**: if your skill has heavy reference data, move it to an MCP tool.

Template in `plugin-architect` agent.

## Authoring a command

Commands live in `commands/{name}.md`. Frontmatter:

```yaml
---
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`.

## Authoring an agent

```yaml
---
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`.

## Validation

Run `plugin-validator` agent on any new/modified plugin. Checks:
- Manifest JSON schema conformance
- Required fields present
- Version is semver
- All referenced skills/commands/agents/hooks exist
- Skill descriptions non-empty and specific
- Agent `allowed-tools` are real tool names
- Hook scripts have shebang + are executable

## Publishing

Plugins live in git repos. Users install via marketplace:

```bash
/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.

## Version management

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.

## MCP delegation

| 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")` |

## Anti-patterns

- Skills with empty or template-leaked descriptions → don't trigger; dead weight.
- Manifests that reference missing files → plugin fails to load silently.
- Hooks without `set -euo pipefail` → mask errors.
- Agents with `allowed-tools: ["*"]` → defeats tool restriction.
- Version number not bumped on a release → users don't pick up updates.

## Reference

- [manifest-schema.md](references/manifest-schema.md) — full plugin.json schema with examples

Wersje

W bazie nie ma innych skilli o nazwie cc-plugin-development.

Migawka bazy z 28.10.2026 · wersja paczki ed05697cbd67 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100plugin-development
    Pakuje skille, polecenia, hooki i serwery MCP w dystrybuowalny plugin: struktura manifestu, bundling, wersjonowanie, testy i dystrybucja przez marketplace.
  • 100validating-plugins
    Sprawdza plugin Claude Code: manifest, strukturę katalogów, polecenia, skille, hooki i konfigurację MCP.
  • 95plugin-writer
    Tworzy od zera wtyczki Claude Code z odpowiednią strukturą katalogów i metadanymi, konfiguruje serwery MCP i dopisuje je do marketplace.json.
  • 90Codex CLI Plugins
    Tworzy wtyczki Codex CLI: manifest, pakowanie skilli, marketplace i lokalną instalację.
  • 100authoring-plugins
    Opisuje tworzenie pluginów Claude Code (agenci, skille, komendy, hooki, serwery MCP) i dystrybucję przez marketplace, w tym dobór wzorca skilla i pisanie plików manifestu.
  • 95public-plugin-builder
    Pomaga budować wtyczki, skille i agenty Claude, określać strukturę wtyczki Claude Code i publikować ją w marketplace.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.