PromptsHub
Used by 5,000+ developers & creators
Back to Developers
Developersdevopsci-cdpipeline

Production-Ready CI/CD Pipeline Architect

Generates optimized, secure, and production-ready CI/CD configurations featuring dependency caching, linting, and multi-environment deployment.

Use Case

Use this prompt when setting up a new repository, improving continuous integration performance, or ensuring secure delivery pipelines.
AI Prompt
Act as a Senior DevOps and Site Reliability Engineer. Generate a secure, production-grade CI/CD configuration file for [insert platform, e.g., GitHub Actions, GitLab CI, CircleCI] to support a [insert runtime/framework, e.g., Node.js, Python, Go] project. The configuration must include caching of dependencies for faster runtimes, linting and formatting verification, a testing execution phase, security vulnerability scanning of dependencies, and containerization deployment commands to [insert cloud target, e.g., AWS ECS, GCP Cloud Run, Kubernetes].

How to Use

  1. 1State your preferred CI/CD platform (e.g. GitHub Actions).
  2. 2Specify your programming language, runtime, and infrastructure target.
  3. 3Save the output configuration file directly inside your codebase infrastructure directory.

Example Output

This GitHub Actions workflow configuration handles continuous integration. It defines an environment pipeline with caching configured on your package manager directory. It runs linting, executes the unit test suites, builds a minimal Docker image, and triggers a rolling deployment update on AWS ECS container tasks.