Umbraco.Automate: Skill for Claude Code

.claude/skills/post-release-cleanup/SKILL.md

post-release-cleanup is a skill for Claude Code from umbraco/Umbraco.Automate. It costs 86 tokens per session (2,421 once invoked), scanned A, original, MIT.

A release-cleanup skill for merging a released or emergency-fix branch back into its version line and updating version information for nightly builds.

In plain words
What is it for?
It is for processing release or hotfix branches, merging them into the matching main and development branches, bumping the development version, optionally deleting the branch, and creating the next major-version line when required.
Why use it?
It keeps release and development branches aligned and prevents nightly package versions from sorting below the stable release.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

This is umbraco/Umbraco.Automate's own configuration. It tells Claude Code how to work on Umbraco.Automate itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Umbraco.Automate configures →

Reuse

Borrowing it

Nothing to install: this file belongs to umbraco/Umbraco.Automate. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/umbraco/Umbraco.Automate/v18/dev/.claude/skills/post-release-cleanup/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/umbraco/Umbraco.Automate

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for post-release-cleanup

README.md
[![agentmods](https://agentmods.dev/badge/skills/umbraco/umbraco.automate/post-release-cleanup/github.svg)](https://agentmods.dev/skills/umbraco/umbraco.automate/post-release-cleanup)
Your own site
<a href="https://agentmods.dev/skills/umbraco/umbraco.automate/post-release-cleanup"><img src="https://agentmods.dev/badge/skills/umbraco/umbraco.automate/post-release-cleanup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for post-release-cleanup

Your own site · 80×15
<a href="https://agentmods.dev/skills/umbraco/umbraco.automate/post-release-cleanup"><img src="https://agentmods.dev/badge/skills/umbraco/umbraco.automate/post-release-cleanup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,421 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00086 $0.02421
Opus 5 $0.00043 $0.01210
Sonnet 5 $0.00017 $0.00484
Haiku 4.5 $0.00009 $0.00242

Measured 10d ago against content hash 76b5194548e7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

post-release-cleanup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/post-release-cleanup/SKILL.md · 256 lines

How it starts

The opening of the file, as written. The whole thing — 256 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Post-Release Cleanup

You are the orchestrator for post-release cleanup in the Umbraco.Automate repository.

Task

After a release has been deployed and tagged by the release pipeline, merge the release/hotfix branch back into main and dev, bump version.json on dev so nightly builds produce versions higher than the released version, and optionally clean up the branch.

Why This Matters

Without the version bump on dev, NBGV + Umbraco.GitVersioning.Extensions produces packages like 1.5.0--preview.4.gabcdef0 which sorts lower than the stable 1.5.0 in SemVer — making nightlies useless for testing.

Workflow

Phase 1: Detect Release Context

  1. Check current branch — verify it is vN/release/* or vN/hotfix/*:

    git branch --show-current
    

    If not on a release/hotfix branch, ask the user to specify which branch to process.

    Extract the version prefix from the branch — every long-term branch is version-prefixed:

    # e.g. v18/release/2026.06.5 → prefix=v18, major=18
    #      v17/hotfix/2026.06.1  → prefix=v17, major=17
    release_branch=$(git branch --show-current)
    prefix=$(echo "$release_branch" | grep -oE '^v[0-9]+')
    major=$(echo "$prefix" | grep -oE '[0-9]+')
    

    If the branch does not start with vN/, ask the user which version line to target.

  2. Fetch latest tags and remote state:

    git fetch origin --tags
    
  3. Find product version tags on this branch that are not yet on main:

    # Get the merge-base between the release branch and this line's main
    merge_base=$(git merge-base origin/$prefix/main HEAD)
    
    # Get all commits on the release branch since the merge-base
    commits=$(git rev-list $merge_base..HEAD)
    
    # For each product tag matching *@*, check if it points at one of these commits
    for tag in $(git tag --list '*@*'); do
        tag_commit=$(git rev-parse "$tag^{commit}" 2>/dev/null)
        if echo "$commits" | grep -q "$tag_commit"; then
            echo "$tag"
        fi
    done
    

Read the full file on GitHub · 256 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 256 lines · 86 tokens per session scan A 76b5194548e7

Subscribe to this mod's changes

post-release-cleanup is a skill published in the GitHub repository umbraco/Umbraco.Automate (5 stars, last pushed 2d ago), licensed MIT. It adds 86 tokens to every session and 2,421 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.