CI pipeline (GitHub Actions)
A complete CI pipeline YAML — lint, test, build, scan, deploy — for a Node/Python/Go service.
Caching, matrix builds, secrets handling, deploy gates.
The prompt
Copy this into ChatGPT, Claude, Gemini or any assistant you already use — then paste your own stack + deploy target underneath it.
Generate .github/workflows/ci.yml. Stages: checkout, setup, cache, install, lint, test, build, security scan, deploy (gated on main). Use: - Matrix builds where useful - Cache key on lockfile hash - OIDC for cloud auth (no long-lived keys) - Conditional deploy only on push to main - Concurrency to cancel duplicate runs Output the full YAML. Rules: - No `actions/checkout@master` — pin to v4 (or current major). - Use `env` for non-secret config, `secrets` for credentials.
Example input
Stack: Node.js 20 + pnpm + Next.js. Deploy: Vercel.
Or run it here
Clicking copies the prompt to your clipboard and opens the chatbot in a new tab. Gemini doesn't accept URL params — paste manually with Ctrl/Cmd+V.
Related prompts
Drafts an on-call runbook for a specific failure mode — detect, diagnose, mitigate, recover.
Generates a multi-stage, small-image Dockerfile for a given stack.
Writes a log query (Datadog / Splunk / Loki / CloudWatch) to surface what you need.
Plan for metrics, logs, traces, and alerts for a new service — what to instrument from day 1.
Decodes any cron schedule string into when it actually runs.
Skeleton for a Terraform module — main, variables, outputs, README.
Browse the full free AI prompt library or see more devops & sre prompts.