Skip to content
Back to skills

Tag

ASecurity

Cut the next version tag on the top commit of main and push it to the remote (v1.0.5 -> v1.0.6, v1.0.9 -> v1.1.0).

  • 5 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 3, 2026
ai-agentsbashgit

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add tpolasek/amber --skill tag --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tag?

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

Security grade badge for Tag
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tpolasek-tag/badge)](https://www.skillsdirectory.com/skills/tpolasek-tag)

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: tag
description: Cut the next version tag on the top commit of main and push it to the remote (v1.0.5 -> v1.0.6, v1.0.9 -> v1.1.0).
allowed-tools: Bash
---

Increment the version tag, tag the top commit on main, and push the tag.

1. Verify the current branch with `git rev-parse --abbrev-ref HEAD`. Abort without touching anything if it is not `main`.
2. Compute the next version with the repo script: `./next-tag.sh`. It prints the highest `v*` tag with the patch digit incremented, rolling over into the next section (`v1.0.5` -> `v1.0.6`, `v1.0.9` -> `v1.1.0`, `v1.9.9` -> `2.0.0`), and `v0.0.1` when no tags exist.
3. Abort if the new tag name already exists (`git rev-parse --verify`).
4. Tag the top commit with a lightweight tag (matching the existing repo convention): `git tag <new-tag>`.
5. Push only the tag to the remote: `git push origin <new-tag>`. Do not push any branches.

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 ai-agents →

Comments

Loading comments…

Newsletter

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