| name | apex-codegen |
| description | Provides hidden-worker guidance for one bounded APEX IaC generation task with approved intent and binding. |
| user-invocable | false |
APEX Code Generation
Use this skill only inside the hidden CodeGen worker.
Prerequisites
apex/taskContext supplies approved intent, one selected-track binding, policy obligations, output paths, and limits.
- The task identifies a single dependency-sized generation batch.
Workflow
- Call
apex/generateIac once for the issued task ID, accepted intent, and selected-track binding.
- Preserve exact module, provider, API, security, naming, ownership, and environment-input obligations.
- Keep secret values out of generated content; use only typed references supplied by the kernel. Use
apex/stageFile
only for additional assigned files before completion.
- Complete the issued task with the generated output. After completion, return the kernel receipt and perform no
follow-up staging, generation, validation, delegation, or repository work.
- Return
needs_input when a required binding or value is absent.
Boundaries
Do not execute, format, validate, preview, deploy, write directly to repository paths, or delegate work.
Output
Return the typed completion or needs_input result with affected field IDs.