Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: graysurf-agent-kit-release-workflow3description: Release Workflow4---56# Release Workflow78## Contract910Prereqs:1112- Run inside (or have access to) the target repo.13- `bash` + `zsh` available on `PATH` to run helper scripts.14- `git` available on `PATH` (plus any release tooling required by the guide).1516Inputs:1718- The user’s requested release action (tag/release/publish) and the target repository path (if unclear).1920Outputs:2122- Resolve a release guide + template deterministically, then execute the guide steps exactly (no inference).2324Exit codes:2526- N/A (workflow driver; stop and ask on unclear steps)2728Failure modes:2930- Multiple repo guides found (must ask which to use).31- A guide step fails or is unclear (must stop and follow recovery instructions or ask).32- Default guide steps fail (must stop and ask how to proceed).3334## Workflow35361. Identify the target repository root; ask if the repo path is unclear.372. Resolve the guide + template (project-first; default fallback):38 - `$AGENT_HOME/skills/automation/release-workflow/scripts/release-resolve.sh --repo .`39 - If it exits `3`, stop and ask which guide to use.403. Read the resolved guide file fully before running any commands.414. Execute the guide steps in order, using the exact commands and tooling specified.425. If anything is unclear or a step fails, stop and ask rather than making assumptions.4344## Output and clarification rules4546- Use `references/ASSISTANT_RESPONSE_TEMPLATE.md` when a release is published.47- Use `references/ASSISTANT_RESPONSE_TEMPLATE_BLOCKED.md` when blocked (audit/check fails or unclear step).48- If a release is published, the response must include, in order:49 1. Release content50 2. Release link51- If blocked (e.g. an audit/check step fails), the response must include:52 1. Failure summary (including audit output when applicable)53 2. A direct question asking how to proceed5455## Fallback flow (when no guide exists)5657The default fallback guide lives at:5859- `$AGENT_HOME/skills/automation/release-workflow/references/DEFAULT_RELEASE_GUIDE.md`6061## Entrypoints (fallback helper scripts)6263- `$AGENT_HOME/skills/automation/release-workflow/scripts/release-resolve.sh --repo .`64- `$AGENT_HOME/skills/automation/release-workflow/scripts/release-publish-from-changelog.sh --repo . --version <vX.Y.Z>`65- Legacy wrapper paths are not supported; keep docs and callers pinned to these scripts.6667## Helper scripts (fallback)6869Use only these public entrypoints:7071- Resolve the guide + template deterministically:72 - `$AGENT_HOME/skills/automation/release-workflow/scripts/release-resolve.sh --repo .`73- Publish GitHub release from changelog via single entrypoint (extract + audit + upstream-sync check/push + create/edit + verify body):7475 ```bash76 $AGENT_HOME/skills/automation/release-workflow/scripts/release-publish-from-changelog.sh --repo . --version v1.3.2 --push-current-branch77 ```7879## Migration notes (removed entrypoints)8081The release-workflow surface was simplified in PR #221.82The following entrypoints are deprecated and removed; migrate to the retained commands below.8384| Removed entrypoint | Replace with |85| --- | --- |86| `$AGENT_HOME/skills/automation/release-workflow/scripts/audit-changelog.zsh` | `$AGENT_HOME/skills/automation/release-workflow/scripts/release-publish-from-changelog.sh --repo . --version <tag>` |87| `$AGENT_HOME/skills/automation/release-workflow/scripts/release-audit.sh` | `$AGENT_HOME/skills/automation/release-workflow/scripts/release-publish-from-changelog.sh --repo . --version <tag>` |88| `$AGENT_HOME/skills/automation/release-workflow/scripts/release-find-guide.sh` | `$AGENT_HOME/skills/automation/release-workflow/scripts/release-resolve.sh --repo .` |89| `$AGENT_HOME/skills/automation/release-workflow/scripts/release-notes-from-changelog.sh` | `$AGENT_HOME/skills/automation/release-workflow/scripts/release-publish-from-changelog.sh --repo . --version <tag>` |90| `$AGENT_HOME/skills/automation/release-workflow/scripts/release-scaffold-entry.sh` | `$AGENT_HOME/skills/automation/release-workflow/scripts/release-publish-from-changelog.sh --repo . --version <tag>` |9192`release-resolve.sh` remains the guide-resolution entrypoint.93`release-publish-from-changelog.sh` remains the publish entrypoint.9495## Related docs9697- Reference notes for the single-entrypoint simplification shipped in PR #221:98 - `docs/plans/pr-221-reference-notes.md`99- Repo-wide script simplification playbook:100 - `docs/runbooks/skills/SCRIPT_SIMPLIFICATION_PLAYBOOK.md`101102---103> Converted and distributed by [TomeVault](https://tomevault.io/claim/graysurf) — claim your Tome and manage your conversions.104<!-- tomevault:4.0:skill_md:2026-04-13 -->
Run npx skillmds@latest add tomevault-io/graysurf-agent-kit-release-workflow in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Release Workflow It is listed under AI & ML on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.