add-module
スター2
フォーク0
更新日2026年7月15日 01:54
Scaffold a new OCI Terraform module following project conventions
インストール
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SKILL.md
readonlyメニュー
Scaffold a new OCI Terraform module following project conventions
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Open or close a TCP/UDP port on the instance — updates security list and iptables
Deploy or update OCI infrastructure — runs plan and apply
Interactive setup wizard — walks through OCI configuration with guided questions
Manage SSH access to the OCI instance — open, connect, or close
Show current state of OCI infrastructure — IPs, resources, drift
| name | add-module |
| description | Scaffold a new OCI Terraform module following project conventions |
| allowed-tools | Read, Write, Edit, Grep, Glob |
| argument-hint | <module-name> |
Create a new Terraform module under terraform/modules/oci-$ARGUMENTS/ following the conventions of this project.
terraform/modules/oci-storage/) to match the structuremain.tf, variables.tf, outputs.tfmain.tf includes: description, what it provisions, usage examplerequired_providers block (oracle/oci >= 5.0)compartment_id variable with OCID validation: can(regex("^ocid1\\.(compartment|tenancy)\\.oc", ...))freeform_tags = var.tags with a tags variable (default {})===== section separators between resource groupsdescription, type, default (where appropriate), and validation blocksterraform/modules/oci-$0/main.tf with provider block, header comment, and placeholder resourcesterraform/modules/oci-$0/variables.tf with compartment_id and tagsterraform/modules/oci-$0/outputs.tf with placeholder outputsterraform/environments/oci-prod/main.tfterraform fmt terraform/modules/oci-$0/