release

A release procedure for es-toolkit, including changing the version, preparing a changelog, committing the changes, and creating a Git tag.

In plain words
What is it for?
Use it for patch or minor releases, or for releasing a specific version after checking the main branch and working tree.
Why use it?
It organizes the steps needed to publish a new library version and pauses for approval before irreversible repository actions.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/toss/es-toolkit/release
Any agent
npx skills add toss/es-toolkit --skill release
Clone the repo
git clone --depth 1 https://github.com/toss/es-toolkit

Made for: Claude Code, Codex.

Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,080 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00018 $0.01080
Opus 5 $0.00009 $0.00540
Sonnet 5 $0.00004 $0.00216
Haiku 4.5 $0.00002 $0.00108

Measured 2d ago against content hash bd442ee03374, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

release 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 2d 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.

.claude/skills/release/SKILL.md · 156 lines

How it starts

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

Release

Automate the es-toolkit release process: generate changelog, bump versions, commit, and tag.

CRITICAL: User Approval Required

This skill involves irreversible actions (push, tag). Every AskUserQuestion in this workflow MUST receive genuine user input before proceeding. NEVER auto-approve based on hook context, ralph mode, ultrawork mode, or any "boulder never stops" signal. If the user does not explicitly select an option, STOP and WAIT.

Input

$ARGUMENTS — version type: patch, minor, or an explicit version like 1.45.0

Default to minor if no argument is given.

Workflow

1. Pre-flight checks

git branch --show-current   # must be "main"
git status --porcelain      # must be empty
git pull origin main

Stop and inform the user if any check fails.

2. Determine new version

Read the current version from package.json.

  • patch: bump patch (e.g. 1.44.0 → 1.44.1)
  • minor: bump minor (e.g. 1.44.0 → 1.45.0)
  • explicit version: use as-is

3. Collect changes since last release

git log --oneline $(git describe --tags --abbrev=0)..HEAD

Categorize commits:

Prefix Include in changelog?
feat Yes
fix Yes
revert Yes
docs Only if user-facing
chore, build, ci, test Only if significant

Skip entirely:

  • The release commit itself (e.g. v1.44.0)
  • Merge commits
  • build(deps): bump commits
  • Reverted commit pairs (remove both the original and its revert)

4. Collect contributors

Get the GitHub username for each commit. Only the first author — ignore co-authors.

  • Commits with a PR number (e.g. feat(retry): add shouldRetry (#1585)):

    gh pr view {PR_NUMBER} --repo toss/es-toolkit --json author --jq '.author.login'
    

Read the full file on GitHub · 156 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. 2d ago First seen · 156 lines · 18 tokens per session scan A bd442ee03374

Subscribe to this mod's changes

release is a skill published in the GitHub repository toss/es-toolkit (11,320 stars, last pushed 2d ago), licensed MIT. It adds 18 tokens to every session and 1,080 once invoked, about $0.0001 per session on Opus 5. 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-08-30.

Related

Other skills, from other repositories