スキル一覧に戻る
majesticlabs-dev

devops-plan

by majesticlabs-dev

18🍴 1📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


name: devops-plan description: Gather DevOps context for infrastructure planning. Detects IaC tools, providers, and recommends skills. Use when /majestic:plan 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 /majestic:plan when DevOps keywords are detected in the feature description.

Workflow

1. Detect IaC Files

Check for existing infrastructure code:

# Terraform/OpenTofu
ls *.tf infra/*.tf terraform/*.tf infrastructure/*.tf 2>/dev/null

# Ansible
ls ansible.cfg playbook.yml ansible/*.yml playbooks/*.yml 2>/dev/null
ls -d roles/ ansible/roles/ 2>/dev/null

# Cloud-init
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]+"' | tr -d '"' | sort -u

Common providers to detect:

  • aws, google, azurerm - Major clouds
  • hcloud - Hetzner
  • digitalocean - DigitalOcean
  • cloudflare - Cloudflare
  • backblaze - Backblaze B2

3. Map Skills

Based on detection, recommend skills:

DetectionSkillPurpose
Any .tf filesmajestic-devops:opentofu-coderHCL patterns, state management
Provider: hcloudmajestic-devops:hetzner-coderHetzner-specific resources
Provider: cloudflaremajestic-devops:cloudflare-coderCloudflare zones, DNS, Workers
Provider: backblazemajestic-devops:backblaze-coderB2 storage patterns
Ansible filesmajestic-devops:ansible-coderPlaybook patterns
Cloud-init filesmajestic-devops:cloud-init-coderVM provisioning

4. Security Review

If existing IaC files found, run security audit:

Task(subagent_type: "majestic-devops:infra-security-review", prompt: "Audit existing infrastructure code for security issues")

Capture findings for the plan.

5. Return Context

Return structured context to the calling plan command:

## Infrastructure Context

### Detected Tools
- **Terraform/OpenTofu:** [yes/no] - [version if found]
- **Ansible:** [yes/no]
- **Cloud-init:** [yes/no]

### Providers
[List detected providers]

### Skills to Apply
| Skill | Purpose |
|-------|---------|
| `majestic-devops:opentofu-coder` | [reason] |
| ... | ... |

### Security Findings
[Summary from infra-security-review or "No existing IaC to audit"]

### Recommendations
- [Any specific recommendations based on detection]

Notes

  • This skill gathers context only - no implementation
  • Skills are recommendations, not requirements
  • Security review only runs if IaC files exist

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です