Orchestrates automated release workflows with quality gates, tests, staging/production deployments, canary rollouts, and rollbacks. Requires --version; supports --type hotfix, --rollback, --draft.
npx claudepluginhub fortiumpartners/ai-meshai-mesh/# /release - Automated Release Workflow Orchestration **Version**: 1.0.0 **Category**: Deployment **Agent**: release-agent ## Overview Automated release workflow orchestration with quality gates, smoke test integration, and deployment coordination. Supports standard releases, hotfix deployments, and automated rollback with comprehensive smoke test coverage at every checkpoint. ## Quick Start ## Release Workflow ### Standard Release (33 minutes) ### Hotfix Release (20 minutes) ### Rollback Workflow (10 minutes) ## Command Arguments ### Required Arguments #### `--version X....
/shipPrepares release artifacts (changelog, version, notes) and executes deployment with rollback plan documented.
/hatch3r-releaseCuts a semantic versioned release: generates changelog from merged PRs, bumps version in package.json based on PR types, runs quality checks, creates git tag and GitHub release.
/flow-deploy-to-productionOrchestrates production deployments with strategy selection (blue-green, canary, rolling), validation, regression detection, and automated rollback.
/releaseAutomates complete release workflow: analyzes git changes for semantic version bump, updates files/docs/changelog, commits/tags/pushes to remote, creates release on GitHub/GitLab/Bitbucket.
/hotfix-deployerAutomates emergency hotfix workflows: creates Git branches, deploys to production with validation/rollback, manages incidents. Supports create, deploy, rollback, incident subcommands.
/releasePrepares a new release by updating CHANGELOG.md with changes since last version, incrementing version based on change scope, and checking README.md.
Share bugs, ideas, or general feedback.
Version: 1.0.0 Category: Deployment Agent: release-agent
Automated release workflow orchestration with quality gates, smoke test integration, and deployment coordination. Supports standard releases, hotfix deployments, and automated rollback with comprehensive smoke test coverage at every checkpoint.
# Standard release with full quality gates
/release --version 2.1.0
# Hotfix release (fast-track, canary deployment)
/release --version 2.1.1 --type hotfix
# Manual rollback to previous version
/release --version 2.1.0 --rollback
# Draft release for review
/release --version 2.1.0 --draft
1. Initialization (2min)
└─ Version validation → Branch creation → Changelog generation
2. Quality Gates (23min)
├─ Security scan (3min)
├─ DoD validation (2min)
├─ Unit tests (5min, ≥80% coverage)
├─ Integration tests (5min, ≥70% coverage)
├─ Pre-release smoke tests (3min, 5 categories)
└─ E2E tests (5min, critical journeys)
3. Staging Deployment (5min)
├─ Deploy to staging (2min)
└─ Post-staging smoke tests (3min)
4. Production Deployment (5min)
├─ Canary deployment (5% → 25% → 100%)
│ └─ Smoke tests at each stage
└─ Post-production smoke tests (3min)
5. Completion (3min)
├─ Create PR and GitHub release
├─ Generate release report
├─ Update tickets (Linear/Jira)
└─ Send metrics to dashboard
1. Initialization (2min)
└─ Version validation → Hotfix branch creation → Changelog
2. Fast-Track Quality Gates (10min)
├─ Security scan (3min)
├─ Unit tests affected modules (3min)
├─ Pre-release smoke tests (2min, critical paths only)
└─ E2E critical journeys (2min)
3. Production Canary Deployment (10min)
├─ Deploy to 5% → smoke tests (1min)
├─ Deploy to 25% → smoke tests (1min)
├─ Deploy to 100% → smoke tests (3min)
└─ Monitor health (5min)
4. Completion (3min)
├─ Create hotfix PR
├─ Automated backport to develop
└─ Schedule post-deployment review
1. Trigger Detection
├─ Smoke test failure detected
├─ Error rate >5% for 2 minutes
├─ Health check failure (3 consecutive)
└─ Manual rollback request
2. Traffic Reversion (2min)
└─ Route all traffic to previous version
3. Post-Rollback Smoke Tests (3min)
└─ Verify error rate normalized
4. Health Validation (5min)
└─ Monitor error rate <1%
5. Finalization
├─ Create git revert
├─ Update tickets with rollback reason
└─ Alert on-call engineer
--version X.Y.ZSemantic version for the release (e.g., 2.1.0)
Validation:
Examples:
/release --version 2.1.0
/release --version 3.0.0
/release --version 2.1.1
--type [standard|hotfix|rollback]Release type determines the workflow variant
Options:
standard (default): Full quality gates + staging + productionhotfix: Fast-track gates + direct to production with canaryrollback: Revert to previous version with verificationExamples:
/release --version 2.1.0 --type standard
/release --version 2.1.1 --type hotfix
/release --version 2.1.0 --type rollback
--from [branch]Base branch for release (overrides default)
Defaults:
standard: mainhotfix: productionrollback: productionExamples:
/release --version 2.1.0 --from develop
/release --version 2.1.1 --type hotfix --from main
--to [branch]Target branch for release (overrides default)
Defaults:
standard: release/vX.Y.Zhotfix: hotfix/vX.Y.Zrollback: rollback/vX.Y.ZExamples:
/release --version 2.1.0 --to release/v2.1.0
/release --version 2.1.1 --type hotfix --to hotfix/critical-fix
--base [branch]Alias for --from (base branch)
Example:
/release --version 2.1.0 --base main
--target [branch]Alias for --to (target branch)
Example:
/release --version 2.1.0 --target release/v2.1.0
--rollbackTrigger manual rollback (equivalent to --type rollback)
Example:
/release --version 2.1.0 --rollback
--draftCreate GitHub release as draft for review before publishing
Example:
/release --version 2.1.0 --draft
The release workflow executes smoke tests at 5 critical checkpoints:
Executed: After quality gates, before staging deployment Purpose: Validate release readiness Categories: All 5 (API, database, external services, auth, critical paths)
Executed: After staging deployment Purpose: Verify staging deployment success Categories: All 5 with staging-specific configuration
Executed: At 5%, 25%, and 100% traffic stages Purpose: Progressive rollout verification Categories: All 5 with production configuration
Executed: After 100% production deployment Purpose: Final production verification Categories: All 5 with extended monitoring
Executed: After traffic reversion during rollback Purpose: Verify rollback success Categories: All 5 to confirm system stability
/release --version 2.1.0 --rollback
Use cases:
/release --version 2.1.0
Workflow:
Total Time: 33 minutes
/release --version 2.1.1 --type hotfix
Workflow:
Total Time: 20 minutes
/release --version 2.1.0 --from develop --to release/v2.1.0
Workflow:
/release --version 2.1.0 --draft
Workflow:
/release --version 2.1.0 --rollback
Workflow:
Total Time: 10 minutes
| Phase | Standard | Hotfix | Rollback |
|---|---|---|---|
| Initialization | 2min | 2min | 1min |
| Quality Gates | 23min | 10min | - |
| Staging | 5min | - | - |
| Production | 5min | 10min | - |
| Rollback | - | - | 10min |
| Completion | 3min | 3min | 2min |
| Total | 33min | 20min | 10min |
✅ All quality gates pass ✅ Staging deployment successful with smoke tests passing ✅ Production deployment successful with canary progression ✅ Post-production smoke tests passing ✅ Error rate <1% for 5 minutes post-deployment ✅ Release artifacts created (PR, GitHub release, report, audit log) ✅ Tickets updated with release information
❌ Any quality gate fails ❌ Staging deployment or smoke tests fail ❌ Production smoke test failure ❌ Error rate >5% for 2 minutes ❌ Health check failure (3 consecutive) ❌ Rollback triggered
The release-agent coordinates with 6 specialized agents:
The release-agent uses 5 specialized skills:
Symptom: Security scan fails with high-severity issues
Action: Review security report, apply suggested fixes, re-run /release
Symptom: Unit test coverage below 80%
Action: Add tests for uncovered modules, re-run /release
Symptom: Staging smoke tests fail Action: Review smoke test logs, fix issues, re-deploy to staging manually, then continue release
Symptom: Production canary fails at 25% Action: Automatic rollback triggered, review canary smoke test logs, fix issues, create new hotfix
Symptom: Post-rollback smoke tests fail Action: Critical escalation, manual intervention required, review smoke test logs
Symptom: Health checks still failing after rollback Action: Emergency page on-call + tech lead, war room initiated
/create-trd - Create Technical Requirements Document/implement-trd - Implement TRD with task tracking/fold-prompt - Project optimization/dashboard - View release metricsVersion: 1.0.0 Last Updated: 2025-11-05 Maintainer: Fortium Software Configuration Team