reorder: Skill for Claude Code

.agents/skills/release-plugin/SKILL.md

release-plugin is a skill for Claude Code, Codex from reorder-js/reorder. It costs 0 tokens per session (1,026 once invoked), scanned A, original, MIT.

A release workflow for a Medusa plugin that coordinates its NPM package release with a GitHub release. NPM is a package registry, while GitHub releases are versioned project records linked to repository tags.

In plain words
What is it for?
It is for testing and building the plugin, increasing its version, generating a changelog, creating a Git tag and GitHub release, and checking that the working tree is ready.
Why use it?
It checks the project before release and keeps the package, Git tag, changelog, and GitHub release aligned. It leaves the final NPM publish step for the user.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is reorder-js/reorder's own configuration. It tells Claude Code and Codex how to work on reorder itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything reorder configures →

Reuse

Borrowing it

Nothing to install: this file belongs to reorder-js/reorder. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/reorder-js/reorder/main/.agents/skills/release-plugin/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/reorder-js/reorder

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for release-plugin

README.md
[![agentmods](https://agentmods.dev/badge/skills/reorder-js/reorder/release-plugin/github.svg)](https://agentmods.dev/skills/reorder-js/reorder/release-plugin)
Your own site
<a href="https://agentmods.dev/skills/reorder-js/reorder/release-plugin"><img src="https://agentmods.dev/badge/skills/reorder-js/reorder/release-plugin/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for release-plugin

Your own site · 80×15
<a href="https://agentmods.dev/skills/reorder-js/reorder/release-plugin"><img src="https://agentmods.dev/badge/skills/reorder-js/reorder/release-plugin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,026 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01026
Opus 5.5 $0.00000 $0.00410
Sonnet 5.5 $0.00000 $0.00205
Haiku 4.5 $0.00000 $0.00103

Measured 2mo ago against content hash 135c785502e8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

release-plugin scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/release-plugin/SKILL.md · 57 lines

How it starts

The opening of the file, as written. The whole thing — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.

release-plugin

This skill automates the process of releasing the Medusa plugin, ensuring that NPM releases and GitHub releases are perfectly synced. It handles testing, building, version bumping, changelog generation, tagging, and creating the GitHub release, leaving only the final NPM publish step for the user to handle interactively.

When to use

Use this skill when the user asks to release a new version of the plugin, publish to NPM, create a GitHub release, or complains about a mismatch between NPM packages and the GitHub repository state.

Rules & Philosophy

  1. Always keep GitHub and NPM in sync. A published NPM package should always have a corresponding Git tag and GitHub release. This ensures a single source of truth for changelogs, easier debugging, and provenance tracking.
  2. Automate everything possible, but respect auth. Do all the heavy lifting (changelog, git, bumping, gh release) but leave npm publish to the user to prevent 2FA/auth hangs in the agent context.
  3. Validate before release. Never release a broken build.

Steps to execute

1. Pre-flight Checks

  • Check if the working directory is clean (git status --porcelain). If not, tell the user to commit or stash changes before releasing.
  • Check if gh CLI is installed (gh --version). If not, advise the user to install it (brew install gh) and authenticate (gh auth login) before proceeding.

2. Validation & Build

  • Verify in package.json that the package has the correct keywords for the Medusa v2 ecosystem (e.g., medusa-v2, medusa-plugin-integration) and that the exports object points to the built files in the ./.medusa/server/src/... directory (a Medusa v2 requirement).
  • Run all test suites automatically before building to ensure correctness:
    • yarn test:integration:modules
    • yarn test:integration:http
    • yarn test:e2e (Note: Ensure the local Medusa backend is running or started as required by E2E tests).
  • Run yarn build (which internally runs medusa plugin:build) to compile the plugin code into the .medusa/server directory.

Read the full file on GitHub · 57 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 57 lines · 0 tokens per session scan A 135c785502e8

Subscribe to this mod's changes

release-plugin is a skill published in the GitHub repository reorder-js/reorder (59 stars, last pushed 12d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,026 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-07.

Related

release-plugin compared with skills from other repositories

release-plugin next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
release-pluginreorder-js/reorderSkill5912d agoMITA0Claude Code, Codex
draft-release-notesprisma/ormSkill48kyesterdayApache-2.0A174Claude Code, Codex
publish-npm-versionprisma/ormSkill48kyesterdayApache-2.0A182Claude Code, Codex
releasesonichi/sutandoSkill404yesterdayMITA68Codex
ship-workflowMathews-Tom/armorySkill3405d agoMITA158Claude Code
changelog-composerMathews-Tom/armorySkill3405d agoMITA67Claude Code
repo-sentinelMathews-Tom/armorySkill3405d agoMITA65Claude Code