Index of every page on this site: llms.txt
All skills
github avatar

/github-release

@f10fdb8 official
by githubgithub/awesome-copilot42k stars
5,426
Run it yourself

Guides IA through releasing a new version of a GitHub library end-to-end. Handles SemVer versioning and Keep a Changelog formatting automatically.

Use this Skill: https://skilld.dev/gh/github/awesome-copilot/github-release

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencessemver-rules.md

≈750 tokens on demand. Your agent reads this file only when SKILL.md points to it.

SemVer Decision Rules

Reference: https://semver.org/


Version format

vMAJOR.MINOR.PATCH
  • MAJOR — incompatible API changes
  • MINOR — new backward-compatible functionality
  • PATCH — backward-compatible bug fixes

Pre-1.0 note: if the current version is 0.x.y, anything goes — MINOR bumps are common for breaking changes. Once past 1.0.0, the rules below apply strictly.


What counts as a MAJOR bump (breaking change)

Breaking changes are any modifications that could cause a consumer of the library to experience a compile error, runtime error, or behavior change without changing their own code.

Examples:

  • Removing a public function, class, method, or constant
  • Renaming a public function, class, method, or constant
  • Changing a function signature (adding required parameters, removing parameters, changing parameter types, changing return type)
  • Changing observable behavior that callers depend on (e.g., error types thrown, event names emitted, return value shape)
  • Changing a required configuration key or its accepted values
  • Dropping support for a runtime/language version that was previously supported
  • Removing or renaming a publicly exported module path

When in doubt, prefer a MAJOR bump over a MINOR. It's better to signal a breaking change than to silently break consumers.


What counts as a MINOR bump (new feature)

  • Adding a new public function, class, method, or constant
  • Adding optional parameters to an existing function (with backward-compatible defaults)
  • Implementing a new protocol/interface that doesn't affect existing ones
  • Adding new configuration keys with sensible defaults
  • Deprecating (but not removing) a public API — removal comes in a future MAJOR

What counts as a PATCH bump

  • Fixing a bug where behavior was incorrect relative to documented intent
  • Improving performance without changing the public API
  • Internal refactoring with no external observable difference
  • Documentation updates
  • Dependency updates that don't change the library's own public surface
  • CI/CD, test, tooling changes
  • Security fixes that don't break the API

Multiple changes — precedence

When a release contains a mix of change types, the highest precedence wins:

MAJOR > MINOR > PATCH

One breaking change + ten new features = MAJOR bump.


First release (no prior tags)

Default to 1.0.0 regardless of what's in the diff. Inform the user.


Edge cases

Situation Recommendation
Only internal/private symbols changed PATCH
Type annotation added to previously untyped function PATCH (non-breaking)
Changing default value of optional parameter Treat as MAJOR if callers might rely on old default
Adding a new required config option to an optional block MINOR if the block itself is optional, otherwise MAJOR
Reverting a previous commit entirely Follow what the net diff shows, not the revert message

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    This skill automates the GitHub release process using the GitHub CLI and Git. While it follows secure practices for command execution, it is susceptible to indirect prompt injection because it analyzes untrusted data from commit logs and code diffs to generate changelogs and pull requests.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: MEDIUM · 1 issue

Signed by skilld at f10fdb8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 days ago.

Activeupdated 4 months ago
compatibility
requires: gh CLI and git
  • Git/VCS
  • github
  • release
  • semver
  • changelog
  • gh-cli
  • automation
  • versioning

README badge

README badge for github/awesome-copilot/github-release

Automates the full release workflow for a GitHub library, from analyzing code diffs to determine the next SemVer version, through changelog generation in Keep a Changelog format, to opening a release PR. Requires only gh CLI and git; handles version bumping, changelog authoring, and release branch creation end-to-end.

Generated from the current SKILL.md.

Does this skill work with monorepos or multi-package repositories?
No. This skill is designed for single-package GitHub repositories only. It analyzes the entire repo (or a specified public source directory) and cuts one release per invocation.
What version control systems does this support?
Git only. The skill relies on `git` commands to read tags, diffs, and commit history, and requires `gh` (GitHub CLI) for authentication and PR creation.
Does this automatically publish releases or create GitHub Release objects?
No. The skill creates a release PR with a changelog entry and provides instructions for tagging and pushing. The user must merge the PR and run the final tag commands manually.
Can I customize the changelog format?
The skill enforces Keep a Changelog format strictly. It will show you the proposed changelog section for review and incorporate feedback before writing, but the overall structure follows the standard format.
What happens if there are no Git tags in the repository?
If no version tags exist, the skill treats the previous version as `(none)`, defaults the new version to `1.0.0`, and skips the SemVer bump logic in Step 4.

Generated from the current SKILL.md. These answers refresh after source changes.