Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
jezweb avatar

Github Release

  • 1.1k installs
  • 946 repo stars
  • Updated July 2, 2026
  • jezweb/claude-skills

github-release provides documented workflows for Prepare and publish GitHub releases. Sanitizes code for public release (secrets scan, personal artifacts, LICENSE/README validation), creates version tags, and

About

The github-release skill prepare and publish GitHub releases Sanitizes code for public release secrets scan personal artifacts LICENSE README validation creates version tags and publishes via gh CLI Trigger with release publish open source prepare for release create release or github release GitHub Release Sanitize and release projects to GitHub Two-phase workflow safety checks first then tag and publish Prerequisites gh CLI installed and authenticated gh auth status gitleaks installed for secrets scanning brew install gitleaks or download from GitHub Git repository with a remote configured Workflow Phase 1 Sanitize Run these checks before any public release Scan for Secrets BLOCKER bash gitleaks detect no-git source verbose If secrets found STOP Remove secrets move to environment variables Check git history with git log S secret_value if in history use BFG Repo-Cleaner If gitleaks not installed do manual checks bash Check for env files find name env not path node_modules Check config files for hardcoded secrets grep ri api_key token secret password wrangler toml wrangler jsonc dev vars 2 dev null

  • `gh` CLI installed and authenticated (`gh auth status`)
  • `gitleaks` installed for secrets scanning (`brew install gitleaks` or download from GitHub)
  • Git repository with a remote configured
  • `SESSION.md` - session state
  • `planning/`, `screenshots/` - working directories

Github Release by the numbers

  • 1,135 all-time installs (skills.sh)
  • +21 installs in the week ending Jul 29, 2026 (Skillselion tracking)
  • Ranked #23 of 248 Release Management skills by installs in the Skillselion catalog
  • Security screen: HIGH risk (skills.sh audit)
  • Data as of Jul 31, 2026 (Skillselion catalog sync)
At a glance

github-release capabilities & compatibility

Capabilities
`gh` cli installed and authenticated (`gh auth s · `gitleaks` installed for secrets scanning (`brew · git repository with a remote configured · `session.md` session state · `planning/`, `screenshots/` working directorie
Use cases
documentation
From the docs

What github-release says it does

# GitHub Release Sanitize and release projects to GitHub.
SKILL.md
Two-phase workflow: safety checks first, then tag and publish.
SKILL.md
npx skills add https://github.com/jezweb/claude-skills --skill github-release

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1.1k
repo stars946
Security audit3 / 3 scanners passed
Last updatedJuly 2, 2026
Repositoryjezweb/claude-skills

How do I use github-release for the task described in its SKILL.md triggers?

Prepare and publish GitHub releases. Sanitizes code for public release (secrets scan, personal artifacts, LICENSE/README validation), creates version tags, and publishes via gh CLI. Trigger with 'rel.

Who is it for?

Teams invoking github-release when the user request matches documented triggers and prerequisites.

Skip if: Skip when cached docs are missing, the request is a negative trigger, or another sibling skill owns the workflow.

When should I use this skill?

Prepare and publish GitHub releases. Sanitizes code for public release (secrets scan, personal artifacts, LICENSE/README validation), creates version tags, and publishes via gh CLI. Trigger with 'release', 'publish', 'op

What you get

Step-by-step guidance grounded in github-release documentation and reference files.

  • Git release tags
  • Changelog text
  • GitHub release

By the numbers

  • Reads version from package.json via node -p require('./package.json').version
  • Supports monorepo scoped tags such as mypackage-v1.0.0

Files

SKILL.mdMarkdownGitHub ↗

GitHub Release

Sanitize and release projects to GitHub. Two-phase workflow: safety checks first, then tag and publish.

Prerequisites

  • gh CLI installed and authenticated (gh auth status)
  • gitleaks installed for secrets scanning (brew install gitleaks or download from GitHub)
  • Git repository with a remote configured

Workflow

Phase 1: Sanitize

Run these checks before any public release. Stop on blockers.

1. Scan for Secrets (BLOCKER)
gitleaks detect --no-git --source=. --verbose

If secrets found: STOP. Remove secrets, move to environment variables. Check git history with git log -S "secret_value" — if in history, use BFG Repo-Cleaner.

If gitleaks not installed, do manual checks:

# Check for .env files
find . -name ".env*" -not -path "*/node_modules/*"

# Check config files for hardcoded secrets
grep -ri "api_key\|token\|secret\|password" wrangler.toml wrangler.jsonc .dev.vars 2>/dev/null
2. Remove Personal Artifacts

Check for and remove session/planning files that shouldn't be published:

  • SESSION.md — session state
  • planning/, screenshots/ — working directories
  • test-*.ts, test-*.js — local test files

Either delete them or add to .gitignore.

3. Validate LICENSE
ls LICENSE LICENSE.md LICENSE.txt 2>/dev/null

If missing: create one. Check the repo visibility (gh repo view --json visibility -q '.visibility'). Use MIT for public repos. For private repos, consider a proprietary license instead.

4. Validate README

Check README exists and has basic sections:

grep -i "## Install\|## Usage\|## License" README.md

If missing sections, add them before release.

5. Check .gitignore

Verify essential patterns are present:

grep -E "node_modules|\.env|dist/|\.dev\.vars" .gitignore
6. Build Test (non-blocking)
npm run build 2>&1
7. Dependency Audit (non-blocking)
npm audit --audit-level=high
8. Create Sanitization Commit

If any changes were made during sanitization:

git add -A
git commit -m "chore: prepare for release"

Phase 2: Release

1. Determine Version

Check package.json for current version, or ask the user. Ensure version starts with v prefix.

2. Check Tag Doesn't Exist
git tag -l "v[version]"

If it exists, ask user whether to delete and recreate or use a different version.

3. Show What's Being Released
LAST_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "")
if [ -z "$LAST_TAG" ]; then
  git log --oneline --no-merges HEAD | head -20
else
  git log --oneline --no-merges ${LAST_TAG}..HEAD
fi
4. Create Tag and Push
git tag -a v[version] -m "Release v[version]"
git push origin $(git branch --show-current)
git push origin --tags
5. Create GitHub Release
gh release create v[version] \
  --title "Release v[version]" \
  --notes "[auto-generated from commits]"

For pre-releases add --prerelease. For drafts add --draft.

6. Report

Show the user:

  • Release URL
  • Next steps (npm publish if applicable, announcements)

Reference Files

WhenRead
Detailed safety checksreferences/safety-checklist.md
Release mechanicsreferences/release-workflow.md

Related skills

How it compares

Choose github-release for guided git tag and GitHub release mechanics rather than App Store marketing copy or OWASP security audits.

FAQ

What does github-release do?

Prepare and publish GitHub releases. Sanitizes code for public release (secrets scan, personal artifacts, LICENSE/README validation), creates version tags, and publishes via gh CLI. Trigger with 'release', 'publish', 'op

When should I use github-release?

Prepare and publish GitHub releases. Sanitizes code for public release (secrets scan, personal artifacts, LICENSE/README validation), creates version tags, and publishes via gh CLI. Trigger with 'release', 'publish', 'op

What are common prerequisites?

--- name: github-release description: "Prepare and publish GitHub releases.

Is Github Release safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.