Skip to content
Skills Library
DevOps & cloud · Automation

role-fullstack:deployment-workflow

/role-fullstack:deployment-workflow

Set up deployment workflows for Vercel, Netlify, Railway, Render, and Docker. Covers preview environments per PR, database migrations in CI (expand-contract pattern), environment variable validation, health check endpoints, and rollback procedures. Use when configuring deployment pipelines, managing env vars across stages, or establishing rollback runbooks.

Licence
MIT
Last repository change
24.07.2026

Assessment and security

90/ 100Class: good
Format15 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
4
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 24.07.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Set up deployment workflows for Vercel, Netlify, Railway, Render, and Docker. Covers preview environments per PR, database migrations in CI (expand-contract pattern), environment variable validation, health check endpoints, and rollback procedures. Use when configuring deployment pipelines, managing env vars across stages, or establishing rollback runbooks.

Original author description

Set up deployment workflows for Vercel, Netlify, Railway, Render, and Docker. Covers preview environments per PR, database migrations in CI (expand-contract pattern), environment variable validation, health check endpoints, and rollback procedures. Use when configuring deployment pipelines, managing env vars across stages, or establishing rollback runbooks.

How it works

  1. When to use
  2. Core principles
  3. Reference Files
Original SKILL.md headings · 24 lines, 228 words
SKILL.md preview
---
name: role-fullstack:deployment-workflow
description: Set up deployment workflows for Vercel, Netlify, Railway, Render, and Docker. Covers preview environments per PR, database migrations in CI (expand-contract pattern), environment variable validation, health check endpoints, and rollback procedures. Use when configuring deployment pipelines, managing env vars across stages, or establishing rollback runbooks.
allowed-tools: Read, Grep, Glob, Bash
---

# Deployment Workflow

## When to use
- Configuring a deployment pipeline for a new project
- Setting up preview environments per pull request
- Managing environment variables across development, staging, and production
- Running database migrations safely in CI without downtime
- Adding health check endpoints for load balancer routing
- Establishing rollback procedures before the first production incident

## Core principles
1. **Platform matches project shape** — Vercel for edge-first Next.js, Railway/Render for fullstack with databases, Fly.io for global edge
2. **Migrations before deploy, never after** — run `prisma migrate deploy` as a CI step preceding the deploy step, never during
3. **Expand-contract for zero downtime** — add column → backfill → update code → drop old column across three separate deploys
4. **Validate env vars at startup** — use `@t3-oss/env-nextjs` or zod to crash fast with a clear message rather than fail silently at runtime
5. **Health check is not optional** — every deployed service needs `/api/health` returning 200/503; load balancers depend on it

## Reference Files

- `references/platform-selection.md` — comparison table for Vercel, Netlify, Railway, Render, Fly.io; Vercel setup steps; multi-stage Dockerfile for Node.js; Docker-based preview environments per PR
- `references/migrations-env-vars.md` — CI migration steps, expand-contract pattern walkthrough, env var management with secrets managers, common pitfalls
- `references/health-checks-rollback.md` — health check endpoint implementation, liveness vs readiness probes, rollback procedures for Vercel/Docker/database, incident runbook checklist
Files in this package (4)
  • SKILL.md 2 KB
  • references/health-checks-rollback.md 2 KB
  • references/migrations-env-vars.md 1 KB
  • references/platform-selection.md 2 KB

Versions

The database has no other skills named role-fullstack:deployment-workflow.

Database snapshot: 13.11.2026 · package version 1b4ae209111e (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 95memstack-deployment-railway-deploy
    Use this skill when the user says 'deploy to Railway', 'Railway setup', 'railway-deploy', or needs to deploy a Node.js, Python, or Docker application to Railway with environment variables, custom domains, and monitoring. Do NOT use for Netlify, Vercel, or Hetzner deployments.
  • 100clerk-deploy-integration
    Configure Clerk for deployment on various platforms. Use when deploying to Vercel, Netlify, Railway, or other platforms, or when setting up production environment. Trigger with phrases like "deploy clerk", "clerk Vercel", "clerk Netlify", "clerk production deploy", "clerk Railway".
  • 100clerk-deploy-integration
    Configure Clerk for deployment on various platforms. Use when deploying to Vercel, Netlify, Railway, or other platforms, or when setting up production environment. Trigger with phrases like "deploy clerk", "clerk Vercel", "clerk Netlify", "clerk production deploy", "clerk Railway".
  • 100release
    Prepare local deployment configuration for Cloudflare (Workers or Pages), Render, Vercel, Netlify, or another host, and verify build, start, output, environment, and health-check readiness without deploying. Use for /release, deploy readiness, wrangler.jsonc, render.yaml,…
  • 100railway-deploy
    Deploys and manages apps on Railway with the Railway CLI: project setup, deploys, services, databases, environment variables, logs and scaling. Use when a user asks to deploy to Railway, check deployment status, set environment variables on Railway, view Railway logs, link a…
  • 100deploy-setup
    Configures deployment for the chosen host (Vercel, Netlify, Cloudflare, Fly.io, Railway, Render, AWS, GCP, Azure): config files, environments and preview deploys, env var inventory, domains and TLS, migration step, health checks and a rollback runbook. Use when preparing the…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.