medcore-cut-release

Publish a MedCore GitHub release after validating CI and stamping the CHANGELOG.

2|3|Updated Apr 13, 2026
One-click install
npx skills add https://github.com/Globussoft-Technologies/medcore --skill medcore-cut-release
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: medcore-cut-release
Source: https://github.com/Globussoft-Technologies/medcore/tree/main/.claude/skills/medcore-cut-release
Command: npx skills add https://github.com/Globussoft-Technologies/medcore --skill medcore-cut-release

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill removes the error-prone, multi-step process of cutting a real MedCore GitHub release—ensuring the correct CHANGELOG section is stamped, the tag points to the intended commit, and the release is published cleanly after a successful CI gate.

Core Features & Use Cases

  • Release pre-flight validation: checks main state and confirms the release.yml workflow is green before tagging or publishing.
  • CHANGELOG stamping with correct layout: moves entries from [Unreleased] into a new version section while keeping a fresh [Unreleased] placeholder above it.
  • Correct GitHub release publication: creates an annotated tag at HEAD (after the stamp commit) and publishes a non-draft GitHub release using the versioned CHANGELOG section as the release notes.
  • Version bump guidance: derives or suggests patch/minor/major bump rationale based on commits since the previous tag and whether breaking changes are documented.
  • Deployment-correlation transparency: includes guidance to cite the validated SHA in the release body, while acknowledging that the tagged stamp commit is docs-only.

Quick Start

Ask the AI to cut and publish a MedCore GitHub release from the current main branch based on the existing CHANGELOG and the latest green release.yml run.

Frequently Asked Questions about medcore-cut-release

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate a GitHub release from a green CI workflow?

Automating a GitHub release from a green CI workflow involves validating the release.yml run status, moving CHANGELOG entries to a new version section, tagging HEAD, and publishing the release with extracted notes. This automates pre-flight checks and tag creation in one step.

How do I keep a fresh [Unreleased] block when stamping a Keep-a-Changelog file?

Keeping a fresh [Unreleased] block when stamping a Keep-a-Changelog file requires moving current entries into a new version section while inserting an empty [Unreleased] placeholder above it, ensuring the changelog layout remains valid for future updates before tagging HEAD.

Does this release automation process check if the main branch CI is green before tagging?

Yes, the release automation process checks if the main branch CI is green before tagging. It performs safe pre-flight validation to confirm the release.yml workflow has passed successfully on main before stamping the CHANGELOG and cutting a release.

How do I extract versioned release notes from a CHANGELOG without hitting GitHub limits?

Extracting versioned release notes from a CHANGELOG within GitHub limits requires deterministic extraction of the specific version section. The process slices the correctly formatted Keep-a-Changelog section and uses it directly as the published GitHub release body.

Why should I avoid using gh release create --target for cutting releases?

You should avoid using gh release create --target for cutting releases because it can result in invalid tag targeting. The correct approach creates an annotated tag at HEAD after the stamp commit, then publishes a non-draft release using the extracted CHANGELOG notes.

How do I determine patch, minor, or major version bumps from commits?

Determining patch, minor, or major version bumps from commits involves analyzing commit history since the previous tag and checking for documented breaking changes. This rationale derives the appropriate semantic version bump for the new release section.