staging-deploy

Automate staging deployment of WitchCityRope to DigitalOcean with health checks.

1|1|Updated Jun 28, 2025
One-click install
npx skills add https://github.com/DarkMonkDev/WitchCityRope --skill staging-deploy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: staging-deploy
Source: https://github.com/DarkMonkDev/WitchCityRope/tree/main/.claude/skills/staging-deploy
Command: npx skills add https://github.com/DarkMonkDev/WitchCityRope --skill staging-deploy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires bash, docker, ssh, curl, git, doctl, and includes scripts (resource) components.

What problem does it solve?

Manual or inconsistent staging deployments lead to errors, downtime, and unreliable testing environments, hindering rapid iteration and quality assurance.

Core Features & Use Cases

  • End-to-End Automation: Automates the entire deployment process to the DigitalOcean staging environment, from building production images to health verification.
  • Robust Checks: Includes critical prerequisite checks (passing tests, clean Git), image registry push, server deployment, container restarts, and comprehensive health/smoke tests.
  • Rollback Capability: Designed with rollback in mind, referencing a separate skill for quick recovery in case of issues.
  • Use Case: After the 'user-management' feature passes Phase 5 validation, use this Skill to automatically deploy it to staging, ensuring a reliable environment for final manual testing.

Quick Start

Deploy the latest code to the staging environment.

Frequently Asked Questions about staging-deploy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate staging deployments to DigitalOcean?

Automate staging deployments by building production Docker images, pushing to a registry, deploying containers to your DigitalOcean server, and running health checks—all in a single workflow. This Skill orchestrates the entire process after validation passes, eliminating manual steps and reducing deployment errors.

What checks does a staging deployment need before going live?

Staging deployments require prerequisite validation: passing tests, clean Git state, successful image registry push, container restart confirmation, and comprehensive health checks plus smoke tests. This Skill enforces all checks to catch issues before they reach production.

Can I roll back a staging deployment if something goes wrong?

Yes. This Skill is designed with rollback capability in mind, enabling quick recovery if deployment issues occur. A separate rollback Skill handles reverting to the previous stable version on your staging server.

Does Docker and SSH work together for remote server deployments?

Yes. This Skill uses SSH to connect to your DigitalOcean staging server and Docker to build and deploy containerized applications remotely. Together they enable secure, automated deployment of production images to staging infrastructure.

When should I deploy to staging instead of testing locally?

Deploy to staging after features pass Phase 5 validation to test in an environment matching production. This catches integration issues, infrastructure configuration problems, and real-world behavior that local testing misses, enabling confident final manual testing before release.