| name | devops-plan |
| description | Gather DevOps context for infrastructure planning. Detects IaC tools, providers, and recommends skills. Use when Skill("blueprint") detects infrastructure work. |
| allowed-tools | Read Grep Glob Bash Task |
DevOps Plan Context
Gather infrastructure context for planning. Returns structured findings for the parent plan command.
When Called
This skill is invoked by Skill("blueprint") when DevOps keywords are detected in the feature description.
Workflow
1. Detect IaC Files
Check for existing infrastructure code:
ls *.tf infra/*.tf terraform/*.tf infrastructure/*.tf 2>/dev/null
ls ansible.cfg playbook.yml ansible/*.yml playbooks/*.yml 2>/dev/null
ls -d roles/ ansible/roles/ 2>/dev/null
ls cloud-init*.yml user-data*.yml cloud-config*.yml 2>/dev/null
Set flags:
HAS_TERRAFORM: true/false
HAS_ANSIBLE: true/false
HAS_CLOUD_INIT: true/false
2. Detect Providers
If Terraform files exist, extract providers:
grep -h "provider\s*\"" *.tf infra/*.tf 2>/dev/null | grep -oE '"[a-z]+"' | -d | -u