Skip to content
Back to skills

Aval Dev Release

ASecurity

Use when cutting, checking or publishing an aval release: versioning, the CHANGELOG, an rc or beta, promote, tags, GoReleaser. An ordered checklist that stops at the first failure; publishing only with explicit authorization.

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
toolsgobashgitperformance

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add alvaroofernaandez/aval --skill aval-dev-release --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Aval Dev Release?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Aval Dev Release
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/alvaroofernaandez-aval-dev-release/badge)](https://www.skillsdirectory.com/skills/alvaroofernaandez-aval-dev-release)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: aval-dev-release
description: "Use when cutting, checking or publishing an aval release: versioning, the CHANGELOG, an rc or beta, promote, tags, GoReleaser. An ordered checklist that stops at the first failure; publishing only with explicit authorization."
---

## Activation contract

Load before `aval release` or any tag, version or CHANGELOG work. Maintainer reference: `docs/releasing.md`. Where it disagrees with a global skill, this one wins (`AGENTS.md`).

## Hard rules

- **Never push unasked.** `aval release rc|beta|patch|minor|major|promote` creates an annotated tag and runs `git push origin <tag>`. That is a remote, public action: run a cutting command only after the owner's explicit authorization for that exact version. Without it, stop at `--dry-run`.
- The `release` environment approval in GitHub is the owner's alone. Never ask for or simulate it. Only the first stable release of a breaking line (a new minor before 1.0, a new major) waits for it; prereleases, patches and minors after 1.0 publish from `release-patch`, which needs no approval (owner decisions, 2026-11-23).
- Prerelease (`-rc.N`, `-beta.N`) or stable is the owner's decision.
- Never print or commit tokens (`NPM_TOKEN`, `GH_TOKEN`).
- Conventional Commits, no AI attribution: the release notes are generated from commit subjects.

## Checklist (in order; stop at the first failure and report it)

1. **Clean `main`.** `git status` clean, on `main`, up to date with `origin/main`. `aval release` refuses otherwise.
2. **Notes and CHANGELOG.** Write both notes first, following the `aval-dev-release-notes` skill: `docs/releases/vX.Y.Z.md` (English) and `docs/releases/vX.Y.Z.es.md` (Spanish; an rc uses the base version's files), every number measured. `CHANGELOG.md` has its `## vX.Y.Z-rc.N (date)` section with a short summary and a line linking both notes (`tests/release_notes_test.go` and `tests/hub_docs_test.go` pin this). Past entries are not hand-edited. Read the grouped notes `aval release status` prints (Breaking, Features, Fixes, Performance); if a subject reads badly, it is fixed in history only by the owner, never by a rewrite you start.
3. **Tests with the race detector.** `go test -race ./...` passes locally (CI runs the same on three OSes; `aval release` itself runs `go test ./...` without `-race`). Also `go vet ./...` and `gofmt -l .` empty.
4. **GoReleaser pin.** `.github/workflows/release.yml` pins `GORELEASER_VERSION` and `GORELEASER_SHA256` (the hash of `goreleaser_Linux_x86_64.tar.gz` from that release's `checksums.txt`). Upgrade only deliberately, in its own commit, after `goreleaser release --snapshot --clean --skip=publish`.
5. **Status and dry run.** `aval release status`, then the chosen command with `--dry-run`: check the version (before 1.0, `feat` or breaking bumps the minor, `fix`/`perf` the patch; `docs`, `test`, `ci`, `chore` alone mean nothing to publish).
6. **Tag (authorized only).** The cutting command: it checks clean tree, `main`, up to date, `go test ./...`, green CI on `HEAD` when `gh` is available, shows the notes, asks `y/N`, tags and pushes the tag. `promote` re-tags the rc's commit: it requires the rc to be an ancestor of `origin/main`, skips the branch and up-to-date checks, and checks CI on the rc. If `main` moved, it lists the later commits and warns when any changes shipped code (outside `docs/`, `tests/`, `odd/`, `.claude/`, `*.md`); cut a new rc then.
7. **Verify.** The workflow URL it prints: `preflight`, `publish` (on its own unless the tag opens a breaking line, then after the owner approves the environment), `verify`, `npm`. Then by hand:

```bash
gh release download vX.Y.Z -R alvaroofernaandez/aval
shasum -a 256 -c SHA256SUMS --ignore-missing      # Linux: sha256sum -c
gh attestation verify aval_X.Y.Z_<os>_<arch>.tar.gz --repo alvaroofernaandez/aval
tar -xzf aval_X.Y.Z_<os>_<arch>.tar.gz && ./aval version
npx @alvaroofernaandez/aval@next version          # rc/beta; @latest for stable
```

8. **Release body (automatic).** `release.yml` builds it with `aval release notes <tag>` and sets it with `gh release edit` after GoReleaser publishes; preflight fails first when a notes file, or the table under a Mermaid diagram, is missing. Nothing to do by hand; to preview, run `aval release notes <tag>` from the repo root. Details in `docs/releasing.md`.

## If something fails

Follow `docs/releasing.md`, "If something fails". Deleting a remote tag (`git push origin :refs/tags/<tag>`) is a remote action: only with the owner's authorization, and only before anything was approved.

## Mechanisms behind this checklist

- `internal/release` (`internal/release/git_test.go`): the preflight checks, the version arithmetic and the notes grouping.
- `cmd/aval/release_test.go`: the command wiring.
- ADR 0003: CI, not pre-push, runs the tests; a release requires CI green on the tagged commit.

## Report

The version, each checklist step with its command and result, what was not run and why, and the exact point you stopped for authorization.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.