一键导入
release
Cut a new release of mardi-gras. Runs tests, lint, vet, creates a semver tag, pushes to trigger GoReleaser CI, and monitors the workflow.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Cut a new release of mardi-gras. Runs tests, lint, vet, creates a semver tag, pushes to trigger GoReleaser CI, and monitors the workflow.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Research recent changes in beads and gastown upstream repos. Identifies new features to leverage, breaking changes to handle, and creates a research document with actionable items.
Scan open issues on the beads GitHub repo, identify ones we can help answer based on our experience, and draft responses.
Run a systematic code reliability audit on the mardi-gras codebase. Identifies issues ranked by severity, produces a findings document, and optionally creates a fix plan.
Guide testing mardi-gras in a real Gas Town workspace. Sets up the environment, runs mg against live gt data, and verifies Gas Town panel features.
| name | release |
| description | Cut a new release of mardi-gras. Runs tests, lint, vet, creates a semver tag, pushes to trigger GoReleaser CI, and monitors the workflow. |
| disable-model-invocation | true |
| argument-hint | [version, e.g. v0.2.1 or 'patch'/'minor'/'major'] |
Cut a new release. Argument is either an explicit semver tag (e.g. v0.2.1) or a bump keyword (patch, minor, major).
Run ALL of these before tagging. Stop on any failure.
make test # Full test suite
go vet ./... # Static analysis
make fmt # Formatting check — verify no files changed
If golangci-lint is available, also run make lint.
Check for uncommitted changes — the working tree MUST be clean on main:
git status
git diff --stat
If not on main, warn the user and confirm before proceeding.
git tag --sort=-v:refname | head -1patch/minor/major, bump the appropriate componentvX.Y.Z, use it directlyfeat: commits → suggest minor bumpfix:/chore:/docs: → suggest patch bumpReview what's shipping — show commits since last tag:
git log <last-tag>..HEAD --oneline --no-merges
Write a concise annotated tag message summarizing the release. Group changes into categories (features, fixes, compatibility). Keep it to 3-5 lines.
Create the annotated tag:
git tag -a <version> -m "<message>"
Push the tag to trigger the release workflow:
git push origin <version>
Watch the GitHub Actions workflow:
gh run list --limit 1
gh run watch <run-id> --exit-status
Verify the release assets after completion:
gh release view <version> --json name,assets --jq '.name, (.assets[] | " " + .name + " (" + .state + ")")'
Expected assets (6 binaries + checksums):
mardi-gras_<ver>_darwin_amd64.tar.gzmardi-gras_<ver>_darwin_arm64.tar.gzmardi-gras_<ver>_linux_amd64.tar.gzmardi-gras_<ver>_linux_arm64.tar.gzmardi-gras_<ver>_windows_amd64.zipmardi-gras_<ver>_windows_arm64.zipchecksums.txtReport the release URL to the user:
https://github.com/quietpublish/mardi-gras/releases/tag/<version>
.goreleaser.yaml.github/workflows/release.ymlmatt-wright86/homebrew-tap (updated automatically by GoReleaser)-ldflags "-X main.version=<version>" in cmd/mg