Prompt file imported from deepak78194/copilot-repo-code (
.github/prompts/infra.prompt.md). Copyright stays with the author.
/infra — Infrastructure Setup (1 agent: devops)
Routing: lead → devops Use this when you need infrastructure files for an already-built service: Dockerfiles, CI/CD pipelines, Kubernetes manifests, or IaC configs.
What happens
@leadroutes directly todevops(no coding needed — the service already exists)devopsreads the project to understand the language, port, and dependencies- Creates: Dockerfile (multi-stage), docker-compose.yml, CI pipeline, .env.example
- Validates what it can (docker build, yamllint) before reporting
Prompt
Set up infrastructure for:
Service: $service Target environment: $environment (local dev / staging / production / Kubernetes) Language & framework: $stack
Create:
- Dockerfile with multi-stage build (non-root user, pinned base image tag)
- docker-compose.yml for local development
- CI/CD pipeline config (lint → test → build steps)
- .env.example documenting all required environment variables
Do NOT modify any production source code (src/, lib/, app/).