guarding-deployments

📁 roelofvheeren/elvison-os 📅 6 days ago
3
总安装量
2
周安装量
#54756
全站排名
安装命令
npx skills add https://github.com/roelofvheeren/elvison-os --skill guarding-deployments

Agent 安装分布

openclaw 2
claude-code 2
codex 2
opencode 2
trae 2
mcpjam 1

Skill 文档

Guarding Deployments

When to use this skill

  • Before pushing to production or staging branches.
  • When the user asks “is it safe to deploy?”.
  • To verify environment variables and secrets are present.

Workflow

  1. Preparation
    • Identify target environment (e.g., production, staging).
    • List required environment variables.
  2. Verification
    • Run linting and type checks.
    • Execute test suite with npm test.
    • Verify environment variables using scripts/check-env.sh.
  3. Execution
    • If all checks pass, proceed with deployment command.
    • If any check fails, block deployment and report errors.

Instructions

Linting & Tests

Ensure the project is in a clean state:

# Run linting
npm run lint

# Run unit tests
npm test

Environment Variable Check

Use the provided script to ensure required keys are set:

./scripts/check-env.sh .env.production DB_URL API_KEY

Resources