New advertisers: 50% off your first month with code FIRSTMONTHSee slots
jezweb avatar

Github Release

Prepare and publish GitHub releases with secrets scanning, sanitization checks, tagging, and gh CLI publishing.

skills.sh installs
1.4K
GitHub stars
1.1K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers two phases: a pre-release sanitization pass, then version tagging and release creation through the gh CLI
  • Includes a gitleaks secrets scan, removal of personal artifacts, and LICENSE, README, and .gitignore validation
  • Enforces a hard stop when secrets are found, pointing to BFG Repo-Cleaner for secrets already in git history
  • Designed for maintainers moving a private project to a public GitHub repository, with a manual fallback when gitleaks is absent

Install

$ npx -y skills add jezweb/claude-skills --skill github-release -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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:

Details

Repository
github.com/jezweb/claude-skills
Categories
Git & Releases, Security
First seen
Apr 16, 2026

More from jezweb/claude-skills

All 64

Similar to Github Release

More Git & Releases