| name | ci-cd |
| description | Workflow for creating a complete CI/CD pipeline. Use when the user needs to set up or modify CI/CD pipelines. |
Skill: Set Up CI/CD Pipeline
Trigger
When the user needs to set up or modify CI/CD pipelines.
Steps
Step 1: Define Pipeline Stages
Step 2: Create Pipeline Configuration
Step 3: Configure Secrets
Step 4: Add Quality Gates
Step 5: Set Up Deployment
Step 6: Test Pipeline
If a step fails
| Step | Failure | Recovery |
|---|
| Step 4 | Quality gate blocks pipeline | Fix failing tests, coverage, or type errors locally; do not lower thresholds to pass |
| Step 5 | Deploy stage fails | Check secrets and env vars; verify target environment is reachable; rollback if prod deploy partially applied |
| Step 6 | Pipeline fails on test trigger | Fix the broken stage; verify failure handling works (pipeline should fail fast, not deploy on failure) |
Never remove manual approval for production. Never deploy on failure.
Completion
CI/CD pipeline is running, tested, and documented.