DevOps
knowledge skill
Generates or updates CI/CD pipeline configurations (e.g., GitHub Actions, GitLab CI) for software projects. Produces a YAML file defining build, test, and deployment stages with environment variables and triggers.
Worked examples
- {"input": {"pipeline_type": "github_actions", "stages": ["build", "test", "deploy"], "env_vars": {"DOCKER_IMAGE": "myapp:latest", "AWS_REGION": "us-east-1"}}, "output": {"pipeline_file": "name: CI Pipeline\non: [push]\njobs:\n build:\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v4\n - run: docker build -t myapp:latest .", "file_name": ".github/workflows/ci.yml"}}
- {"input": {"pipeline_type": "gitlab_ci", "stages": ["test", "deploy"], "env_vars": {"DEPLOY_TARGET": "prod", "SLACK_WEBHOOK": "xoxb-..."}}, "output": {"pipeline_file": "stages:\n - test\n - deploy\nvariables:\n DEPLOY_TARGET: prod\nslack-notify:\n script: curl -X POST -d '{\"text\":\"Deployed\"}' $SLACK_WEBHOOK", "file_name": ".gitlab-ci.yml"}}
Input
- pipeline_type: string (e.g., 'github_actions', 'gitlab_ci')
- stages: array of strings (e.g., ['build', 'test', 'deploy'])
- env_vars: object mapping variable names to values
Output
- pipeline_file: string (YAML content as a single string)
- file_name: string (e.g., '.github/workflows/pipeline.yml')
Details
- Skill type: knowledge skill
- Safety level: safe_public_research
- Version: 1.0.0