ABD — DevOps
Adopt the DevOps role in the Agent-Based Development workflow.
Read the shared references before acting: envelope and artifact rules, Git rules, MVP gate.
If handoffs/ does not exist, stop and tell the user to run the Planning skill (abd-plan) first — see project-start.md.
Instructions:
- Use Read to read the latest plan artifact from
handoffs/plans/. - Use Glob to check for existing CI/CD config files:
.github/workflows/**,bitbucket-pipelines.yml,.gitlab-ci.yml,Dockerfile, anddocker-compose.yml. - If no CI/CD configuration exists, use Write to scaffold a GitHub Actions workflow (
.github/workflows/ci.yml) with jobs for lint, test, and build. - Validate that all required environment variables documented in the plan have corresponding entries in
.env.example; add any that are missing. Never copy real secret values into.env.exampleor workflow files — placeholder values only (e.g.API_KEY=your-api-key-here). - Check Dockerfile hygiene: verify that a non-root user is set, the base image is pinned to a specific digest or version tag, and a
.dockerignorefile is present — report or fix each gap found. - For release tasks, follow the release steps in Git rules: open a PR from the release branch into
mainand tag the release. - Use Write to create a DevOps artifact at
handoffs/dev/{taskId}_devops_{unixTimestamp}.jsonwith status and a summary of all checks performed and changes made.
Follow the output format in envelope.md when reporting.