Install any skill in seconds. Free to start, no credit card required.
Get Started Free →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'.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-06 | ✗→✓ | ▲ Improved | -36% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -27% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 16% | 0% |
| case-12 | ✗→✓ | ▲ Improved | -19% | 0% |
| case-15 | ✗→✓ | ▲ Improved | -14% | 0% |
Sanitize and release projects to GitHub. Two-phase workflow: safety checks first, then tag and publish.
gh CLI installed and authenticated (gh auth status)gitleaks installed for secrets scanning (brew install gitleaks or download from GitHub)Run these checks before any public release. Stop on blockers.
bashgitleaks 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
Check for and remove session/planning files that shouldn't be published:
SESSION.md — session stateplanning/, screenshots/ — working directoriestest-*.ts, test-*.js — local test filesEither delete them or add to .gitignore.
bashls 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.
Check README exists and has basic sections:
bashgrep -i "## Install\|## Usage\|## License" README.md
If missing sections, add them before release.
Verify essential patterns are present:
bashgrep -E "node_modules|\.env|dist/|\.dev\.vars" .gitignore
bashnpm run build 2>&1
bashnpm audit --audit-level=high
If any changes were made during sanitization:
bashgit add -A git commit -m "chore: prepare for release"
Check package.json for current version, or ask the user. Ensure version starts with v prefix.
bashgit tag -l "v[version]"
If it exists, ask user whether to delete and recreate or use a different version.
bashLAST_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
bashgit tag -a v[version] -m "Release v[version]" git push origin $(git branch --show-current) git push origin --tags
bashgh release create v[version] \ --title "Release v[version]" \ --notes "[auto-generated from commits]"
For pre-releases add --prerelease. For drafts add --draft.
Show the user:
| When | Read | |------|------| | Detailed safety checks | references/safety-checklist.md | | Release mechanics | references/release-workflow.md |
Other measured skills in the registry, with their headline benchmark lift.