Imported from takumiuma/terraform-practice (
.kiro/skills/aidlc-environment-provisioning/SKILL.md). Install upstream withnpx skills add takumiuma/terraform-practice --skill aidlc-environment-provisioning. Copyright stays with the author.
AI-DLC Stage Runner — environment-provisioning
Run the environment-provisioning stage on its own. This is opt-in packaging over
/aidlc --stage environment-provisioning --single; the same stage is always reachable via
that flag without this skill.
Steps
-
Ask the engine for the single-stage directive:
bun .kiro/tools/aidlc-orchestrate.ts next --stage environment-provisioning --singleThe engine emits one
run-stagedirective forenvironment-provisioning(carrying the lead agent, the resolved consumes/produces paths, the rules and sensors in context, and — on this first directive — the conductor persona). Run the stage exactly as the directive describes; do not load the conductor persona by hand, the engine delivers it. -
Before acting on the directive, read
.kiro/aidlc-common/protocols/stage-protocol.md. Then read every.kiro/aidlc-common/protocols/stage-protocol-<module>.mdnamed bydirective.protocol_modules. Load every listed module before reading the stage body or running its topology; skip only a module already loaded earlier in this session. -
When the stage's work is done, commit the single-stage record:
bun .kiro/tools/aidlc-orchestrate.ts report --single --stage environment-provisioning --result completedThis records a STAGE_STARTED / STAGE_COMPLETED pair under a synthetic workflow id and stops. It NEVER writes the main workflow's
Current Stage— a single-stage run is isolated by design (the tool refuses to advance the main workflow).