Walks through cutting an Optique patch, minor or major release: branch choice, Sacho changelog fragments, version bump, tags and maintenance-branch merges.
Install the "release" agent skill from https://github.com/dahlia/hongdown/tree/main/.claude/skills/release into .claude/skills/release/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "release", then confirm the skill loads.
Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Type this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
skills CLI
$ npx skills add dahlia/hongdown --skill release -a codex
Project install goes to .agents/skills/; add -g for ~/.codex/skills/.
Install the "release" agent skill from https://github.com/dahlia/hongdown/tree/main/.claude/skills/release into .agents/skills/release/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "release", then confirm the skill loads.
Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add dahlia/hongdown --skill release -a cursor
Project install goes to .agents/skills/; add -g for ~/.cursor/skills/.
Install the "release" agent skill from https://github.com/dahlia/hongdown/tree/main/.claude/skills/release into .cursor/skills/release/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "release", then confirm the skill loads.
Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
skills CLI
$ npx skills add dahlia/hongdown --skill release -a gemini-cli
Project install goes to .agents/skills/; add -g for ~/.gemini/skills/.
Install the "release" agent skill from https://github.com/dahlia/hongdown/tree/main/.claude/skills/release into .gemini/skills/release/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "release", then confirm the skill loads.
Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
GitHub CLI
$ gh skill install dahlia/hongdown release
Installs for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
skills CLI
$ npx skills add dahlia/hongdown --skill release -a github-copilot
Project install goes to .agents/skills/; add -g for ~/.copilot/skills/.
Install the "release" agent skill from https://github.com/dahlia/hongdown/tree/main/.claude/skills/release into .github/skills/release/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "release", then confirm the skill loads.
GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add dahlia/hongdown --skill release -a opencode
OpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
Install the "release" agent skill from https://github.com/dahlia/hongdown/tree/main/.claude/skills/release into .opencode/skills/release/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "release", then confirm the skill loads.
OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Facts
Skill name
release
GitHub stars
196
Token cost
~2.6k tokens
SKILL.md length
1,197 words
Files
1
Skills in repo
1
Repo updated
First seen
Licence
GPL-3.0
At a glance
Walks through cutting an Optique patch, minor or major release: branch choice, Sacho changelog fragments, version bump, tags and maintenance-branch merges.
Works in 8 steps: Prepare the release → Prepare next version → Push → …
Releasing a patch version from a maintenance branch
Calls git
Releasing a minor or major version from main
What it does
Optique ships patch versions from X.Y-maintenance branches and major or minor versions from main, with tags that have no v prefix, so 1.2.7 and not v1.2.7. Unreleased notes live as fragments in changes.d/, and with materialize turned on in sacho.toml the unreleased section of CHANGES.md is generated from them, so the agent edits fragments and syncs instead of editing that section by hand.
Before changing anything the agent checks the branch, working tree and remotes. For a major or minor release it confirms that changes.d/next and the package versions agree with the requested version, using mise run check:versions, and fixes a wrong version with mise run bump-version instead of editing manifests. It then runs sacho sync, fmt and preview to review the compiled notes, handles a refused sync by moving hand edits into fragments before using --force, and runs pnpm build in docs/ before committing documentation changes. Finally sacho release compiles the fragments into a dated section, and tags and maintenance-branch merges follow.
When your agent uses it
Releasing a patch version from a maintenance branch
Releasing a minor or major version from main
Checking that package versions and changelog fragments agree before a release
Fixing a Sacho sync that refuses to overwrite the generated changelog section
Example prompts
“Cut a patch release of Optique from the 1.2 maintenance branch.”
“Check that changes.d/next and the package versions match before we release.”
“Run sacho preview and show me the compiled release notes.”
Requirements
mise, the sacho CLI and pnpm
A checkout of the Optique repository with its release remotes
Workflow steps
8 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 0a53903. It shows what the files ask for, not the result of running them.
Tool permissions
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Runs code
Shell commands in SKILL.md call:
git
From the folder's file list and the shell code blocks in SKILL.md.
Network
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Credentials
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Context cost
Optique Release loads about 2.6k tokens when it runs. Until then it costs about 58 tokens; SKILL.md has 1,197 words of instructions outside code blocks.
Always· name and description, kept in context so the agent knows when to use it
~58
When it runs· the whole SKILL.md, loaded when a task matches
~2.6k
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
Safety
Auto-check passed
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
Download SKILL.mdSave it as .claude/skills/release/SKILL.md (or your agent's skills folder).
name
release
description
Create and publish releases for the Hongdown project. Use when releasing a new version, creating a patch release, or creating a major/minor release. Handles CHANGES.md updates, version bumping, tagging, and branch management.
Release skill
This skill automates the release process for the Hongdown project. There are
two types of releases: patch releases and major/minor releases.
Prerequisites
Before starting any release:
Verify the remote repository name:
bash
git remote -v
Use the correct remote name (usually origin or dahlia) in all push
commands.
Ensure you're on the correct branch and it's up to date.
Run tests and quality checks to ensure everything passes:
bash
cargo test && cargo fmt --check && cargo clippy -- -D warnings
cargo run -- --check *.md
Patch releases
Patch releases (e.g., 1.2.3) are for bug fixes and small improvements.
They are created from X.Y-maintenance branches.
Step 1: Prepare the release
Check out the maintenance branch:
bash
git checkout 1.2-maintenance
git pull
Update CHANGES.md: Find the section for the version being released and
change “To be released.” to “Released on {Month} {Day}, {Year}.” using
the current date in English. For example:
markdown
Version 1.2.3
-------------
Released on January 5, 2026.
Commit the changes:
bash
git add CHANGES.md
git commit -m "Release 1.2.3"
Create the tag (without v prefix). Always use -m to provide a tag
message to avoid opening an editor for GPG-signed tags:
bash
git tag -m "Hongdown 1.2.3" 1.2.3
Step 2: Prepare next version
Add a new section at the top of CHANGES.md for the next patch version:
markdown
Version 1.2.4
-------------
To be released.
Version 1.2.3
-------------
Released on January 5, 2026.
Bump the version in Cargo.toml:
Change version = "1.2.3" to version = "1.2.4".
Commit the version bump:
bash
git add -A
git commit -m "Version bump
[ci skip]"
Step 3: Push
Push the tag and branch to the remote:
bash
git push origin 1.2.3 1.2-maintenance
Step 4: Cascade merges
After creating a patch release, you must merge it forward to newer maintenance
branches and eventually to main.
Check if a newer maintenance branch exists (e.g., 1.3-maintenance):
bash
git branch -a | grep maintenance
If a newer maintenance branch exists, follow these sub-steps:
b) Resolve any conflicts (commonly in CHANGES.md and Cargo.toml).
c) Copy changelog entries: After resolving conflicts, copy the
changelog entries from the merged tag's version into the current
branch's unreleased version section. The entries should be inserted
above any existing entries.
For example, if merging 1.2.3 into 1.3-maintenance where 1.3.2 is
pending:
*Before* (1.3-maintenance):
~~~~ markdown
Version 1.3.2
-------------
To be released.
- Added new logging features.
~~~~
*Merged tag 1.2.3 contains*:
~~~~ markdown
Version 1.2.3
-------------
Released on January 6, 2026.
- Fixed a crash on startup.
~~~~
*After* (1.3-maintenance):
~~~~ markdown
Version 1.3.2
-------------
To be released.
- Fixed a crash on startup.
- Added new logging features.
~~~~
d) Run tests to verify:
~~~~ bash
cargo test && cargo fmt --check && cargo clippy -- -D warnings
cargo run -- --check *.md
~~~~
e) Complete the merge commit (use default message).
f) Create a new patch release for this branch by repeating Steps 1-3
for version 1.3.x (e.g., 1.3.1).
g) Continue cascading to even newer maintenance branches if they exist.
If no newer maintenance branch exists, merge to main:
bash
git checkout main
git merge 1.2.3 # or the last tag you created (e.g., 1.3.1)
Resolve conflicts, run tests, and push:
bash
cargo test && cargo fmt --check && cargo clippy -- -D warnings
cargo run -- --check *.md
git push origin main
[!IMPORTANT]
Do not add patch release entries into main's unreleased
section. The unreleased section (e.g., Version 1.3.0) should
only contain entries planned for the next major/minor release. Keep
it unchanged.
Do keep all released version sections from the merged tag.
Released version sections (e.g., Version 1.2.3) are historical
records. They must remain in CHANGES.md as their own separate
sections placed after the unreleased section — never delete them
when resolving conflicts.
After conflict resolution, CHANGES.md on main should look like
this (note: Version 1.3.0 section is unchanged; Version 1.2.3
section is preserved from the merged tag):
markdown
Version 1.3.0
-------------
To be released.
- (existing planned entries, untouched)
Version 1.2.3
-------------
Released on January 6, 2026.
- Fixed a crash on startup.
Version 1.2.2
...
Major/minor releases
Major/minor releases (e.g., 1.3.0, 2.0.0) introduce new features or breaking
changes. They are always created from the main branch with patch version 0.
Show full SKILL.md (509 more words)Show less
Step 1: Prepare the release on main
Check out and update main:
bash
git checkout main
git pull
Update CHANGES.md: Find the section for the version being released and
change “To be released.” to “Released on {Month} {Day}, {Year}.” using
the current date in English. For example:
markdown
Version 1.3.0
-------------
Released on January 5, 2026.
Commit the changes:
bash
git add CHANGES.md
git commit -m "Release 1.3.0"
Create the tag (without v prefix). Always use -m to provide a tag
message to avoid opening an editor for GPG-signed tags:
bash
git tag -m "Hongdown 1.3.0" 1.3.0
Step 2: Prepare next version on main
Add a new section at the top of CHANGES.md for the next minor version:
markdown
Version 1.4.0
-------------
To be released.
Version 1.3.0
-------------
Released on January 5, 2026.
Bump the version in Cargo.toml:
Change version = "1.3.0" to version = "1.4.0".
Commit the version bump:
bash
git add -A
git commit -m "Version bump
[ci skip]"
Step 3: Push main and tag
bash
git push origin 1.3.0 main
Step 4: Create maintenance branch
Create the maintenance branch from the release tag:
bash
git branch 1.3-maintenance 1.3.0
Check out the maintenance branch:
bash
git checkout 1.3-maintenance
Add a section for the first patch version in CHANGES.md:
markdown
Version 1.3.1
-------------
To be released.
Version 1.3.0
-------------
Released on January 5, 2026.
Bump the version in Cargo.toml:
Change version = "1.3.0" to version = "1.3.1".
Commit the version bump:
bash
git add -A
git commit -m "Version bump
[ci skip]"
Push the maintenance branch:
bash
git push origin 1.3-maintenance
Version format reference
Patch releases: X.Y.Z where Z > 0 (e.g., 1.2.3, 1.2.4)
Optique Release next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
Automates a version release with changesets: analyzes code changes, writes a bilingual CHANGELOG, bumps the version and commits through a release branch and pull request.
Ends a release cycle by moving the Unreleased changelog notes under a dated version heading, bumping version files with bumpversion and tagging the commit.
Sets git habits for every change: short-lived branches, atomic commits with descriptive messages, clean pull requests, plus versioning, tagging and changelogs for releases.
Takes a change through a verdaccio pull request: branch, local checks, changeset, title and body, labels, CI and review rounds, and ports to other release lines.
Walks through cutting an Optique patch, minor or major release: branch choice, Sacho changelog fragments, version bump, tags and maintenance-branch merges. 7.md is generated from them, so the agent edits fragments and syncs instead of editing that section by hand.
When should I use Optique Release?
Optique Release fits situations like: releasing a patch version from a maintenance branch; releasing a minor or major version from main; checking that package versions and changelog fragments agree before a release; fixing a Sacho sync that refuses to overwrite the generated changelog section.
How do I install Optique Release in Claude Code?
Run `npx skills add dahlia/hongdown --skill release -a claude-code`. Or copy the skill folder (.claude/skills/release in dahlia/hongdown) into .claude/skills/release in your project. Claude Code loads it when a task matches its description.
How do I install Optique Release in Codex?
Run `npx skills add dahlia/hongdown --skill release -a codex`. Or copy the skill folder (.claude/skills/release in dahlia/hongdown) into .agents/skills/release in your project. Codex loads it when a task matches its description.
Can I use Optique Release in Cursor, Gemini CLI or GitHub Copilot?
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dahlia/hongdown --skill release -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/release, .gemini/skills/release, .github/skills/release and .opencode/skills/release in your project.
What does Optique Release need to run?
Going by SKILL.md and its folder, Optique Release needs the command-line tools its instructions call (git). Our summary lists: mise, the sacho CLI and pnpm; A checkout of the Optique repository with its release remotes.
Does Optique Release access the network?
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Is Optique Release safe to install?
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
What licence does Optique Release use?
Optique Release is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
How many tokens does Optique Release use?
About 2.6k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
What are the alternatives to Optique Release?
Skills that share tags, products or a category with Optique Release: ZCF Release Automation (UfoMiao/zcf, 6.1k stars), React Router Release Notes Prep (remix-run/react-router, 57k stars), Release Bump (jamiepine/voicebox, 57k stars) and Git Workflow and Versioning (addyosmani/agent-skills, 103k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Who maintains Optique Release?
dahlia (a GitHub user) maintains it in dahlia/hongdown, which has 196 GitHub stars. The repository was last updated on July 28, 2026.
Source: dahlia/hongdown on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.