skills/skill-deploy/SKILL.md
# skill-deploy ## Description Deployment automation skill for EC2 instances. Automates git pull, service restart, and health checks for configured hosts. ## Category DevOps / Deployment / Automation ## Commands ### deploy Deploy to one or more hosts with git pull, service restart, and health check. ```bash bun run src/index.ts deploy <host...> [options] ``` Options: - `--all` - Deploy to all configured hosts - `--parallel, -p` - Deploy to multiple hosts in parallel - `--skip-health` - Sk
npx skillsauth add hasna/skills skills/skill-deployInstall 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.
Deployment automation skill for EC2 instances. Automates git pull, service restart, and health checks for configured hosts.
DevOps / Deployment / Automation
Deploy to one or more hosts with git pull, service restart, and health check.
bun run src/index.ts deploy <host...> [options]
Options:
--all - Deploy to all configured hosts--parallel, -p - Deploy to multiple hosts in parallel--skip-health - Skip health check after deployment--skip-restart - Skip service restart (only pull code)--verbose, -v - Show detailed output--dry-run - Preview deployment without making changes--force, -f - Force deployment even if already up-to-dateList all configured deployment hosts.
bun run src/index.ts list
Run health check on a deployed service.
bun run src/index.ts health <host>
Check systemd service status on a host.
bun run src/index.ts status <host>
# Deploy single host
bun run src/index.ts deploy lab-mcp
# Deploy multiple hosts sequentially
bun run src/index.ts deploy lab-mcp prod-skill
# Deploy all hosts in parallel
bun run src/index.ts deploy --all --parallel
# Deploy with verbose logging
bun run src/index.ts deploy lab-mcp --verbose
# .github/workflows/deploy.yml
name: Deploy
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Deploy
run: |
cd skill-deploy
bun install
bun run src/index.ts deploy lab-mcp
Hosts are configured in src/hosts.ts:
{
name: 'Display Name',
sshHost: 'ssh-config-hostname',
deployPath: '/opt/myapp',
service: 'myapp.service',
healthUrl: 'http://localhost:PORT/health',
gitRepo: '[email protected]:org/repo.git',
gitBranch: 'main',
user: 'ec2-user'
}
~/.ssh/configtesting
Merge a GitHub pull request, merge when green, use a merge queue, or decide whether a pull request is mergeable. Use only for explicit merge intent, not ordinary review.
development
Generate premium performance audit reports for web apps, APIs, or SaaS surfaces with metrics, findings, budgets, remediation plans, and manifest metadata.
data-ai
Generate premium customer feedback reports from reviews, support tickets, surveys, call notes, or raw feedback with clusters, sentiment, root causes, roadmap recommendations, evidence, and manifest metadata.
development
Generate high-quality PDF documents from markdown, HTML, or templates