creating-plugins
БесплатноБез исполняемых скриптовНе проверенPackages repository skills as installable Copilot plugins: marketplace registration, `plugin.json` manifests, generated skill copies, and the sync check CI…
от jaktestowac★ 124 звезды на GitHubОб этом скилле
Creating Plugins
Use this skill when a skill or a small group of skills should be installable as a unit rather than copied by hand.
The rule that governs everything here: skills/ at the repository root is the source of truth, and everything under plugins/*/skills/ is generated output that happens to be committed. The generator is npm run plugin:materialize; the guard is scripts/check-plugin-sync.js, which CI runs as part of npm run lint. Editing a plugin copy directly produces a drift error and loses the edit on the next materialize.
When to Use
- a skill is mature enough to install rather than copy
- several related skills should ship together
- a new plugin needs registering in the marketplace
npm run lintreports a plugin copy that does not match its source skill- a plugin's description or keywords need updating
Operating Principles
- The root skill is the source of truth. Every change starts in
skills/<name>/and flows outward. - Plugin skill copies are generated. Never hand-edited, always regenerated.
- A plugin is self-contained. The plugin format resolves skill paths relative to the plugin root, so a plugin cannot reference
skills/at the repository root. That is why the copies exist. - The marketplace entry comes first. The scaffolder builds the plugin directory from it, and rewrites the generated fields from it on every run - edits flow downstream, never back up.
- A bundle is justified by use together. Two skills in one plugin because a user reaching for one reaches for the other, not because they share a topic.
- The description is the install decision. It is what a user reads in a marketplace listing, and it is the only thing they read.
Workflow
Phase 0: Decide the bundle
A plugin ships one skill, or a small group used together.
| Shape | Justified when |
|---|---|
| One skill | It stands alone, and nothing else is needed to use it |
| A skill plus its quick variant | The pair covers routine and deep use of the same capability, like writing-unit-tests |
| Several cooperating skills | A user reaching for one reliably reaches for the others in the same session |
Not justified: grouping by topic. "All the testing skills" is a directory listing, not a plugin. The user installs it, gets fifteen descriptions competing for the same triggers, and picks worse than they would have with three.
Before bundling, confirm the skills are distinct enough to coexist. Two skills whose descriptions overlap will collide harder inside one plugin than they do in a repository, because the user installed both deliberately.
Phase 1: Register in the marketplace
npm run plugin:generate -- planning-exploratory-testing
scripts/generate-plugins.js writes the entry into .github/plugin/marketplace.json, taking the
description from plugins/<name>/.github/plugin/plugin.json if the plugin folder already exists,
otherwise from the frontmatter of skills/<name>/SKILL.md. Entry order is preserved and new
entries are appended, so the file stays readable in diffs.
| Command | Does |
|---|---|
npm run plugin:generate -- <name> |
add the entry for one plugin or root skill |
npm run plugin:generate -- <name> --description='...' |
add it with a written description instead of the skill's |
npm run plugin:generate |
backfill entries for every plugin folder missing one |
npm run plugin:generate:all |
register every root skill, refreshing existing entries from their SKILL.md |
npm run plugin:generate -- --dry-run |
print what would change, write nothing |
npm run plugin:generate -- --no-overwrite |
report drift instead of rewriting an entry |
npm run plugin:generate -- --verbose |
list every item instead of a count |
node scripts/generate-plugins.js --check |
fail if a plugin folder has no entry (CI, part of npm run lint) |
Which file wins. The pipeline flows one way, and each step overwrites what is downstream of it:
skills/<name>/SKILL.md → marketplace.json → plugins/<name>/ → README.md
(frontmatter) (the registry) (plugin.json, (the tables)
README description)
plugin:generate:all therefore rewrites an existing entry's description from the skill's
frontmatter - a marketplace description edited by hand does not survive it. Write the listing
description in the skill's frontmatter, or use --description= per plugin, or pass
--no-overwrite to keep what is there and have the drift reported instead. A version somebody
bumped is never reset by a refresh; only --version= changes it.
plugin:generate:all packages the repository in bulk. It skips a skill another plugin already
ships, and it skips <name>-quick when skills/<name>/ exists, printing the plugin.json line
that bundles the quick variant with its parent instead. Pair it with --dry-run first, and read
Phase 0 before accepting the re
Установить creating-plugins в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл creating-plugins?
Packages repository skills as installable Copilot plugins: marketplace registration, `plugin.json` manifests, generated skill copies, and the sync check CI enforces. Use when bundling one or more skills for installation, when adding a plugin to the marketplace, or when `npm run lint` reports that a plugin copy has drifted from its source skill.
Как установить скилл creating-plugins?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл creating-plugins запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic