.claude/skills/deploy-workflow/SKILL.md
# Deploy Workflow Multi-step workflow for deploying ccswarm releases. ## Overview This skill guides you through the complete deployment process for ccswarm releases, from building to publishing. ## Pre-Deployment Checklist ### 1. Version Update ```bash # Update version in Cargo.toml files # Root workspace # crates/ccswarm/Cargo.toml # crates/ai-session/Cargo.toml ``` ### 2. Quality Gates ```bash # Run full quality check cargo fmt --all cargo clippy --workspace -- -D warnings cargo test --w
npx skillsauth add nwiizo/ccswarm .claude/skills/deploy-workflowInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Multi-step workflow for deploying ccswarm releases.
This skill guides you through the complete deployment process for ccswarm releases, from building to publishing.
# Update version in Cargo.toml files
# Root workspace
# crates/ccswarm/Cargo.toml
# crates/ai-session/Cargo.toml
# Run full quality check
cargo fmt --all
cargo clippy --workspace -- -D warnings
cargo test --workspace
# Check for security vulnerabilities
cargo audit
# Verify documentation
cargo doc --no-deps --workspace
# Update CHANGELOG.md with new version
# Include: Features, Bug Fixes, Breaking Changes
# Build all binaries in release mode
cargo build --release --workspace
# Verify binaries
ls -la target/release/ccswarm
ls -la target/release/ai-session
ls -la target/release/ai-session-server
# Linux x86_64
cargo build --release --target x86_64-unknown-linux-gnu
# macOS ARM64
cargo build --release --target aarch64-apple-darwin
# macOS Intel
cargo build --release --target x86_64-apple-darwin
# Create release archives
tar -czvf ccswarm-linux-x86_64.tar.gz -C target/x86_64-unknown-linux-gnu/release ccswarm ai-session
tar -czvf ccswarm-macos-arm64.tar.gz -C target/aarch64-apple-darwin/release ccswarm ai-session
# Create annotated tag
git tag -a v0.X.Y -m "Release v0.X.Y"
# Push tag
git push origin v0.X.Y
# Create release with gh CLI
gh release create v0.X.Y \
--title "ccswarm v0.X.Y" \
--notes-file CHANGELOG.md \
ccswarm-linux-x86_64.tar.gz \
ccswarm-macos-arm64.tar.gz
# Publish ai-session first (dependency)
cd crates/ai-session
cargo publish
# Then publish ccswarm
cd crates/ccswarm
cargo publish
# Test installation from release
cargo install ccswarm --version 0.X.Y
# Or download and test binary
curl -L https://github.com/nwiizo/ccswarm/releases/download/v0.X.Y/ccswarm-linux-x86_64.tar.gz | tar xz
./ccswarm --version
If issues are found after release:
# Delete release tag
git tag -d v0.X.Y
git push origin :refs/tags/v0.X.Y
# Delete GitHub release
gh release delete v0.X.Y
# Yank from crates.io (if published)
cargo yank --version 0.X.Y ccswarm
Required for deployment:
CARGO_REGISTRY_TOKEN: For crates.io publishingGITHUB_TOKEN: For gh CLI operationsdevelopment
# Rust Agent Specialist Workflow Apply Rust-native patterns to ccswarm codebase development. ## Overview This skill provides guidance for implementing Rust-idiomatic patterns in the ccswarm multi-agent orchestration system. ## Core Patterns ### Type-State Pattern Compile-time state validation with zero runtime cost. ```rust // State types pub struct Uninitialized; pub struct Initialized; pub struct Running; pub struct Agent<State> { inner: AgentInner, _state: PhantomData<State>,
development
# HITL (Human-in-the-Loop) Approval Workflow Multi-step workflow for human approval integration in ccswarm agent operations. ## Overview This skill guides you through implementing and using human-in-the-loop approval mechanisms for high-risk agent operations. ## When HITL is Required ### High-Risk Operations - File deletions - Database modifications - External API calls - Configuration changes - Deployment actions ### Risk Levels | Level | Action | HITL Required | |-------|--------|-------
development
# Git Worktree Workflow Multi-step workflow for parallel development using git worktrees. ## Overview Git worktree allows working on multiple branches simultaneously. Each worktree is an independent working directory with its own branch. ## Setup Workflow ### 1. Create Feature Worktree ```bash git worktree add ../ccswarm-feature-<name> feature/<description> ``` ### 2. Create Bug Fix Worktree ```bash git worktree add ../ccswarm-bugfix-<name> hotfix/<description> ``` ### 3. Create Experimen
testing
# Benchmark Runner Workflow Multi-step workflow for running performance benchmarks on ccswarm. ## Overview This skill guides you through running, analyzing, and comparing performance benchmarks for the ccswarm system. ## Benchmark Types ### 1. Microbenchmarks Fine-grained performance measurements for specific functions. ### 2. Integration Benchmarks End-to-end performance for complete workflows. ### 3. Load Testing System behavior under sustained load. ## Running Benchmarks ### 1. Setup