Skip to main content
ClaudeWave
Slash Command238 estrellas del repoactualizado 4mo ago

push

The push command automates release management by analyzing commits since the last release, auto-detecting version bumps from conventional commits, and generating dual changelogs: a technical CHANGELOG.md in Keep a Changelog format for developers and a user-friendly RELEASE_NOTES.md with emojis and friendly scope names for marketing. Use this when ready to release, as it updates package.json files, creates git tags, pushes to GitHub, and supports full rollback on errors, with optional custom commit messages via the -m flag.

Instalar en Claude Code
Copiar
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/maslennikov-ig/claude-code-orchestrator-kit/HEAD/.claude/commands/push.md -o ~/.claude/commands/push.md
Después abre una sesión nueva de Claude Code; el slash command carga automáticamente.

push.md

Execute the release automation script with auto-confirmation for Claude Code.

**Features:**
- Auto-syncs package.json versions with latest git tag (prevents version conflicts)
- Analyzes commits since last release
- Auto-detects version bump type from conventional commits
- **Generates dual changelogs:**
  - `CHANGELOG.md` - Technical format (Keep a Changelog) for developers
  - `RELEASE_NOTES.md` - User-facing format with friendly language for marketing
- Updates all package.json files
- Creates git tag and pushes to GitHub
- Full rollback support on errors
- **Custom commit message** for uncommitted changes via `--message` / `-m` flag

**Generated RELEASE_NOTES.md format:**
- Friendly scope names (auth → Authentication, db → Database)
- Emojis for visual clarity (✨ Features, 🐛 Fixes, 🔒 Security)
- Skips technical commits (chore, ci, docs) not relevant to users
- Ready to copy for announcements, app stores, emails

**Tip:** Use `-m` with `feat:` or `fix:` prefix to include your changes in RELEASE_NOTES:
```bash
/push patch -m "feat(worker): add worker readiness pre-flight system"
```

**Usage:**

# Navigate to project root first
PROJECT_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || echo "$PWD")
cd "$PROJECT_ROOT" && bash .claude/scripts/release.sh $ARGUMENTS --yes