xarchitecture
Design, analyze, and evolve system architecture using Domain-Driven Design, 12-Factor App, and proven patterns
Comprehensive release management with planning, coordination, deployment automation, and monitoring
How it fires
How this command gets triggered: by you, by Claude, or both.
/xreleaseContext preview
What this command does when you run it.
Comprehensive release management with planning, coordination, deployment automation, and monitoring
description: Comprehensive release management with planning, coordination, deployment automation, and monitoring tags: [release, deployment, planning, coordination, automation, monitoring, rollback]
Manage comprehensive release operations based on the arguments provided in $ARGUMENTS.
**Basic release analysis:**
/xrelease
**Plan release:**
/xrelease --plan
**Deploy release:**
/xrelease --deploy
**Help and options:**
/xrelease --help
If $ARGUMENTS contains "help" or "--help": Display this usage information and exit.
First, examine the project release environment and status: !git tag --sort=-version:refname | head -10 2>/dev/null || echo "No git tags found" !git log --oneline -10 2>/dev/null || echo "No git repository found" !find . -name "CHANGELOG*" -o -name "RELEASE*" | head -3 !ls -la package.json setup.py pyproject.toml 2>/dev/null || echo "No version files found"
Based on $ARGUMENTS, perform the appropriate release operation:
If planning release (--plan): !git log --since="$(git describe --tags --abbrev=0 2>/dev/null)..HEAD" --oneline | wc -l 2>/dev/null || echo "No previous releases" !find . -name "*.md" | xargs grep -l "BREAKING" | head -3 2>/dev/null || echo "No breaking changes documented" !git diff --name-only HEAD~10..HEAD | head -10 2>/dev/null
Create comprehensive release plan:
If generating release notes (--notes): !git log --since="$(git describe --tags --abbrev=0 2>/dev/null)" --pretty=format:"%h %s" 2>/dev/null | head -20 !find . -name "CHANGELOG*" | head -1 !git log --grep="feat\|fix\|BREAKING" --oneline --since="$(git describe --tags --abbrev=0 2>/dev/null)" 2>/dev/null | head -10
Generate release documentation:
If deploying release (--deploy): !docker --version 2>/dev/null || echo "Docker not available" !kubectl version --client 2>/dev/null || echo "Kubernetes not available" !find . -name "Dockerfile" -o -name "docker-compose.yml" | head -3
Execute release deployment:
If executing rollback (--rollback): !git tag --sort=-version:refname | head -5 !docker images --format "table {{.Repository}}:{{.Tag}}" 2>/dev/null | head -5 !kubectl get deployments 2>/dev/null || echo "No Kubernetes deployments"
Execute rollback procedures:
If validating release (--validate, --gate): !python -m pytest --tb=short 2>/dev/null || npm test 2>/dev/null || echo "No tests configured" !find . -name "*security*" -o -name "*audit*" | head -3 !git log --grep="security\|vulnerability" --oneline | head -5
Validate release quality:
Think step by step about release management requirements and provide:
1. **Release Planning Assessment**:
2. **Documentation and Communication**:
3. **Deployment Strategy**:
4. **Quality Assurance**:
Generate comprehensive release management with automated planning, coordinated deployment, quality validation, and monitoring integration.
If no specific operation is provided, analyze current release status and recommend next steps based on project state and release readiness criteria.
Transform Claude Code into a complete development platform with 45 AI-powered commands that automate your entire software development workflow. Now with improved git identity management!
Design, analyze, and evolve system architecture using Domain-Driven Design, 12-Factor App, and proven patterns
Manage project configuration files, environment variables, and application settings
Continue an execution plan from where it left off across sessions
Interactive debugging support with error analysis and fix suggestions - integrates with Debug Specialist sub-agent for complex…