一键导入
formae-destroy
Use when the user wants to destroy, delete, or tear down infrastructure resources, stacks, or environments
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when the user wants to destroy, delete, or tear down infrastructure resources, stacks, or environments
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when the user wants to add support for a new resource type to an existing formae plugin
Use when the user wants to check for infrastructure drift, see what changed out-of-band, or absorb/overwrite out-of-band changes into their IaC codebase
Use when the user wants to bring unmanaged/discovered resources under formae management, import resources into their IaC codebase, or absorb cloud resources into existing forma files
Use when the user wants to rename a managed resource, relabel a resource, change a resource's label, or give a discovery-named resource a readable name — a rename on its own never destroys or recreates the cloud object
Use when the user wants to deploy infrastructure, apply a forma file, reconcile a stack, update a stack, or make planned infrastructure changes
Use when the user wants to start authoring formae infrastructure or deploy something NEW with formae — e.g. 'I want to deploy X with formae', 'build a k8s app with formae', 'set up infrastructure for Y', 'create a new forma file for my service', 'write formae IaC for Z'. The front door that triages where the work happens, sets up plugin schema deps, and dispatches to focused authoring skills. NOT for applying an existing forma file (use formae-apply) or operating existing infra.
| name | formae-destroy |
| description | Use when the user wants to destroy, delete, or tear down infrastructure resources, stacks, or environments |
Use the destroy_forma MCP tool to remove infrastructure resources.
Destruction can be specified two ways (mutually exclusive):
destroy_forma with simulate: truedestroy_forma with simulate: falseget_command_status to monitor progress:
sleep 5). Do NOT poll in a tight loop.| User wants to... | Approach |
|---|---|
| Tear down a stack | query: "stack:staging" |
| Remove specific resources | query: "type:AWS::S3::Bucket label:temp-data" |
| Destroy what's in a file | file_path: "/path/to/forma.pkl" |
pkl eval to evaluate forma files — ALWAYS use formae eval --output-consumer machine. Forma files use formae-specific extensions that only the formae CLI can resolve, and --output-consumer machine ensures parseable output instead of human-formatted text.