/formae:formae-renamefrom formae
Renames formae-managed cloud resources by setting alias to the old label and label to the new one, without destroying the cloud object. Includes simulation checks to detect destructive replaces.
Ships in formae. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
alias)Change a resource's label without destroying and recreating the cloud object. A rename on its own is non-destructive — no cloud operation at all. If you change properties in the same edit, the property change (not the rename) decides the outcome: a mutable change is an in-place update, an immutable (createOnly) change forces a destroy-and-recreate replace. See "Reading the simulation." The rename happens inline with apply_forma — there is no separate rename command.
A label is a formae-side identifier; it is never sent to the cloud provider. To rename, set alias to the resource's previous label and label to the new one:
new vpc.VPC {
label = "production-vpc" // the NEW label
alias = "vpc-008eef..." // the PREVIOUS label
cidrBlock = "172.31.0.0/16"
}
On apply, the agent matches the existing managed row by alias and renames it in place. KSUID and the cloud NativeID are preserved — no destroy/recreate. Cross-resource .res references that resolve through the renamed resource's KSUID keep working.
A rename can ride along with a property change in the same apply (one update carries both).
Use formae-author to select context and prepare the complete affected stack.
For mode none, use its disposable source internally; discuss the old/new
resource labels and actual infrastructure effect, not filenames or alias syntax.
For mode codebase, preserve and update the selected maintained project.
alias to the current label, change label to the new name. Leave properties untouched unless the user also asked for a change.apply_forma with mode: reconcile (or patch), simulate: true.update with a change label from "<old>" to "<new>" line and nothing else. If the simulation shows a replace, stop — an immutable field changed alongside the rename, and applying will destroy and recreate the cloud object.simulate: false.get_command_status:
sleep 5). Do NOT poll in a tight loop.alias can stay or be removed (re-applies match the new label first).The rename itself never destroys the cloud object. What the simulation shows depends on whether you also changed properties in the same edit:
update whose only change is change label from "<old>" to "<new>" (no property patch, no create, no delete). Safe to apply after confirmation.update carrying the change label line plus a property patch. Still in-place; the cloud object is modified, not recreated. Safe to apply once the user confirms the property change.createOnly) property change → replace — DESTRUCTIVE. The replace is driven by the immutable field, not the rename: formae will destroy and recreate the cloud object (losing anything the provider doesn't preserve across recreation). Do NOT treat this as a normal rename outcome. Stop, tell the user plainly that applying will destroy and recreate the resource because of the immutable-field change, and get explicit confirmation — or split the work: do the rename on its own first (non-destructive), then make the property change separately.alias doesn't match any existing managed row. Check the alias is the exact current label, same stack, same type. Fix and re-simulate.The agent validates alias before touching the cloud and rejects:
alias. Remove the duplicate declaration.alias names a label that matches no existing managed (same stack) or unmanaged resource of the same type. Fix or remove it.alias equals label — the alias must reference a different prior label.If the resource is still unmanaged (discovered, not yet in a forma), don't use this skill — use /formae-import and set alias to the discovery-assigned label during the import. The resource is adopted and renamed in one apply.
label only. Moving a resource between stacks or targets is a separate operation.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.alias when the user actually wants a rename — a stray alias that matches nothing is rejected at apply timeWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
23 skills in this plugin
/formae-applyUse when the user wants to deploy infrastructure, apply a forma file, reconcile a stack, update a stack, or make planned infrastructure changes/formae-authorUse 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./formae-configUse when the user wants to switch, list, save, edit, delete, or compare formae configuration profiles in ~/.config/formae/Other plugins' skills for the same job
formae@formae-marketplace is listed by platform-engineering-labs/formae-marketplace — review the source before installing
npx claudepluginhub platform-engineering-labs/formae-marketplace --plugin formae