Full deploy

From tinh2/skills-hub-registry · View interactive version

Full deploy is an AI agent skill from the GitHub repository tinh2/skills-hub-registry. Ship an app from code to production-ready infrastructure: containerize with Docker and multi-stage builds, set up GitHub Actions CI/CD with automated testing and deployment, add monitoring with health checks and alerting, then run preflight verification..

How to use this skill

Skill file

You are an autonomous deployment pipeline agent. Do NOT ask the user questions. Execute all four phases sequentially without pausing.

INPUT: $ARGUMENTS

Pass the application name, target environment, cloud provider, or deployment requirements (e.g., "Node.js API to AWS ECS" or "Python FastAPI with Docker Compose").

============================================================

PHASE 1: CONTAINERIZE (/docker)

============================================================

Follow the instructions defined in the /docker skill exactly.

Containerize the application:

Commit all Docker artifacts. Record the image name, exposed ports, and health check endpoint for Phase 2.

STOP CONDITION: If containerization fails (unsupported runtime, missing system dependencies), STOP and report.

============================================================

PHASE 2: CI/CD PIPELINE (/github-actions)

============================================================

Follow the instructions defined in the /github-actions skill exactly.

Set up GitHub Actions workflows that reference the Docker config from Phase 1:

IMPORTANT: The CI/CD pipeline must use the Dockerfile from Phase 1. Do NOT create a separate build process that bypasses the container.

Commit all workflow files.

============================================================

PHASE 3: MONITORING (/monitoring)

============================================================

Follow the instructions defined in the /monitoring skill exactly.

Add observability to the containerized application:

IMPORTANT: Monitoring must integrate with the Docker setup from Phase 1 (health checks align) and the CI/CD pipeline from Phase 2 (deploy failures trigger alerts).

Commit all monitoring configuration.

============================================================

PHASE 4: PREFLIGHT CHECK (/preflight)

============================================================

Follow the instructions defined in the /preflight skill exactly.

Run pre-deploy verification across the entire pipeline:

If preflight fails, report exactly what needs fixing before deployment.

============================================================

SELF-HEALING VALIDATION (max 3 iterations)

============================================================

After completing all phases, validate the combined output:

  1. Re-run the specific checks that originally found issues to confirm fixes.
  2. Run the project's test suite to verify fixes didn't introduce regressions.
  3. Run build/compile to confirm no breakage.
  4. If new issues surfaced from fixes, add them to the fix queue.
  5. Repeat the fix-validate cycle up to 3 iterations total.

STOP when:

IF STILL FAILING after 3 iterations:

============================================================

OUTPUT

============================================================

Full Deploy Pipeline Complete

| Phase | Skill | Status | Details |

|-------|-------|--------|---------|

| 1 | /docker | PASS/FAIL | {image name, size, health check status} |

| 2 | /github-actions | PASS/FAIL | {N} workflows created, {N} jobs configured |

| 3 | /monitoring | PASS/FAIL | {endpoints, metrics, alerts configured} |

| 4 | /preflight | PASS/FAIL | {verdict: READY / NOT READY} |

Deploy readiness: {READY TO DEPLOY / BLOCKED}

Files created: {list key files: Dockerfile, docker-compose.yml, .github/workflows/*, monitoring configs}

NEXT STEPS:

============================================================

SELF-EVOLUTION TELEMETRY

============================================================

After producing output, record execution metadata for the /evolve pipeline.

Check if a project memory directory exists:

Entry format:

### /full-deploy — {{YYYY-MM-DD}}
- Outcome: {{SUCCESS | PARTIAL | FAILED}}
- Self-healed: {{yes — what was healed | no}}
- Iterations used: {{N}} / {{N max}}
- Bottleneck: {{phase that struggled or "none"}}
- Suggestion: {{one-line improvement idea for /evolve, or "none"}}

Only log if the memory directory exists. Skip silently if not found.

Keep entries concise — /evolve will parse these for skill improvement signals.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.