cleanup-cache
Clean system caches (npm, Homebrew, Yarn, browsers, Python/ML) to free disk space
Create a new Git Flow release branch from develop with version bumping and changelog generation
$ npx -y skills add davila7/claude-code-templates --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/releaseContext preview
What this command does when you run it.
Create a new Git Flow release branch from develop with version bumping and changelog generation
allowed-tools: Bash(git:*), Read, Edit, Write argument-hint: <version> description: Create a new Git Flow release branch from develop with version bumping and changelog generation
Create new release branch: **$ARGUMENTS**
Create a Git Flow release branch following these steps:
Validate the version format and ensure it's newer than current:
**Version Format Requirements:**
**Version Increment Logic:**
Analyze commits since last tag to suggest version:
**Current Version Analysis:**
Latest tag: [from git describe] Suggested version: [based on commit analysis] Provided version: $ARGUMENTS
If version is invalid or not newer, show:
❌ Invalid version format: "$ARGUMENTS" ✅ Use semantic versioning: vMAJOR.MINOR.PATCH Examples: - v1.0.0 (initial release) - v1.2.0 (new features) - v1.2.1 (bug fixes) - v2.0.0 (breaking changes) - v1.0.0-beta.1 (pre-release) 💡 Suggested version based on commits: v1.3.0
# Switch to develop and update
git checkout develop
git pull origin develop
# Create release branch
git checkout -b release/$ARGUMENTS
# Update package.json version (if Node.js project)
npm version ${ARGUMENTS#v} --no-git-tag-version
# Generate CHANGELOG.md from commits
# (analyze git log since last tag)
# Commit version bump
git add package.json CHANGELOG.md
git commit -m "chore(release): bump version to ${ARGUMENTS#v}
- Updated package.json version
- Generated CHANGELOG.md from commits
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>"
# Push to remote with tracking
git push -u origin release/$ARGUMENTSGenerate changelog from commits since last tag, grouped by type:
# Changelog ## [$ARGUMENTS] - [Current Date] ### ✨ Features - [List all feat: commits with PR links] ### 🐛 Bug Fixes - [List all fix: commits with PR links] ### 📝 Documentation - [List all docs: commits] ### ♻️ Refactoring - [List all refactor: commits] ### ⚡️ Performance - [List all perf: commits] ### 🔒️ Security - [List all security-related commits] ### 💥 Breaking Changes - [List all commits with BREAKING CHANGE] ### 🧪 Tests - [List all test: commits] ### 🔧 Chore - [List all chore: commits]
Display this checklist after creation:
🚀 Release Checklist for $ARGUMENTS Pre-Release Tasks: - [ ] All tests passing (run: npm test) - [ ] Documentation updated - [ ] CHANGELOG.md reviewed and accurate - [ ] Version numbers consistent across files - [ ] No breaking changes (or properly documented) - [ ] Dependencies updated (run: npm audit) Testing Tasks: - [ ] Manual testing completed - [ ] Regression tests passed - [ ] Performance benchmarks acceptable - [ ] Security scan clean (run: npm audit) - [ ] Cross-browser testing (if applicable) Deployment Preparation: - [ ] Staging deployment successful - [ ] Production deployment plan reviewed - [ ] Rollback plan documented - [ ] Monitoring and alerts configured Final Steps: - [ ] Create PR to main (run: gh pr create) - [ ] Get required approvals (minimum 2 reviewers) - [ ] Run /finish to merge and tag release - [ ] Announce release to team 🎯 Next Commands: - Review CHANGELOG: cat CHANGELOG.md - Run tests: npm test - Create PR: gh pr create --base main --head release/$ARGUMENTS - When ready: /finish
✓ Switched to develop branch
✓ Pulled latest changes from origin/develop
✓ Created branch: release/$ARGUMENTS
✓ Updated package.json version to ${ARGUMENTS#v}
✓ Generated CHANGELOG.md (15 commits analyzed)
✓ Committed version bump changes
✓ Set up remote tracking: origin/release/$ARGUMENTS
✓ Pushed branch to remote
🚀 Release Branch Ready: $ARGUMENTS
Branch: release/$ARGUMENTS
Base: develop
Target: main (after review)
📊 Release Statistics:
- 5 new features
- 3 bug fixes
- 1 performance improvement
- 0 breaking changes
- 2 documentation updates
📝 CHANGELOG Summary:
- Created with 15 commits
- Grouped by commit type
- Includes PR references
- Ready for review
🎯 Next Steps:
1. Review CHANGELOG.md for accuracy
2. Run final tests: npm test
3. Test on staging environment
4. Create PR to main: gh pr create
5. Get team approvals
6. Run /finish to complete release
💡 Release Tips:
- No new features should be added to release branch
- Only bug fixes and documentation updates allowed
- Keep release branch short-lived (hours, not days)
- Tag will be created automatically when merged to main**No Version Provided:**
❌ Version is required Usage: /release <version> Examples: /release v1.2.0 /release v2.0.0-beta.1 Current version: v1.1.0 Suggested version: v1.2.0 (based on commits)
**Invalid Version Format:**
❌ Invalid version format: "1.0" ✅ Correct format: v1.0.0 (must start with 'v') Examples: ✅ v1.0.0 ✅ v2.1.3 ✅ v1.0.0-beta.1 ❌ 1.0.0 (missing 'v') ❌ v1.0 (incomplete) ❌ version-1.0.0 (wrong format)
**Version Not Incremented:**
❌ Versi
Ready-to-use configurations for Anthropic's Claude Code. A comprehensive collection of AI agents, custom commands, settings, hooks, external integrations (MCPs), and project templates to enhance your development workflow.
Repo: davila7/claude-code-templates
Clean system caches (npm, Homebrew, Yarn, browsers, Python/ML) to free disk space
Create an SEO-optimized blog article for a Claude Code component with AI-generated cover image