Przejdź do treści
Biblioteka skilli
DevOps i chmura · Automatyzacja

deploy-setup

/deploy-setup

Konfiguruje wdrożenie na wybranym hostingu: pliki konfiguracyjne, środowiska, inwentarz zmiennych, domeny, migracje i instrukcję cofnięcia.

Licencja
MIT
Ostatnia zmiana repozytorium
09.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 09.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Konfiguruje wdrożenie na wybranym hostingu: pliki konfiguracyjne, środowiska, inwentarz zmiennych, domeny, migracje i instrukcję cofnięcia.

Argumenty

/deploy-setup [host]
Oryginalny opis (EN)

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 first deploy, adding environments, or switching hosts. Prints deploy commands; never runs production deploys.

Jak działa

  1. Inputs
  2. Phases
  3. Output
  4. Rigor
  5. Next step
Sekcje z nagłówków SKILL.md, w oryginale · 80 linii, 442 słów
Podgląd SKILL.md
---
name: deploy-setup
description: "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 first deploy, adding environments, or switching hosts. Prints deploy commands; never runs production deploys."
argument-hint: "[host]"
user-invocable: true
allowed-tools: Read, Glob, Grep, Write, Edit, AskUserQuestion, Agent, Bash(bash .claude/scripts/*)
model: sonnet
---

# Deploy Setup

Makes deploys repeatable and reversible. It writes host config and a runbook
after approval and **prints** every command that touches a real environment
for the user to run. It never deploys to production, applies Terraform, buys
domains, changes plans or sets secret values.

## Inputs

- `project.yaml`: `stack.hosting`, `stack.frontend`, `stack.backend`, `stack.database`, `stack.cache_queue`
- `docs/architecture/architecture.md` (deployment topology) and hosting ADRs
- `.env.example` (the variable inventory)
- `.claude/docs/stack-matrix.md` (build/start commands, output dirs, adapters)

If `stack.hosting` is empty, spawn `technical-director` to recommend one (cost
at launch traffic, runtime fit, lock-in) and ask the user; record the choice
with `/architecture-decision`.

## Phases

### Phase 1: Topology

Confirm what runs where: web app, API, workers/cron, database, cache, object
storage, email, CDN. Delegate:
- Vercel, Netlify, Cloudflare, Fly.io, Railway, Render → `hosting-platform-specialist`
- AWS, GCP, Azure → `cloud-infra-specialist` (Terraform/OpenTofu/CDK/Pulumi)

If `vercel` is the host and `deploy-to-vercel` (vercel-labs/agent-skills) is
installed, use it for the platform specifics; otherwise say so and continue.

### Phase 2: Config files

Draft the host config (`vercel.json`, `netlify.toml`, `wrangler.toml`,
`fly.toml`, `railway.json`, `render.yaml`, a multi-stage non-root
`Dockerfile` + `.dockerignore`, or IaC modules under `infra/`), framework
adapters (SvelteKit/Astro/Remix/Nuxt preset), and a health endpoint
(`/api/health`) that checks the DB without leaking details.

### Phase 3: Environments and variables

Table: variable → purpose → preview value source → production value source →
public or secret. Every secret lives in the host's secret store. Preview
deployments use a separate database/branch (Neon/Supabase branching or a
staging DB) and test-mode payment keys. Previews are protected or `noindex`.

### Phase 4: Release mechanics

- Migrations run as an explicit release step (before traffic switches), never at app boot on multiple instances; expand → migrate → contract for breaking changes.
- Health checks and zero-downtime strategy appropriate to the host.
- Domains: apex + www redirect, TLS, HSTS once stable.
- Cron/workers: the host's scheduler, with a lock.

### Phase 5: Runbook

Write `production/releases/runbook.md` (template `runbook`): deploy steps,
the exact commands, how to roll back (instant rollback on the platform,
previous image tag, or `git revert` + redeploy), how to roll back a migration,
how to restore the latest backup, and who to call.

### Phase 6: Approve and hand off

Show the files. Ask "May I write these files?" (list them). Then print the
one-time setup commands (link project, set env vars, add domain) for the user
to run.

## Output

Host config files, `infra/` (if IaC), `production/releases/runbook.md` (template: `.claude/docs/templates/runbook.md`).

## Rigor

- `minimal`: production + previews, runbook with rollback.
- `standard`: + separate preview database, health checks, migration step.
- `full`: + IaC for every environment, backup restore test, cost estimate per environment.

## Next step

`/observability-setup`, then `/launch-checklist`.

Wersje

W bazie nie ma innych skilli o nazwie deploy-setup.

Migawka bazy z 13.11.2026 · wersja paczki 3c5223af52c1 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100deploy
    Prowadzi wdrożenia aplikacji i usług na Vercel, AWS, Azure, Cloudflare, Netlify, Railway lub w kontenerach, od sekretów po wycofanie.
  • 100setup-deploy
    Konfiguruje wdrażanie dla /land-and-deploy: wykrywa platformę (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions), adres produkcyjny i health checki, a konfigurację zapisuje w CLAUDE.md.
  • 95setup-deploy
    Konfiguruje ustawienia wdrożenia dla /land-and-deploy: wykrywa platformę (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions), adres produkcyjny i health checki, a zapis trafia do CLAUDE.md.
  • 90role-fullstack:deployment-workflow
    Konfiguruje wdrożenia na Vercel, Netlify, Railway, Render i Docker: środowiska podglądowe, migracje w CI i plany wycofania.
  • 100railway-deploy
    Wdraża i zarządza aplikacjami na Railway przez CLI: konfiguracja projektu, deploye, usługi, bazy danych, zmienne, logi, skalowanie i środowiska.
  • 100vercel-deploy
    Wykonuje na Vercel podglądy, wdrożenia produkcyjne, aliasy, domeny i cofnięcie zmian dla połączonych projektów.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.