deploy

bselee's avatarfrom bselee

Build the project, commit all changes, and deploy to main via the claude/merge-to-main branch. Use when deploying changes to production.

⭐0stars🔀0forks📁View on GitHub🕐Updated Jan 1, 2026

When & Why to Use This Skill

This Claude skill automates the end-to-end deployment pipeline, enabling developers to build, commit, and push changes to the production branch seamlessly. By integrating build verification with Git automation, it ensures a reliable and efficient CI/CD workflow that minimizes manual errors and accelerates the release cycle.

Use Cases

  • Streamlining production releases: Automatically handle the sequence of building, staging, and pushing code to the main branch for rapid deployment.
  • Pre-push build validation: Ensure the project compiles successfully by running build scripts before any changes are committed, preventing broken production environments.
  • Automating repetitive Git tasks: Reduce developer friction by bundling 'git add', 'git commit', and 'git push' operations into a single, intelligent command.
  • Continuous Integration support: Facilitate a smoother handoff to automated CI/CD runners by ensuring local changes are clean and properly formatted before merging.
namedeploy
descriptionBuild the project, commit all changes, and deploy directly to main. Use when deploying changes to production.
allowed-toolsBash, Read, Glob, Write, Edit

Deploy to Main

Automates the complete deployment workflow for pushing changes to production.

Workflow

  1. Build: Run npm run build to ensure no compilation errors
  2. Status Check: Check git status for uncommitted changes
  3. Commit: Commit changes with a descriptive message
  4. Deploy: Push directly to main to trigger production deployment
  5. Confirm: Provide deployment status

Commands

# Build project
npm run build

# Check status
git status
git log --oneline -3

# Commit (if changes exist)
git add -A
git commit -m "chore: <descriptive message>"

# Push directly to main
git push origin main

When to Use

  • "deploy to main"
  • "push changes to production"
  • "deploy these changes"
  • "/deploy"