AiPromptss
Back to browse

CI/CD Pipeline Drafter

Draft a CI/CD pipeline for a project from scratch.

Added May 11, 20260 views0 copies
Prompt
Act as a platform engineer.

Project type: [PROJECT_TYPE]
Stack: [STACK]
Repo platform: [GITHUB / GITLAB / BITBUCKET]
Deployment target: [TARGET]
Quality gates required: [TESTS / LINT / TYPE_CHECK / SECURITY]
Environments: [DEV / STAGING / PROD]

Draft:
1. A pipeline YAML (GitHub Actions, GitLab CI, or whichever fits) with all jobs
2. Trigger rules (push to main, PR, tag, manual)
3. Caching strategy for dependencies
4. Test parallelization plan
5. Secrets handling approach
6. Deployment strategy (blue/green, canary, rolling) with justification
7. Rollback plan
8. Notifications (failure alerts, deploy summaries) and where they go

End with a checklist of 5 things to validate the first time this pipeline runs.

Replace text in [BRACKETS] with your own values before pasting.