GI

github-repo-publish

Automates the release promotion process including GitFlow branching, version tagging, and GitHub release creation.

Install

mkdir -p .claude/skills/github-repo-publish && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/17923" && unzip -o skill.zip -d .claude/skills/github-repo-publish && rm skill.zip

Installs to .claude/skills/github-repo-publish

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Project-specific skill for publishing this repository to GitHub with repeatable release operations (gitflow promotion, tagging, GitHub release).
144 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Publish this repository to GitHub
  • Prepare a version release
  • Create a GitHub release from current code
  • Run project GitFlow promotion for release

How it works

The skill executes a project release pipeline by promoting branches, tagging releases, and creating GitHub releases, while performing required checks.

Inputs & outputs

You give it
Feature name, release version, and release notes file
You get back
A GitHub release, promoted branches, and git tags

When to use github-repo-publish

  • Promote features to release branch
  • Prepare a repository for a new version
  • Create a GitHub release
  • Verify repo status before publishing

About this skill

Publish This Repository to GitHub

Direct Invocation

Use one command to execute publish flow:

python3 tools/run_github_publish.py --feature <feature> --release <release> --version <version> --release-notes-file release-notes/<version>.md

When to Use

Use this skill when the user asks to:

  • publish/open-source this repo
  • prepare a version release
  • create a GitHub release from current code
  • run project GitFlow promotion for release

Required Checks

Run these before any release action:

  1. python3 tools/check_aief_l3.py --root .
  2. Ensure working tree is clean (git status -sb)
  3. Verify README.md and LICENSE exist

AIEF Single-Directory Mode

When retrofitting AIEF assets into a dedicated base folder:

npx --yes @tongsh6/aief-init@latest retrofit --level L1 --base-dir AIEF

Expected directories:

  • AIEF/context/
  • AIEF/workflow/
  • AIEF/docs/standards/
  • AIEF/templates/
  • AIEF/scripts/

Branch and Release Flow

Project release flow:

main -> feature -> develop -> release -> main

Branch retention policy:

  • delete merged feature/*
  • keep release/*

Use the project script:

python3 tools/run_gitflow_release.py --feature <topic> --release <version> --create-feature

Preview without execution:

python3 tools/run_gitflow_release.py --feature <topic> --release <version> --create-feature --dry-run

GitHub Release Steps

After code promotion to main:

git checkout main
git pull --ff-only origin main
git tag vX.Y.Z
git push origin vX.Y.Z
gh release create vX.Y.Z --title "vX.Y.Z" --notes-file release-notes/vX.Y.Z.md

Guardrails

  • Never force push main
  • Never publish secrets (.env*, credentials, keys)
  • Never skip release verification commands

When not to use it

  • When force pushing `main`
  • When publishing secrets
  • When skipping release verification commands

Limitations

  • Never force push `main`
  • Never publish secrets (`.env*`, credentials, keys)
  • Never skip release verification commands

How it compares

This skill automates the entire GitHub release process, including GitFlow promotion and release creation, ensuring repeatable and verified releases.

Compared to similar skills

github-repo-publish side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
github-repo-publish (this skill)04moReviewIntermediate
github-release-management45moReviewAdvanced
agent-release-swarm15moReviewAdvanced
magerun-release15moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry