Agent skill

Optique Release

by dahlia in dahlia/hongdown

Walks through cutting an Optique patch, minor or major release: branch choice, Sacho changelog fragments, version bump, tags and maintenance-branch merges.

GPL-3.0Auto-check passedDevelopment

Install Optique Release

skills CLI
$ npx skills add dahlia/hongdown --skill release -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install dahlia/hongdown release --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/dahlia/hongdown.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/release .claude/skills/release && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

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.

  1. Prepare the release
  2. Prepare next version
  3. Push
  4. Cascade merges
  5. Prepare the release on main
  6. Prepare next version on main
  7. Push main and tag
  8. Create maintenance branch

What it can do on your machine

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.

SKILL.md

The full file from dahlia/hongdown at commit 0a53903, republished under its GPL-3.0 licence (© dahlia). 1,197 words, ~2,586 tokens.

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:

  1. Verify the remote repository name:

    bash
    git remote -v

    Use the correct remote name (usually origin or dahlia) in all push commands.

  2. Ensure you're on the correct branch and it's up to date.

  3. 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
  1. Check out the maintenance branch:

    bash
    git checkout 1.2-maintenance
    git pull
  2. 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.
  3. Commit the changes:

    bash
    git add CHANGES.md
    git commit -m "Release 1.2.3"
  4. 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
  1. 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.
  2. Bump the version in Cargo.toml:

    Change version = "1.2.3" to version = "1.2.4".

  3. 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.

  1. Check if a newer maintenance branch exists (e.g., 1.3-maintenance):

    bash
    git branch -a | grep maintenance
  2. If a newer maintenance branch exists, follow these sub-steps:

    a) Check out the newer branch and merge the tag:

    ~~~~ bash
    git checkout 1.3-maintenance
    git merge 1.2.3
    ~~~~

    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.

  3. 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
  1. Check out and update main:

    bash
    git checkout main
    git pull
  2. 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.
  3. Commit the changes:

    bash
    git add CHANGES.md
    git commit -m "Release 1.3.0"
  4. 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
  1. 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.
  2. Bump the version in Cargo.toml:

    Change version = "1.3.0" to version = "1.4.0".

  3. 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
  1. Create the maintenance branch from the release tag:

    bash
    git branch 1.3-maintenance 1.3.0
  2. Check out the maintenance branch:

    bash
    git checkout 1.3-maintenance
  3. 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.
  4. Bump the version in Cargo.toml:

    Change version = "1.3.0" to version = "1.3.1".

  5. Commit the version bump:

    bash
    git add -A
    git commit -m "Version bump
    
    [ci skip]"
  6. 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)
  • Minor releases: X.Y.0 (e.g., 1.3.0, 1.4.0)
  • Major releases: X.0.0 (e.g., 2.0.0, 3.0.0)
  • Maintenance branches: X.Y-maintenance (e.g., 1.2-maintenance)
  • Tags: No v prefix (e.g., 1.2.3, not v1.2.3)
  • Tag messages: Hongdown X.Y.Z format (use -m flag to avoid editor)

CHANGES.md format

Each version section follows this format:

markdown
Version X.Y.Z
-------------

Released on {Month} {Day}, {Year}.

 -  Change description.
 -  Another change.

For unreleased versions:

markdown
Version X.Y.Z
-------------

To be released.

Checklist summary

Patch release checklist
  • Check out X.Y-maintenance branch
  • Update CHANGES.md release date
  • Commit with message “Release X.Y.Z”
  • Create tag X.Y.Z with -m "Hongdown X.Y.Z"
  • Add next version section to CHANGES.md
  • Bump version in Cargo.toml
  • Commit with message Version bump\n\n[ci skip]
  • Push tag and branch
  • Cascade merge to newer maintenance branches (if any):
    • Merge tag into newer branch
    • Copy changelog entries to unreleased version (above existing entries)
    • Run tests and complete merge commit
    • Create patch release for that branch
  • Merge to main (if no newer maintenance branches):
    • Resolve CHANGES.md conflict: keep main's unreleased section unchanged; retain all released version sections from the merged tag
    • Resolve Cargo.toml and Cargo.lock conflicts: keep main's version
    • Run tests and push
Major/minor release checklist
  • Check out main branch
  • Update CHANGES.md release date
  • Commit with message “Release X.Y.0”
  • Create tag X.Y.0 with -m "Hongdown X.Y.0"
  • Add next version section to CHANGES.md
  • Bump version in Cargo.toml
  • Commit with message Version bump\n\n[ci skip]
  • Push tag and main branch
  • Create X.Y-maintenance branch from tag
  • Check out maintenance branch
  • Add patch version section to CHANGES.md
  • Bump version to X.Y.1 in Cargo.toml
  • Commit with message Version bump\n\n[ci skip]
  • Push maintenance branch

© dahlia, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/release of dahlia/hongdown.

Open the folder on GitHubat commit 0a53903

Compare with similar skills

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.

Optique Release compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Optique Release this skilldahlia/hongdown196—~2.6kAutomated safety check: PassGPL-3.0
ZCF Release AutomationUfoMiao/zcf6.1k—~3.4kAutomated safety check: PassMIT
React Router Release Notes Prepremix-run/react-router57k—~1.1kAutomated safety check: PassMIT
Release Bumpjamiepine/voicebox57k—~1.1kAutomated safety check: PassMIT
Git Workflow and Versioningaddyosmani/agent-skills103k2 repos~3.5kAutomated safety check: NotesMIT
Verdaccio Pull Request Workflowverdaccio/verdaccio18k—~1.9kAutomated safety check: PassMIT

Similar skills

  • 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.

    6.1k GitHub stars~3.4k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • React Router Release Notes Prep

    remix-run/react-router

    Polishes pending React Router change files before the versioning scripts run, and decides whether a long-form What's Changed section is warranted.

    57k GitHub stars~1.1k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Release Bump

    jamiepine/voicebox

    Ends a release cycle by moving the Unreleased changelog notes under a dated version heading, bumping version files with bumpversion and tagging the commit.

    57k GitHub stars~1.1k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Git Workflow and Versioning

    addyosmani/agent-skills

    Sets git habits for every change: short-lived branches, atomic commits with descriptive messages, clean pull requests, plus versioning, tagging and changelogs for releases.

    103k GitHub starsUsed in 2 repos~3.5k tokens
    DevelopmentAuto-check: notes
  • 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.

    18k GitHub stars~1.9k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Official

    Prepares a go-redis release locally: picks the next semver, gathers merged PRs, writes the RELEASE-NOTES entry and bumps versions, without publishing.

    22k GitHub stars~1.1k tokensUpdated yesterday
    DevelopmentAuto-check passed

Works with

Categories

Questions about Optique Release

What does Optique Release do?

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.