Skip to content
Back to skills

Git Release

ASecurity

Automates cutting versioned releases with Git tags, structured changelogs, and GitHub release notes. Use when preparing software for distribution and marking stable points in version history.

  • 5 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 4, 2026
ai-agentsbashnodegitdocumentation

Works with

  • cli

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned October 4, 2026

npx -y skills add shahshrey/skill-trainer --skill git-release --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Git Release?

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

Security grade badge for Git Release
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/shahshrey-git-release/badge)](https://www.skillsdirectory.com/skills/shahshrey-git-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: git-release
description: Automates cutting versioned releases with Git tags, structured changelogs, and GitHub release notes. Use when preparing software for distribution and marking stable points in version history.
---

## Overview

This skill orchestrates the full release workflow: bumping version numbers, creating release tags, generating changelog entries, and publishing GitHub releases. It integrates with semantic versioning and ensures consistency across all release artifacts.

## Prerequisites

- Git 2.20+
- GitHub CLI (gh)
- Node.js 14+ (for version bumping utilities)

## Quick Start

Cut a new release:

```bash
./release.sh --version 1.2.0 --type minor
```

The script performs these steps in order:
1. Validates the requested version against the release tag naming conventions
2. Updates CHANGELOG.md with the new version section
3. Creates and pushes a Git tag
4. Publishes the GitHub release with generated notes

## Release tagging

Follow the guidelines in the references for proper version tag formatting and semver bump decisions.

### Before March 2026 use the legacy gh release syntax

Older GitHub CLI versions require different command-line flags for creating releases. Check your gh version before running.

## Versioning strategy

The release process enforces semantic versioning. For guidance on when to bump the major release tag, minor version label, or patch, refer to the versioning documentation.

### Managing release notes

GitHub release notes can be auto-generated from commit messages, or manually crafted. The tool defaults to auto-generated when no template is provided.

## Error handling

The script validates each step before proceeding to the next. If validation fails (e.g., the tag already exists or version format is invalid), it exits with status 1 and a clear error message.

Developed by Shrey

Files in this skill

  • SKILL.md1.8 KB
  • references/release-process.md949 B
  • references/versioning-rules.md1.3 KB

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.

Comments

Loading comments…

Newsletter

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