Agent skill

Release

by lbedner in lbedner/aegis-stack

A skill your agent uses when cutting a release of the aegis-stack package.

MITAuto-check passedDevelopment

Install Release

skills CLI
$ npx skills add lbedner/aegis-stack --skill release -a claude-code

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

GitHub CLI
$ gh skill install lbedner/aegis-stack 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/lbedner/aegis-stack.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
143
Token cost
~2k tokens
SKILL.md length
1,121 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when cutting a release of the aegis-stack package.

  • Works in 10 steps: Confirm the target version and the… → Bump the version string in all five… → Cut the changelog in CHANGELOG.md:… → …
  • Cutting a release of the aegis-stack package
  • SKILL.md covers When to use, Files that change, Procedure and Gates, plus 1 more section
  • Calls git, make and uvx; reaches test.pypi.org and pypi.org

What it does

Release is an agent skill from lbedner/aegis-stack. Use when cutting a release of the aegis-stack package. Covers the version-bump file set, the changelog cut, the three release gates, TestPyPI rc verification, and the tag-push mechanics that trigger the publish workflow.

Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Project scaffolding and Changelog and release notes. It works with FastAPI. The repository describes itself as: A production-ready FastAPI platform with modular components and a built-in control plane. The licence is MIT.

When your agent uses it

  • Cutting a release of the aegis-stack package
  • The publish workflow

Example prompts

  • “/release”

Requirements

  • Python 3

Workflow steps

10 steps, taken from the first numbered list in SKILL.md.

  1. Confirm the target version and the previous released tag.
  2. Bump the version string in all five files listed above. Open each file and
  3. Cut the changelog in CHANGELOG.md: identify which items under
  4. Commit the version bump and changelog cut. If the pre-commit ty hook
  5. Run the three gates (see Gates). Fix anything red before proceeding.
  6. Tag the release commit as a release candidate: `git tag vX.Y.Z-rcN && git
  7. Once the workflow is green, verify the rc via the TestPyPI upgrade-path
  8. If the rc verification finds a problem, fix it, bump to the next rc number
  9. Once an rc is clean, bump the version string from X.Y.ZrcN to the bare
  10. Post-publish, repeat the TestPyPI-style upgrade recipe once more against

What it can do on your machine

Read from SKILL.md and the folder at commit fb708b7. 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
    • make
    • uvx
    • uv

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • test.pypi.org
    • pypi.org

    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

Release loads about 2k tokens when it runs. Until then it costs about 57 tokens; SKILL.md has 1,121 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~57
When it runs · the whole SKILL.md, loaded when a task matches
~2k

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 lbedner/aegis-stack at commit fb708b7, republished under its MIT licence (© lbedner). 1,121 words, ~2,044 tokens.

Download SKILL.mdSave it as .claude/skills/release/SKILL.md (or your agent's skills folder).
name
release
description
Use when cutting a release of the aegis-stack package. Covers the version-bump file set, the changelog cut, the three release gates, TestPyPI rc verification, and the tag-push mechanics that trigger the publish workflow.

Release

Cuts a new version of the aegis-stack package itself (not a generated project). Bumps the version string, cuts the changelog, runs three independent gates, verifies an rc on TestPyPI, then tags for a real PyPI publish and verifies again against the published package.

When to use

Use when the task is "release a new version of aegis-stack" (bump the version, publish to PyPI, cut a GitHub release).

Do NOT use for ordinary feature or fix work with no release attached, and do NOT use for generated-project releases (those follow the target project's own process, not this one).

Files that change

Version bump (all five must be touched together; verify each file actually contains the version string before editing it, since it is easy to assume a file participates when it does not):

  • aegis/__init__.py: __version__ = "X.Y.Z".
  • pyproject.toml: version = "X.Y.Z" under [project].
  • copier.yml (repo root): _version: "X.Y.Z".
  • CHANGELOG.md: the version also appears here as the new dated section heading (see the changelog cut step in Procedure).
  • uv.lock: the [[package]] name = "aegis-stack" entry's own version = "X.Y.Z" field. This one is not hand-edited; the pre-commit ty hook rewrites it, so stage it in a second commit pass (see Procedure).

Every other match of the old version string in the repo is test data or an unrelated coincidence; leave it alone.

Gate-relevant files (read, not edited, unless a gate fails):

  • Makefile (repo root): check, test-stacks-full, test-stacks-quick targets.
  • tests/test_runtime_dependencies.py: guards that ruff (and any other binary the updater shells out to at runtime) stays in [project].dependencies, not only a dev extra.
  • .github/workflows/release.yml: the tag-triggered publish workflow (v*.*.*-rc* routes to TestPyPI, bare v*.*.* routes to PyPI); read this if tagging behavior is ever in question.

Procedure

  1. Confirm the target version and the previous released tag.
  2. Bump the version string in all five files listed above. Open each file and grep for the old version string to confirm the edit landed; do not assume a file needs changing just because a prior release touched it.
  3. Cut the changelog in CHANGELOG.md: identify which items under [Unreleased] actually shipped in this release (cross-check with git log --first-parent <prev-tag>..HEAD so nothing merged after the branch point is mis-attributed), rename that content into a new dated [X.Y.Z] - YYYY-MM-DD section, draft the section body from the PR history for this range, and leave a fresh, empty ## [Unreleased] heading above it. This step is required and routinely forgotten; do not skip it.
  4. Commit the version bump and changelog cut. If the pre-commit ty hook rewrites uv.lock during this commit, git add uv.lock and commit again so the lockfile's own version field matches.
  5. Run the three gates (see Gates). Fix anything red before proceeding.
  6. Tag the release commit as a release candidate: git tag vX.Y.Z-rcN && git push origin vX.Y.Z-rcN. This is what actually triggers the publish workflow; merging the version-bump PR alone publishes nothing.
  7. Once the workflow is green, verify the rc via the TestPyPI upgrade-path recipe (see Gates, gate 3) run against the published rc rather than a local wheel.
  8. If the rc verification finds a problem, fix it, bump to the next rc number (never reuse or re-tag a burned rc, see Pitfalls), and repeat from step 5.
  9. Once an rc is clean, bump the version string from X.Y.ZrcN to the bare X.Y.Z in aegis/__init__.py, pyproject.toml, and copier.yml (the changelog section heading already says X.Y.Z from the cut; refresh uv.lock via uv lock), commit, and tag THAT commit: git tag vX.Y.Z && git push origin vX.Y.Z. Do not tag the rc commit itself: the publish workflow builds whatever version pyproject.toml carries, so tagging the rc commit as vX.Y.Z would publish an X.Y.ZrcN wheel under a final tag. This publishes to PyPI and drafts a GitHub release.
  10. Post-publish, repeat the TestPyPI-style upgrade recipe once more against the now-published PyPI package (init the previous release, update to the new version) and grep the resulting project for conflict markers to confirm a clean upgrade path for real users.
Show full SKILL.md (459 more words)Show less

Gates

All three are required; each independently catches a class of failure the others miss.

  • make check: framework lint, typecheck, and pytest. Catches a constant/config change made without updating the test that asserts on it.
  • make test-stacks-full: the full stack generation matrix (generate, install, lint, typecheck, pytest per stack combination). Catches template drift on stacks that no single local test generates on its own. make test-stacks-quick (base/everything/insights subset) is for iteration only; it never substitutes for the full run before a release.
  • Production-mode wheel test: the repo's own test venv installs --all-extras, so a dependency that lives only in the dev extra looks fine locally but is missing from a real uvx/pip install. Before tagging, run uv build, then uvx --from ./dist/aegis_stack-<ver>-py3-none-any.whl aegis update -y -p <fresh prev-release project> -t <repo> --to-version HEAD, and assert zero conflict markers and a completed post-gen run. Confirm tests/test_runtime_dependencies.py exists and passes; it guards ruff specifically for this exact failure mode.

TestPyPI upgrade-path verification recipe (used in Procedure steps 7 and 10):

bash
uvx --index-url https://test.pypi.org/simple/ \
    --extra-index-url https://pypi.org/simple/ \
    --index-strategy unsafe-best-match \
    aegis-stack@<prev-version> init test-upgrade-project --no-interactive -y

cd test-upgrade-project
uvx --index-url https://test.pypi.org/simple/ \
    --extra-index-url https://pypi.org/simple/ \
    --index-strategy unsafe-best-match \
    aegis-stack@<rc-version> update -y

Pitfalls

  • This procedure describes git add, git commit, git tag, and git push as the steps that must happen, but per the repo git policy the agent runs no git command without explicit user approval; stop and ask before each, the same as any other workflow.
  • A burned rc version string (any rc that ever reached TestPyPI) can never be reused, even after deletion: PyPI/TestPyPI reject the filename permanently, and re-running the same tag replays the same HTTP 400. Always increment to the next rc number instead of re-tagging.
  • Never pass skip-existing to the publish step: TestPyPI would then keep serving the stale build under that filename instead of failing loudly, and the smoke test would silently verify the wrong artifact.
  • The release workflow triggers only on a tag push, not on a merge. Merging the version-bump PR into main publishes nothing; the actual publish and GitHub-release steps only run after git push origin vX.Y.Z[-rcN] against the merged commit.
  • A dependency that lives only in the dev extra (--all-extras in the repo's own test venv) passes every local and CI test yet is silently absent from a real uvx/pip install; this is exactly what the production-mode wheel test gate exists to catch, so do not skip it even when the other two gates are green.
  • UV_PYTHON=3.11 is tool-only: it belongs in the release/CI/canary jobs that build and test this CLI, and must never be set globally in the stack matrix, because generated projects require Python >= 3.13. Pair it with UV_LINK_MODE=copy to avoid broken cache hardlinks.
  • The changelog cut is easy to forget entirely since nothing fails loudly if it is skipped; verify the dated section exists and [Unreleased] is empty again before tagging, not just that the version files were bumped.

© lbedner, MIT. 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 lbedner/aegis-stack.

Open the folder on GitHubat commit fb708b7

Compare with similar skills

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.

Release compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Release this skilllbedner/aegis-stack143—~2kAutomated safety check: PassMIT
Releasezmievsa/cadwyn309—~522Automated safety check: PassMIT
MCP Server Trello Releasedelorenj/mcp-server-trello445—~3.5kAutomated safety check: PassMIT
Senior Fullstackalirezarezvani/claude-skills28k1 repos~3.7kAutomated safety check: NotesMIT
Repo Scaffoldmajiayu000/spellbook286—~651Automated safety check: PassMIT
Senior Fullstackborghei/Claude-Skills881—~1.7kAutomated safety check: PassMIT

Similar skills

  • Release

    zmievsa/cadwyn

    Prepare and publish Cadwyn releases. An agent skill from zmievsa/cadwyn.

    309 GitHub stars~522 tokensUpdated today
    DevelopmentAuto-check passed
  • MCP Server Trello Release

    delorenj/mcp-server-trello

    Canonical build → release → tag → publish procedure for the @delorenj/mcp-server-trello repo.

    445 GitHub stars~3.5k tokensUpdated 14 days ago
    DevelopmentAuto-check passed
  • Senior Fullstack

    alirezarezvani/claude-skills

    Fullstack development toolkit with project scaffolding for Next.js, FastAPI, MERN, and Django stacks, code quality analysis with security and complexity scoring, and stack selection guidance.

    28k GitHub starsUsed in 1 repo~3.7k tokens
    DevelopmentAuto-check: notes
  • Repo Scaffold

    majiayu000/spellbook

    Scaffold or standardize a production-ready repository structure with specs, source layout, tests, CI, agent context, config examples, release notes, and operational docs.

    286 GitHub stars~651 tokensUpdated today
    DevelopmentAuto-check passed
  • Senior Fullstack

    borghei/Claude-Skills

    Fullstack development toolkit with project scaffolding for Next.js/FastAPI/MERN/Django stacks and code quality analysis.

    881 GitHub stars~1.7k tokensUpdated today
    DevelopmentAuto-check passed
  • Template Code Generator

    ArabelaTso/Skills-4-SE

    Generate boilerplate code and project templates/skeletons automatically.

    253 GitHub stars~2.4k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed

More from lbedner/aegis-stack

All 9 skills in this repo
  • Template Dev

    lbedner/aegis-stack

    A skill your agent uses when developing or modifying Copier templates in aegis/templates, or backporting a change from a generated project (e.g.

    143 GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Add CLI Command

    lbedner/aegis-stack

    A skill your agent uses when adding a command to the aegis tool CLI (the framework's own aegis ...

    143 GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Create Plugin

    lbedner/aegis-stack

    A skill your agent uses when building an Aegis Stack plugin, a separate package (aegis-stack-<name) that renders files into a project through aegis add <name.

    143 GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Execute Issue

    lbedner/aegis-stack

    A skill your agent uses when handed a GitHub issue (number or URL) to execute end to end.

    143 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • I18n

    lbedner/aegis-stack

    A skill your agent uses when a code or template change introduces a new translation message key, in either the framework CLI (aegis/i18n/locales/) or a generated project's CLI (the app/i18n/locales/…

    143 GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Squash Branch

    lbedner/aegis-stack

    A skill your agent uses when collapsing a feature branch into a single commit before opening or merging a PR.

    143 GitHub stars~660 tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Release

What does Release do?

A skill your agent uses when cutting a release of the aegis-stack package. Release is an agent skill from lbedner/aegis-stack. Use when cutting a release of the aegis-stack package.

When should I use Release?

Release fits situations like: cutting a release of the aegis-stack package; the publish workflow.

How do I install Release in Claude Code?

Run `npx skills add lbedner/aegis-stack --skill release -a claude-code`. Or copy the skill folder (.claude/skills/release in lbedner/aegis-stack) into .claude/skills/release in your project. Claude Code loads it when a task matches its description.

How do I install Release in Codex?

Run `npx skills add lbedner/aegis-stack --skill release -a codex`. Or copy the skill folder (.claude/skills/release in lbedner/aegis-stack) into .agents/skills/release in your project. Codex loads it when a task matches its description.

Can I use 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 lbedner/aegis-stack --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 Release need to run?

Going by SKILL.md and its folder, Release needs the command-line tools its instructions call (git, make, uvx and uv). Our summary lists: Python 3.

Does Release access the network?

SKILL.md names 2 domains. In commands or code: test.pypi.org and pypi.org; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is 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 Release use?

Release is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Release use?

About 2k tokens (SKILL.md is roughly 8.2k 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 Release?

Skills that share tags, products or a category with Release: Release (zmievsa/cadwyn, 309 stars), MCP Server Trello Release (delorenj/mcp-server-trello, 445 stars), Senior Fullstack (alirezarezvani/claude-skills, 28k stars) and Repo Scaffold (majiayu000/spellbook, 286 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Release?

lbedner (a GitHub user) maintains it in lbedner/aegis-stack, which has 143 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 8, 2026.

Source: lbedner/aegis-stack on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.