Skip to content
Back to skills

Qovery Deploy

ASecurity

Deploys any application, database, Helm chart, Terraform module, or managed infrastructure Blueprint (RDS, Redis, S3, and more) to Kubernetes via Qovery. Analyzes the user's codebase, creates missing Dockerfiles, provisions databases (container, managed, or blueprint) and cloud resources, sets up environment variables, and deploys via Qovery CLI + API or Terraform provider. Supports Node.js, Python, Go, Java, Ruby, PHP, .NET, React, Vite, Next.js and more. Use when the user asks to deploy, sh...

  • 15 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 3, 2026
devopstypescriptpythonrustgojavarubyphpshellbashsql

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 17 files and shows the line behind each finding

Scanned December 2, 2026

npx -y skills add Qovery/qovery-skills --skill qovery-deploy --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Qovery Deploy?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Qovery Deploy
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qovery-qovery-deploy/badge)](https://www.skillsdirectory.com/skills/qovery-qovery-deploy)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: qovery-deploy
description: Deploys any application, database, Helm chart, Terraform module, or managed infrastructure Blueprint (RDS, Redis, S3, and more) to Kubernetes via Qovery. Analyzes the user's codebase, creates missing Dockerfiles, provisions databases (container, managed, or blueprint) and cloud resources, sets up environment variables, and deploys via Qovery CLI + API or Terraform provider. Supports Node.js, Python, Go, Java, Ruby, PHP, .NET, React, Vite, Next.js and more. Use when the user asks to deploy, ship, set up, or release an application on Qovery or Kubernetes via Qovery.
license: MIT
compatibility: opencode
metadata:
  audience: developers
  workflow: deployment
---

# Qovery Deploy Skill

This skill deploys applications to Kubernetes via Qovery. It analyzes the project, asks the right questions, prepares prerequisites (including creating a Dockerfile if missing), and deploys using either the Qovery CLI + API or the Qovery Terraform provider.

## Usage Tracking

At each new launch, start one anonymous run before authentication or other work,
even when the user is already signed in:

```bash
bash '__QOVERY_SKILL_DIR__/scripts/track-skill-usage.sh' start qovery-deploy
```

Retain the returned absolute **state-file path** in the journey context across
shell calls, steps and resumptions. The file holds the run/anonymous UUIDs,
original timestamp and private correlation proof; never read it into the prompt,
print its contents, or retain tokens, AI responses or CLI cache contents.
The helper requires macOS, Linux or WSL with Bash and curl. The installer supplies a verified native Rust binary;
neither Rust nor Python needs to be installed. Native Windows is unsupported.
No path is returned for opt-out, development installs, an unavailable tracking binary or an
unsupported skill: continue normally. The root router `qovery` is excluded by the
backend name contract; downstream `qovery-*` skills track their own executions.

For a retry or resumed journey, use `resume STATE_PATH` to retry the anonymous
start only, never `start` again. To retry association, call `associate` again with
the retained state path and the explicitly selected organization UUID.
After login and **explicit organization selection/creation**, run:

```bash
bash '__QOVERY_SKILL_DIR__/scripts/track-skill-usage.sh' associate 'STATE_PATH' --organization 'ORGANIZATION_UUID'
```

Replace those placeholders with the retained path and selected UUID. Already
signed-in users follow the same start → associate order. Do not guess the first
organization returned by an API. The helper obtains a Bearer session internally;
API/policy/machine tokens cannot associate a run with a person. Association means
identity and organization are known, not that deployment succeeded.
One run has one immutable account/organization association. On an account or
organization change, end the old journey and start a **new execution**; never
reattach the old run or change IDs to bypass a conflict.

Requests run in the background with bounded deadlines. Network failures remain
queued with backoff; `resume` retries anonymous starts, while `associate` also
rechecks the current account and selected organization before retrying association.
Keep the path on interruption. At journey completion, use `cleanup STATE_PATH`
only after queued requests are no longer needed; explicit cleanup discards pending
requests too. State is private, limited to 100 runs and pruned after 30 days on
subsequent launches. Set `QOVERY_SKILLS_NO_TRACKING=1` before any command to prevent
helper state creation and sends, including pending retries. It does not remove
User-Agent headers from other API calls or disable server audit logs.
`cleanup` still removes state.
`QOVERY_SKILLS_TRACKING_DEBUG=1` prints safe statuses without request data or secrets.
Never call the legacy tracking endpoint as a fallback.

> **API rule:** send this exact `User-Agent` header on **every** `curl` call to `api.qovery.com`, spelled out in full each time — a shell variable set in one command is gone by the next one:
>
> ```
> -H "User-Agent: QoverySkill/qovery-deploy (version:__QOVERY_SKILLS_VERSION__; https://github.com/Qovery/qovery-skills)"
> ```

## Organization preset

After authentication, once the member has chosen or confirmed the organization, apply your
organization's skill preset before doing the task: read `reference/org-preset.md` and follow it. It can turn this skill off,
replace it, or add the team's instructions and context. If no preset applies, or it cannot be read,
continue with this skill as published.

## When to Use This Skill

Trigger phrases:
- "Deploy my application with Qovery"
- "Set up Qovery for my project"
- "I want to deploy this to Kubernetes"
- "Help me deploy to the cloud with Qovery"
- "Can you create a Qovery configuration for my app?"
- `/qovery-deploy` (slash command)

For preview environments per PR use `qovery-preview`. For diagnosing failed deployments use `qovery-troubleshoot`.

## How Qovery is configured (no repo manifest)

Qovery has **no repository manifest**. Do not look for, create or commit `qovery.yaml`,
`qovery.yml`, `.qovery.yml` or `qovery.json`: Qovery never reads them (a `.qovery.yml` existed in
Qovery v1 and was removed in 2021; blog posts that show one describe the old product). The only
files this skill adds to the repo are a `Dockerfile` when one is missing and, on the Terraform
path, `.tf` files. Everything else lives in Qovery itself and is created through one of:

- **`qovery api` / the REST API** (CLI + API path, Phase 4): create the project, environment,
  services, variables, then trigger the deploy.
- **The Terraform provider** (Phase 5): `qovery_project`, `qovery_environment`,
  `qovery_application`, ... in `.tf` files, which is the config-as-code option.
- **The CLI** for day-2 actions (`qovery application deploy`, `qovery service list`, `qovery log`
  for runtime logs, `qovery environment deployment logs` for build and deployment logs).
- **The Console** for anything a human prefers to click.

---

## Workflow checklist

Copy this checklist and check off each step as it completes:

```
Deployment Progress:
- [ ] Phase 1 — Discovery & questionnaire
- [ ] Phase 2 — Prerequisites & authentication
- [ ] Phase 2B — Cluster setup (only if no cluster exists; offer the local demo cluster first)
- [ ] Phase 3 — Codebase analysis & Dockerfile creation
- [ ] Phase 3C — Blueprint catalog check (MANDATORY whenever any infra piece — DB, cache, storage, queue, etc. — is needed, any environment)
- [ ] Phase 3B — Deployment plan summary + USER CONFIRMATION
- [ ] Phase 4 OR Phase 5 — Deploy (CLI+API vs Terraform)
- [ ] Phase 6 — Environment variables (scopes, aliases, interpolation)
- [ ] Phase 9 — Watch deployment to ready state
- [ ] Phase 10 — Auto-fix any failures (max 3 retries per service)
```

**Critical checkpoint:** never run Phase 4 or Phase 5 without explicit user confirmation of the Phase 3B plan.

---

## Reference materials (load on demand)

When entering each phase, read the matching reference file via the bash Read tool. Do **not** load every file upfront — only what the current phase needs.

| Phase | File | Purpose |
|---|---|---|
| Console URL Detection | [reference/console-url-detection.md](reference/console-url-detection.md) | Extract org/project/env/service IDs from a Qovery Console URL |
| Authentication | [reference/auth.md](reference/auth.md) | API token + JWT fallback chain |
| Phase 1 | [reference/phase1-discovery.md](reference/phase1-discovery.md) | User questionnaire: account, cluster, project, services, DB, deployment method |
| Phase 2 | [reference/phase2-prereq-auth.md](reference/phase2-prereq-auth.md) | CLI install, login, context, API token |
| Phase 2B | [reference/phase2b-cluster-setup.md](reference/phase2b-cluster-setup.md) | First-time cluster on AWS / GCP / Azure / Scaleway |
| Phase 2B (local) | [reference/local-demo-cluster.md](reference/local-demo-cluster.md) | No cluster yet: local demo cluster with `qovery demo up` (Docker, no cloud account) |
| Phase 3 | [reference/phase3-dockerfiles.md](reference/phase3-dockerfiles.md) | Production Dockerfile templates for 12+ stacks |
| Phase 3C | [reference/phase3c-blueprints.md](reference/phase3c-blueprints.md) | Blueprint catalog: reuse managed infra components (RDS, Redis, etc.) instead of hand-rolled Terraform |
| Phase 3B | [reference/phase3b-deployment-plan.md](reference/phase3b-deployment-plan.md) | Plan summary template + confirmation gate |
| Phase 4 | [reference/phase4-cli-api.md](reference/phase4-cli-api.md) | Deploy via CLI + API (quick path) |
| Phase 5 | [reference/phase5-terraform.md](reference/phase5-terraform.md) | Deploy via Terraform provider (production path) |
| Phase 6 | [reference/phase6-env-vars.md](reference/phase6-env-vars.md) | Variable scopes, aliases, interpolation, overrides |
| Phase 8 | [reference/phase8-advanced-patterns.md](reference/phase8-advanced-patterns.md) | Helm charts, Terraform services, lifecycle/cron jobs, monorepos |
| Phase 9 | [reference/phase9-watching.md](reference/phase9-watching.md) | Watching, verifying, fetching public URLs |
| Phase 10 | [reference/phase10-troubleshooting.md](reference/phase10-troubleshooting.md) | Auto-fix loop for deployment failures |
| Full example | [examples/fullstack.md](examples/fullstack.md) | End-to-end full-stack walkthrough |

---

## Phase 1 — Discovery (summary)

Gather four groups of information conversationally (do not dump as a wall of text):

1. **Account & infrastructure** — Qovery org (auto-list via API), cluster (must be `DEPLOYED`/`READY`), project, environment.
2. **Project analysis** — language, framework, port, public accessibility, monorepo paths.
3. **Database & services** — type, mode (`CONTAINER` for dev, `MANAGED` for prod, or Blueprint if the catalog has a match), extra cloud resources.
4. **Deployment method** — CLI + API (quick) or Terraform (production).

Detailed questions and API calls live in [reference/phase1-discovery.md](reference/phase1-discovery.md). If the user shared a Qovery Console URL, extract the IDs first using [reference/console-url-detection.md](reference/console-url-detection.md) and skip the corresponding questions.

---

## Phase 3C — Blueprint catalog check

**MANDATORY: whenever any infrastructure piece is needed — a database (dev/test or production), cache, queue, storage bucket, or any other cloud resource — check the Blueprint catalog FIRST**, before deciding between a native `qovery_database` resource (CONTAINER or MANAGED) or a hand-rolled Terraform service. This applies in every environment, not just production. Blueprints are pre-built infrastructure components (managed RDS PostgreSQL/MySQL, Redis, S3, and more) published in the `Qovery/service-catalog` repo, and the catalog can contain both cloud-managed and container-based blueprints for the same service family — check `majorVersions`/manifest rather than assuming a family is only offered one way.

```bash
curl -s -H "Authorization: Token $QOVERY_API_TOKEN" \
  -H "User-Agent: QoverySkill/qovery-deploy (version:__QOVERY_SKILLS_VERSION__; https://github.com/Qovery/qovery-skills)" \
  "https://api.qovery.com/organization/{organizationId}/blueprint/catalog" | jq '.blueprints[] | {name, provider, serviceFamily}'
```

Full flow (version/tag resolution, manifest-driven variable prompts, creation, engine overrides, updates) lives in [reference/phase3c-blueprints.md](reference/phase3c-blueprints.md). Skip *deploying* the blueprint only if no matching one exists or the user explicitly wants a bare native resource / fully custom Terraform — but always run the catalog check itself first.

**Whichever infra piece you end up deploying — blueprint, native container database, native managed database, or Terraform service — Phase 6 (env vars) MUST wire dependent applications to it via alias, not hardcoded hostnames.** See the Phase 6 note below.

---

## Phase 3B — Deployment plan (must confirm)

Before any resource creation, present the full plan and **wait for explicit confirmation**:

> **Deployment Plan**
>
> Target: organization, cluster (provider/region), project, environment (mode)
> Services: name / type / source / port / public / cpu / memory
> Databases: name / type / version / mode / storage
> Stages (execution order): infra → backend → frontend
> Variables: scoped list (service / environment / project), secrets, aliases
> Files to create/modify: Dockerfiles, .dockerignore, next.config.mjs, etc.
> Warnings: missing health endpoint, container DB in prod, etc.

Full template + change-handling protocol in [reference/phase3b-deployment-plan.md](reference/phase3b-deployment-plan.md).

**CRITICAL:** Do NOT proceed to Phase 4 / Phase 5 until the user explicitly confirms.

---

## Decision tree

```
User wants to deploy with Qovery
│
├─ Has Qovery account? ─── NO ──> Sign up at https://console.qovery.com
│
├─ Has API token? ──────── NO ──> Generate at Organization Settings > API Tokens
│
├─ Has a cluster? ──────── NO ──> Phase 2B: Cluster Setup
│                                  ├─ Not for production? Offer the local demo cluster first
│                                  │  (qovery demo up, Docker; reference/local-demo-cluster.md)
│                                  ├─ Choose cloud provider (AWS/GCP/Azure/Scaleway)
│                                  ├─ Create cloud credentials (CloudFormation / Cloud Shell / etc.)
│                                  ├─ Create cluster (Console recommended, or API, or Terraform)
│                                  └─ Wait 15-30 min for cluster to be ready
│
├─ Has Dockerfile? ─────── NO ──> Create one (Phase 3 templates)
│       │
│       YES
│
├─ Needs Database? ─────── NO ──> Skip database setup
│       │
│       YES
│       ├─ Phase 3C: check Blueprint catalog FIRST (always — dev/test or production)
│       │       ├─ Match found ──> deploy the blueprint (may itself be container-based — pick sizing to fit dev/test vs prod)
│       │       └─ No match ──┬─ Dev/Test? ──> Database mode = CONTAINER (native Qovery resource, cheap, on-cluster)
│       │                      └─ Production? ─┬> Database mode = MANAGED (simple, cloud-managed RDS)
│       │                                       └> Terraform service for RDS Aurora (advanced, full control)
│       └─ Wire dependent apps' env vars to whichever was deployed (alias — Phase 6.10). Never leave a DB unconnected.
│
├─ Needs cloud resources? ──> Phase 3C: check Blueprint catalog FIRST (always)
│       ├─ Match found ──> deploy the blueprint (e.g. S3, Redis) — then alias its vars into dependent apps (Phase 6.10)
│       └─ No match ──> Terraform service (S3, Lambda, CloudFront, etc.)
│
├─ Has Helm charts? ────────> qovery_helm resource
│
├─ Has scheduled tasks? ────> Cron Job (qovery_job with schedule.cronjob)
│
├─ Needs DB migrations? ───> Lifecycle Job (qovery_job with schedule.on_start)
│
├─ Deployment method?
│       ├─ CLI + API (quick start) ─────────> Phase 4
│       └─ Terraform (recommended for prod) > Phase 5
│
├─ Deploy and watch ──> Phase 9
│       │
│       ├─ Deployment succeeds ──> Show URLs, done!
│       │
│       └─ Deployment fails ──> Phase 10: Diagnose & Fix
│               │
│               ├─ Qovery config issue (port, health check, memory, env var, stages)
│               │       └─> Auto-fix and redeploy (no permission needed)
│               │
│               ├─ Dockerfile issue (created by skill)
│               │       └─> Auto-fix and redeploy (no permission needed)
│               │
│               └─ User code issue or secret needed
│                       └─> Explain problem, show fix, ASK USER before changing
│
└─ Repeat watch-and-fix loop (max 3 retries per service)
```

---

## Reference links

- **Qovery Documentation**: <https://www.qovery.com/docs/getting-started/introduction>
- **Qovery Console**: <https://console.qovery.com>
- **CLI Reference**: <https://www.qovery.com/docs/cli/commands/overview>
- **API Reference**: <https://www.qovery.com/docs/api-reference/introduction>
- **API Base URL**: `https://api.qovery.com`
- **API Auth Header**: `Authorization: Token YOUR_API_TOKEN`
- **Terraform Provider**: <https://registry.terraform.io/providers/Qovery/qovery/latest/docs>
- **Terraform Provider Source**: `qovery/qovery` version `~> 1.0`
- **Terraform Examples**: <https://github.com/Qovery/terraform-examples>
- **Real-world example (Doktolib)**: <https://github.com/evoxmusic/Doktolib/blob/main/qovery.tf>
- **OpenAPI Spec**: <https://raw.githubusercontent.com/qovery/qovery-openapi-spec/main/openapi.yaml>
- **TypeScript SDK**: <https://www.npmjs.com/package/@qovery/client>
- **Go SDK**: <https://github.com/Qovery/qovery-client-go>

Files in this skill

  • SKILL.md13.4 KB
  • commands/qovery-deploy.md874 B
  • examples/fullstack.md7.6 KB
  • reference/auth.md4.7 KB
  • reference/console-url-detection.md2.4 KB
  • reference/phase1-discovery.md8.4 KB
  • reference/phase10-troubleshooting.md13.9 KB
  • reference/phase2-prereq-auth.md4.2 KB
  • reference/phase2b-cluster-setup.md11.4 KB
  • reference/phase3-dockerfiles.md8.9 KB
  • reference/phase3b-deployment-plan.md4.7 KB
  • reference/phase3c-blueprints.md13.2 KB
  • reference/phase4-cli-api.md11.9 KB
  • reference/phase5-terraform.md18.6 KB
  • reference/phase6-env-vars.md17.4 KB
  • reference/phase8-advanced-patterns.md6.2 KB
  • reference/phase9-watching.md5.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in devops →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.