Skip to content
Skill

Craft plugin release

Guides cutting, verifying and fixing Craft CMS plugin releases across tags, Packagist

Craft plugin release is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
shell
Platforms
Claude Code, Codex, Cursor
GitHub stars
91
Last commit
License
MIT
Listing updated

Similar skills

About Craft plugin release

This skill gives the agent a checklist and risk model for releasing Craft CMS plugins, covering the three systems that each describe a version: git tags, Packagist and GitHub release objects. It explains how a composer.json version key must match the tag, how to confirm what Packagist actually serves via its p2 metadata endpoint, and when moving or recreating a tag is safe versus when a new patch version is required.

The guidance also covers GitHub release pitfalls such as tag names being lost on certain API edits, blank release bodies from empty notes files, draft publishing taking its tag from the branch tip, and collisions with Craft Plugin Store automation. It includes a two-way origin comparison for promoting a development branch to a release branch, and it points to reference files for path repositories, shared-library release order and purging content from published history.

The skill runs a bundled shell script to report the Craft version in use, and it expects the agent to have shell access with git, gh and curl available for the verification steps.

When your agent uses it

Releasing Craft CMS plugins: tagging, Packagist propagation, GitHub releases, branch promotion, shared-library ordering, history rewrites. ALWAYS load when cutting, preparing, verifying, or debugging a plugin release: bumping a version, dating a changelog, creating or moving a git tag, or checking what Packagist serves.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 5 files (31 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the craftcms-claude-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add michtio/craftcms-claude-skills
/plugin install craftcms-claude-skills@craftcms-claude-skills

Or copy only this skill to ~/.claude/skills/craft-plugin-release:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michtio/craftcms-claude-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/craft-plugin-release &&
cp -R "$tmp/skills/craft-plugin-release" ~/.claude/skills/craft-plugin-release &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/craft-plugin-release inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/craft-plugin-release to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michtio/craftcms-claude-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/craft-plugin-release &&
cp -R "$tmp/skills/craft-plugin-release" ~/.agents/skills/craft-plugin-release &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/craft-plugin-release inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/craft-plugin-release to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michtio/craftcms-claude-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/craft-plugin-release &&
cp -R "$tmp/skills/craft-plugin-release" ~/.cursor/skills/craft-plugin-release &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/craft-plugin-release inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/michtio/craftcms-claude-skills.git --path skills/craft-plugin-release

Or copy the folder to ~/.gemini/skills/craft-plugin-release yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/craft-plugin-release:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michtio/craftcms-claude-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/craft-plugin-release &&
cp -R "$tmp/skills/craft-plugin-release" ~/.copilot/skills/craft-plugin-release &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/craft-plugin-release inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/michtio/craftcms-claude-skills.git

Then copy craftcms-claude-skills/skills/craft-plugin-release into your agent's skills folder as craft-plugin-release. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Version key consistency
Checks that composer.json version matches the tag blob so Packagist does not skip the release.
Packagist verification
Confirms which versions the p2 metadata endpoint serves against the local tag list.
Tag risk assessment
Explains when a tag can be safely recreated and when a new patch version is needed.
GitHub release hygiene
Covers keeping tag names, draft flags and non-empty release notes intact.
Branch promotion checks
Compares origin branches in both directions before promoting work to a release branch.
Shared library ordering
Describes releasing dependencies first and migration handling for consumers.

Good for

  • Cut a new patch release of my Craft plugin and verify Packagist picks it up
  • Find out why Packagist is not showing my latest plugin tag
  • Fix a GitHub release that lost its tag or has a blank changelog body
  • Promote the develop branch to main safely before a release
  • Release a shared library before updating a plugin that depends on it
  • Remove a leaked secret from a plugin's published git history

Craft plugin release FAQ

What does the skill check when I bump a plugin version?

It requires the composer.json version key to be bumped in the same commit as the changelog date, and to match the tag's own blob, because Packagist skips tags whose manifest version does not match.

Which Packagist endpoint should I use to verify a release?

The p2 metadata endpoint at repo.packagist.org/p2/vendor/name.json, which is the one Composer resolves from, rather than the packagist.org packages JSON.

Is Craft plugin release safe to delete and recreate a tag?

It is safe if Packagist has never served that version. If Packagist has served it, moving the tag breaks that version, so a new patch version should be shipped instead.

Does the skill write changelog entries or CI workflow files?

No. Changelog writing, CI workflow YAML and plugin store listings are explicitly out of scope and handled by other skills.

How do I install Craft plugin release in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/craft-plugin-release to use it in all your projects, or to .claude/skills/craft-plugin-release in one project. Or install the craftcms-claude-skills plugin, which includes it: /plugin marketplace add michtio/craftcms-claude-skills, then /plugin install craftcms-claude-skills@craftcms-claude-skills.

Does Craft plugin release run scripts?

Yes. It runs shell scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Craft plugin release?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Craft plugin release?

The closest alternatives to Craft plugin release are Obsidian plugin release, Craftcms, Release, Release AI plugins and Release installer.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from michtio/craftcms-claude-skills

  1. Gives agents a safe Pest workflow for testing Craft CMS 5 plugins without touching live

    • Open source
    • 91 GitHub stars
    • Developer tools
  2. Guides an agent through Craft Cloud config, deploys, caching, and Cloud-specific limits

    • Open source
    • 91 GitHub stars
    • Databases
  3. Guides Craft CMS 5 content architecture: sections, entry types, fields, Matrix

    • Open source
    • 91 GitHub stars
    • Developer tools
  4. Deploys and runs Craft CMS on fortrabbit managed PHP hosting with safe git workflows

    • Open source
    • 91 GitHub stars
    • Developer tools
  5. Guides agents writing Craft CMS control panel JavaScript with the Garnish UI toolkit

    • Open source
    • 91 GitHub stars
    • Developer tools
  6. Runs one approved Craft CMS slice through outside builders under locked test gates

    • Open source
    • 91 GitHub stars
    • Developer tools