# Deploy

> Guide deployment processes including CI/CD pipeline creation, environment setup, and rollback procedures

- **Type:** Skill
- **Install:** `agentstack add skill-weisser-dev-awesome-opencode-deploy`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [weisser-dev](https://agentstack.voostack.com/s/weisser-dev)
- **Installs:** 0
- **Category:** [Developer Tools](https://agentstack.voostack.com/c/developer-tools)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [weisser-dev](https://github.com/weisser-dev)
- **Source:** https://github.com/weisser-dev/awesome-opencode/tree/main/templates/skills/deploy
- **Website:** https://www.npmjs.com/package/@weisser-dev/awesome-opencode

## Install

```sh
agentstack add skill-weisser-dev-awesome-opencode-deploy
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

## What I do

- Analyze the project to determine the appropriate deployment strategy
- Generate CI/CD pipeline configurations (GitHub Actions, GitLab CI, etc.)
- Create environment-specific configurations
- Define rollback procedures
- Set up health checks and monitoring

## When to use me

Use this skill when you need to:
- Set up a new deployment pipeline
- Add a new deployment environment (staging, production)
- Create or update CI/CD configurations
- Plan a deployment strategy for a new service

## Deployment Strategies

### 1. Rolling Update (Default)
- Gradually replace instances
- Zero-downtime for stateless services
- Easy rollback

### 2. Blue/Green
- Two identical environments
- Switch traffic at once
- Instant rollback

### 3. Canary
- Route small percentage to new version
- Monitor metrics
- Gradual traffic shift

## CI/CD Templates

### GitHub Actions (Node.js)

```yaml
name: Deploy
on:
  push:
    branches: [main]

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: '20'
      - run: npm ci
      - run: npm test

  deploy:
    needs: test
    runs-on: ubuntu-latest
    if: github.ref == 'refs/heads/main'
    steps:
      - uses: actions/checkout@v4
      - name: Deploy
        run: |
          # Add deployment commands
          echo "Deploying..."
```

### GitHub Actions (Java/Maven)

```yaml
name: Deploy
on:
  push:
    branches: [main]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-java@v4
        with:
          java-version: '21'
          distribution: 'temurin'
      - run: mvn verify
      - run: mvn package -DskipTests

  deploy:
    needs: build
    runs-on: ubuntu-latest
    steps:
      - name: Deploy
        run: echo "Deploying..."
```

## Rollback Procedure

1. **Detect**: Monitor health checks and error rates
2. **Decide**: If error rate > threshold, initiate rollback
3. **Execute**: Revert to previous version
4. **Verify**: Confirm health checks pass
5. **Communicate**: Notify team of rollback and reason

## Environment Checklist

- [ ] Environment variables configured
- [ ] Secrets stored securely (not in code)
- [ ] Database migrations applied
- [ ] Health check endpoint available
- [ ] Logging and monitoring configured
- [ ] Rollback procedure documented and tested
- [ ] SSL/TLS certificates valid
- [ ] DNS configured correctly

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [weisser-dev](https://github.com/weisser-dev)
- **Source:** [weisser-dev/awesome-opencode](https://github.com/weisser-dev/awesome-opencode)
- **License:** MIT
- **Homepage:** https://www.npmjs.com/package/@weisser-dev/awesome-opencode

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-weisser-dev-awesome-opencode-deploy
- Seller: https://agentstack.voostack.com/s/weisser-dev
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
