release-workflow
Release/publish a Rust core crate or CLI in an xberg-io polyglot repo (crawlberg, html-to-markdown, xberg, tree-sitter-language-pack, liter-llm).
Skill by xberg-io
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/xberg-io-release-workflow
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, frontend, ml, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/release-workflow
What's inside
- Skill name
release-workflow- Description
- Release/publish a Rust core crate or CLI in an xberg-io polyglot repo (crawlberg, html-to-markdown, xberg, tree-sitter-language-pack, liter-llm). Load when releasing or publishing a Rust crate or CLI — cutting a new version, tagging, running `gh release create`, installing the released build locally, and cleaning up. Repo-agnostic; for repo-specific task names check the repo's own release-workflow skill and Taskfile.
- License
- MIT
- Instructions
- 112 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: missing
Files (2)
- SKILL.md
- index.md
SKILL.md (first lines)
# Release Workflow (shared) Canonical publish sequence for a repo that tags versioned releases. One manifest (`Cargo.toml` in a Rust repo) is the single source of truth for the version, and the repo's version task syncs it to every other manifest. Task names differ per repo: find it with `mise tasks | grep -i version`. ## 1. Set the version Run the repo's version task. Some take the version as a `--` positional argument (`mise run <version-task> -- X.Y.Z`), others bump one part (`major`, `minor`, `patch`); read its description in `mise tasks`. The task rewrites the source manifest, syncs the version to every other manifest and pinned version constant, and refreshes lock files. Never hand-edit a manifest's `version` — use the task so everything stays in lockstep. Verify with `grep -m1 '^version' Cargo.toml` (or the repo's source manifest). ## 2. Update the CHANGELOG `CHANGELOG.md` follows Keep a Changelog. Entries land under `## [Unreleased]` between releases, never under an already-released section. At release, move every `[Unreleased]` bullet into a new `## [X.Y.Z] - YYYY-MM-DD` section (grouped Added / Changed / Deprecated / Removed / Fixed / Security), highlight breaking changes, and re-create an empty `[Unreleased]`. Never tag an empty section. ## 3. Clean-tree precondition (hard gate) Never release a dirty or failing tree. ```bash poly lint . # lint clean (mise run lint) poly fmt --check . # formatting clean (mise run format:check) mise run test # tests pass ``` Apply formatting with `poly fmt --fix .` (or `mise run format`) and re-stage. Fix any lint or test failure at its source — do not release past a failure. If the repo carries a coding-agent plugin with its own version pin (`plugin/.ai-rulez/config.plugins.toml` `[plugin].version`, checked by its version-sync script), run its `--check` mode here too, against the version set in step 1: ```bash python3 scripts/sync_plugin_version.py --check # or the repo's equivalent ``` Step 1's version task already chains this sync — but a narrower, similarly-named task that syncs only some manifests is an easy trap, and running it instead silently leaves the plugin pin behind. This is not hypothetical: it produced a real drift (`[plugin].version` vs `Cargo.toml`) in two sibling repos on the same release day. Whatever CI runs post-tag as `--expect <version>` to gate `publish.yaml`, run here as `--check` before you tag — a gate that can only fire after the tag is cut turns every drift into a full re-run of the publish flow. ## 4. Commit, tag, and publish the GitHub release Push the default branch before creating the tag, not after — tagging first and pushing second risks the tag pointing at a commit the default branch never contains if the push is rejected or rebased in between. The default branch is not always `main`: ```bash default=$(git symbolic-ref --short refs/remotes/origin/HEAD | sed 's|^origin/||') git add CHANGELOG.md <each manifest and lock file the version task changed> git commit -m "chore(release): X.Y.Z" git push origin "HEAD:$default" git tag -a vX.Y.Z -m "vX.Y.Z" git push origin vX.Y.Z gh release create vX.Y.Z --title "vX.Y.Z" --generate-notes ``` Add `--prerelease` for RC/beta tags. Prefer `--notes-file` built from the new CHANGELOG section when the entry is rich. A bare `git tag` is not a release — always run `gh release create`. Stage the paths the version task reported (`git status --porcelain` lists them), never `git add -A`: another agent's work in the tree would ship in the release commit. **Do not assume what triggers your repo's publish workflow — check it.** Repos are not uniform: some publish on the GitHub release (`on: release: types: [published]`), some require an explicit `workflow_dispatch` with no automatic trigger at all, and at least one fires on a tag push (`on: push: tags:`). Read your own `.github/workflows/publish*.yaml` `on:` block before relying on any one of these — assuming the wrong mechanism is how a tagged, pushed release silently never reaches its registry. ## 5. Install the released build locally For a repo that ships a Rust CLI: ```bash cargo install --path . # CLI crate at a subpath: cargo install --path crates/<cli-crate> ``` Installs the released binary from the workspace so it shadows any crates.io copy on `$PATH`. Confirm `which <binary>` and `<binary> --version` reflect X.Y.Z. ## 6. Clean up build artifacts ```bash mise run clean # runs cargo clean (removes target/) plus repo-specific cleanup ``` Reclaims disk by removing build output and generated caches (`target/`, `dist/`). Where no `clean` task exists, run the toolchain's own clean (`cargo clean`). ## Anti-patterns - Hand-editing a manifest's `version` instead of the version task. - `git add -A` in the release commit. - Releasing a dirty or lint/test-failing tree. - Tagging without `gh release create`. - AI attribution in commit/tag/release text.
From xberg-io/agent-conventions, MIT.
More from xberg-io/agent-conventions
- 0.564score
binding-architecture
xberg-io
Architecture rules for the polyglot binding layer and the C FFI boundary — crate naming, distribution paths, ownership and null-safety invariants…
SkillAFreshness: A★ 8Claude Code +9 - 0.564score
feature-flag-conventions
xberg-io
The shared Cargo feature-flag naming and semantics contract across xberg-io Rust libraries — the same flag names mean the same thing everywhere (otel…
SkillAFreshness: A★ 8Claude Code +9 - 0.564score
tracing-conventions
xberg-io
The canonical contract for tracing as a first-class product observability surface across xberg-io Rust libraries and services — level semantics, span/field…
SkillAFreshness: A★ 8Claude Code +9 - 0.564score
xberg-brand-and-docs
xberg-io
Canonical xberg.io brand, product catalog, docs-site (Astro Starlight + @xberg-io/docs-theme), alef badge, docs task commands, prose style, Google Analytics…
SkillAFreshness: A★ 8Claude Code +9 - 0.564score
agent-coordination
xberg-io
How to dispatch, monitor, recover, and trust subagents and worktree-isolated peers safely in a repo other agents may also be touching.
SkillAFreshness: A★ 8Claude Code +9 - 0.564score
consumer-release-gates
xberg-io
Reproduce an alef-generated consumer repo's release gate locally before cutting a release, and verify published package names against the real manifest rather…
SkillAFreshness: A★ 8Claude Code +9 - 0.561score
quick-start
xberg-io
Developer quick-start for xberg-io repos — prerequisites, initial setup, and the core build/test/lint workflow.
SkillAFreshness: A★ 8Claude Code +9 - 0.561score
basemind-tools
xberg-io
How to use basemind's MCP tools and CLI for structural and historical code questions instead of grep, file reads, and naked git.
SkillAFreshness: A★ 8Claude Code +9 - 0.561score
taskfile-structure
xberg-io
Standard Taskfile conventions across xberg-io repos — task discovery, common and language-scoped tasks, build profiles, the alef and e2e task families…
SkillAFreshness: A★ 8Claude Code +9 - 0.561score
poly-lint-format
xberg-io
Reference for poly, the single-binary multi-language linter and formatter — per-language engines, the lint/fmt commands, poly.toml configuration, severity…
SkillAFreshness: A★ 8Claude Code +9 - 0.561score
create-e2e-fixture
xberg-io
How to author a new e2e test fixture for cross-language test generation — fixture fields, assertion types, and id conventions.
SkillAFreshness: A★ 8Claude Code +9 - 0.560score
scoop-distribution
xberg-io
Maintain the Windows Scoop release channel: the per-repo manifest template and config, the publish-scoop-manifest job, and the shared xberg-io/scoop-bucket.
SkillAFreshness: A★ 8Claude Code +9
Signals
- Stars
- 8
- Forks
- 2
- Open issues
- 0
- Last commit (this folder)
- Oct 14, 2026 (15 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/xberg-io/agent-conventions
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from xberg-io
- 0.769score
feature-flag-policy
xberg-io
Cargo feature flags for crates/xberg — ORT-incompatible targets (WASM, Android x86_64 emulator), type-only and tract inference companion features…
SkillAFreshness: A★ 9.4KClaude Code +9 - 0.769score
crate-structure
xberg-io
The Xberg workspace layout — the version source of truth (root Cargo.toml [workspace.package] version), the 19 workspace members and 3 excluded crates, the…
SkillAFreshness: A★ 9.4KClaude Code +9 - 0.769score
config-loading-precedence
xberg-io
How Xberg resolves configuration — CLI-mode and server/MCP-mode precedence orders, project config walk-up, user config fallback, field-level inline JSON merge…
SkillAFreshness: A★ 9.4KClaude Code +9 - 0.769score
alef-generated-bindings
xberg-io
Alef-managed generated bindings in packages/* and binding crates — the regeneration workflow (task alef:generate / alef:verify), the alef.toml section layout…
SkillAFreshness: A★ 9.4KClaude Code +9 - 0.769score
wasm-constraints
xberg-io
WASM build constraints for the crates/xberg-wasm crate — the wasm-target feature set, no-tokio sync-only internal APIs, the crate-private SyncExtractor trait…
SkillAFreshness: A★ 9.4KClaude Code +9 - 0.769score
mime-detection-routing
xberg-io
MIME type detection and extractor routing in core/mime.rs — the FORMATS registry that EXT_TO_MIME and SUPPORTED_MIME_TYPES are derived from, the path-based…
SkillAFreshness: A★ 9.4KClaude Code +9
Cite this page
release-workflow skill. Agent Mart. https://agentmart.dev/skills/xberg-io-release-workflow (last updated 2026-10-24)