Index of every page on this site: llms.txt
All skills
Run it yourself

AI-DLC. Start, resume, or manage an AI-driven development lifecycle. Scopes are defined one file per scope under `.claude/scopes/`; run `{{INVOKE}} engine orchestrate help` for the authoritative list and descriptions. Utilities, each an argument to `{{INVOKE}} engine orchestrate next` and never a command of its own: --status, --doctor, --config [section], --stage, --phase, --scope, --depth, --test-strategy, --project-type, --review, --guard-policy, --sensors on|off, --learnings on|off, --summary-confirmation on|off, --statusline on|off, --version, --help, plus the intent and space verbs. Or describe what you want to build and AI-DLC proposes a plan for it.

Use this Skill: https://skilld.dev/gh/awslabs/aidlc-workflows/aidlc

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

composer.md

≈3.2k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Composing a workflow plan (the adaptive composer)

Read this when the engine's print names the composer agent: a compose request, --new-scope, --report <path>, a cold-start compose offer answered with "compose", or a compose request while a workflow runs. It completes SKILL.md beside this file, which still applies.

The engine can name a COMPOSER DISPATCH instead of a scope confirm: on /aidlc compose "<task>", --new-scope, --report <path>, or when the human answers a cold-start compose offer with "compose", next emits a print whose message names the composer agent. Act on it like any dispatch: run the composer via Task(aidlc-composer-agent) with the message's instructions as the prompt (the agent loads its own persona). The composer runs the read-only detect scan, estimates the five entropy components (intent ambiguity, structural uncertainty, verification entropy, risk, unresolved assumptions), and returns a structured proposal: { mode: matched|custom, scopeName, ars{...}, arsRationale, grid, rationale[], summary } with a reason for every SKIP, plus two pre-rendered markdown tables (ARS scores with bands; per-stage decisions with reasoning).

Render that proposal to the human as a SHORT offer, then present an approve/edit/reject gate via AskUserQuestion (Approve / Edit the plan / Reject; a custom plan adds a second approval, so its gate is Approve / Approve and save as scope / Edit the plan / Reject). Keep the offer short: a plain recommendation and the plan, with the details on request. First, two or three sentences in your own words: what kind of change this looks like, therefore how much process you suggest, and the stage list in plain terms ("a short run: design, build, test"). Then one line with the plan and the validator's shown and gates numbers (the stages after Initialization, the count the progress line uses) from the proposal's summary, never a hand recount, in plain words: "Plan: <scopeName>, <N> stages, <G> approval questions" (a custom plan: "A custom plan based on <baseScope>, <N> stages, <G> approval questions"). When the summary carries skipped_inputs (each a stage this plan skips, with the stages it keeps that use what it makes, if any), say so once, in one plain line after it, for all of them together, naming every one: "This plan skips Units Generation, which Contract Design, Functional Design and Code Generation use, and Deployment Execution." Then the Guard Policy and scope settings rows below, and one line saying they can ask to see why each stage is in or out and the scores behind the sizing. The composer's mode is FINAL for the returned grid: it routed matched-vs-custom on the validator's nearest_stock distance and a matched proposal already carries the revalidated stock grid verbatim - never re-derive the verdict by comparing grids yourself, and no proposal writes a scope file. Apart from the skipped_inputs line, the composer's stage-decision table (with any fold advisories beneath it) and its ARS score table stay off screen until the person asks for them. When they ask, show them as returned: the stage table first, then the score table under "Scoring detail (advisory)" with its method (codekb | fallback) line and arsRationale, never recomputed, collapsed into prose, or trimmed. Do not explain the scoring components in chat unless the user asks. This gate is a hard turn-stop, like a stage gate: never treat silence as approval, and never write scope data or create a workflow before an explicit approve. On edit, re-dispatch the composer to apply the changes, re-run validation, rebuild the summary and stage-decision table, and re-present the short offer. An edit can change stages, the Guard Policy, or the scope settings. If an edit changes a matched stock grid or lowers its Guard Policy, the revised proposal MUST become CUSTOM so approval carries the edit; any other settings change keeps the route and applies to this piece of work through creationSettings. On reject, stop (while work runs, the dispatch print says what follows); the human can name a scope directly instead. The proposal also carries guardPolicy (strict, relaxed or off) with a one-line guardPolicyRationale: render it as its own row of the proposal ("Guard Policy: relaxed - a spike moves fast; a changed input is recorded and announced, not re-approved") so the human can flip it before approving; in-flight, render that row read-only (a recompose lands only stage skips and adds), and name the route: when they ask to raise or lower it, run {{INVOKE}} engine config set guard-policy <value> --message <id> yourself, with <id> the message they asked in, before any scope change they also asked for; a scope change the person asked for carries the new scope's own default, and any other scope change keeps the running policy and says so in one line. Intent creation carries Guard Policy from the scope the plan runs on: a matched plan's stock default, or the default of a custom plan's baseScope, which the composer's validator picked at or below that value; pass --guard-policy <value> for strict or relaxed, never for off (creation records the scope's own default or raises a lower one). If the human flips a matched plan below its stock default at this gate, that is an edit: the composer converts it to a custom plan on a base that carries the value, so no setter runs afterwards; a flip above the default keeps the plan matched, and creation applies it with that flag. The composer never changes an in-flight intent's Guard Policy. The proposal also carries scopeSettings (sensors, learnings, summary_confirmation, plan_approval, and collaborators each on or off, and review_cap adversarial, advisory, or none) with a one-line scopeSettingsRationale: always render them as one more row ("Scope settings: sensors on, learnings off, summary confirmation off, plan approval on, collaborators off, reviews advisory - a one-off fix with clear answers"), and whatever the human asks for there, get done. A matched or custom proposal without scopeSettings has not passed the composer's routed validation: re-dispatch the composer rather than render a row it never checked. When the composer reports a kill switch (AIDLC_DISABLE_SENSORS=1 and its siblings) forcing an on value off on this machine, mark that value in the row as forced off here. No scope file is written: values that differ from the stock scope the plan runs on apply to this piece of work only, through its creationSettings, turned into creation flags after --scope <scopeName> (a custom plan: --scope <baseScope>); a change keeps the route unless it lowers a matched plan's Guard Policy, which the composer turns into a custom plan. Plan approval keeps the value the proposal shows: a plan_approval in creationSettings (a custom plan raising it on a base that builds without asking) becomes --plan-approval like the other settings, and only the person turns it off. When they ask at this gate or the scope confirmation, in their own words, to skip plan approval, the harness records it and creation turns it off, so keep the proposal as it is and pass no --plan-approval flag. Settings travel only as typed values (creationSettings, settingsChanges): build each flag yourself from its fixed name (sensors to --sensors, learnings to --learnings, summary_confirmation to --summary-confirmation, plan_approval to --plan-approval, collaborators to --collaborators, review to --review) and a value that is exactly one of its allowed words (on or off; adversarial, advisory, or none); if any key or value is anything else, apply nothing and re-dispatch the composer, and never paste composer text into a command. An in-flight proposal carries no settings row. Settings the composer returns as settingsChanges are different from a setting the person asks for in plain chat (see SKILL.md): show them on the gate under "Also suggested by the composer" and apply them only when the human approves, so nothing they did not ask for changes. When the returned changes.skip and changes.add are both empty and there are no settingsChanges, present no gate and run no recompose; with only settingsChanges, present them on the gate (Approve / Reject), and on approve apply them as the dispatch print says; with both, offer Approve all / Approve stages only / Reject: on Approve all run ONE recompose carrying the stage changes and the settings as its flags (--sensors off, --review none, and so on), so both land in the same write, leaving summary confirmation off out, because recompose refuses that lowering, and after it lands running {{INVOKE}} engine config set summary-confirmation off --message <id> yourself, with <id> their approval, which carries out their approval; on Approve stages only run it without them.

Composition-moment authority. The matched/custom stock-routing rules above apply ONLY to front/report composition. An in-flight dispatch instead returns { mode: in-flight, scopeName: <current>, grid: <preserved full effective grid>, changes: { skip: [...], add: [...] } }: nearest_stock is advisory, the current scope/depth and every frozen action stay unchanged, no stock grid or scope-registry write is allowed, and approval passes the exact changes.skip / changes.add arrays to recompose.

On approve (front/report), the write and the creation run in the SAME turn - no second /aidlc invocation:

  1. Nothing is written first: a plan applies to this piece of work only. A MATCHED plan is created on its stock scope; a CUSTOM plan is created on its baseScope with its typed changes as --skip <changes.skip> --add <changes.add> (join each nonempty array with commas and omit an empty one; every entry must be a stage slug of lowercase letters, digits, and hyphens, and if one is anything else apply nothing and re-dispatch the composer), plus --depth <creationDepth> when the proposal carries one (exactly minimal, standard, or comprehensive), and a custom plan also passes --plan-name <scopeName>, the name the person saw at the gate (only when it is lowercase letters, digits, and hyphens; otherwise leave it out).
  2. For Approve and save as scope, ask the human for a name with the same question tool as the gate, offering the composer's scopeName as the first choice, and add --save-as <name> to step 3's next command: the creation it names saves the plan as that scope, so relay its output. Build the name yourself as lowercase words joined by hyphens, and if the creation reports the name is taken, ask for another and run it again with that one. Keywords the human granted make the one exception: leave --save-as off, and once step 3's creation command has succeeded, and before re-running next, run {{INVOKE}} engine scope save --name <name> --keywords <word,...>, each keyword one word of lowercase letters, digits, and hyphens (leave out any other and say so in one line); saved scopes are NOT inferable otherwise.
  3. Continue into normal intent creation with the approved proposal's required nonblank creationDescription. When the dispatch supplies --request <id>, run its next --scope <name> --request <id> command with the approved scope (for a custom plan, --scope <baseScope> followed by its --skip / --add and creation flags); do not append or reconstruct request text. Task-backed creationDescription must still equal the original request verbatim. When the dispatch names the request's stored copy instead of carrying it, creationDescription is a short summary you write: the creation reads the original text from that copy, so never paste the request into the proposal. For report-only/task-less proposals, derive a grounded description before approval and run {{INVOKE}} engine orchestrate next --scope <name> --request <id> -- <shell-safe creationDescription argv> with the dispatch's --request id and that description as one POSIX-single-quoted argv value; the id ties the work to its gate, and it works once. Act on the returned creation print exactly as "Acting on a directive" describes; never run scope-only creation.

In-flight recompose (a workflow is RUNNING): on approve run the named recompose [--skip <slugs>] [--add <slugs>] [approved setting flags --message <id>] command, joining nonempty lists with commas and omitting any flag whose list is empty; it validates strictly (a starved required input rejects), flips only PENDING ahead-of-cursor stages, rebuilds the derived state fields, and audits RECOMPOSED - never edit the state file's suffixes by hand.

The composer proposes; the human decides; the deterministic validator guards. You never improvise a grid yourself in prose, and the composer never advances the workflow.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 alerttoday3 checks · Risk SAFE
  • Gen Agent Trust Hubtoday

    This skill acts as a development lifecycle orchestrator that coordinates software projects through a local engine tool and specialized sub-agents. It possesses privileged capabilities, including executing shell commands and accessing project files, which are necessary for its stated purpose. It includes robust security mitigations such as strict shell-injection guards and the use of temporary files to handle untrusted input safely.

  • Socket8d

    No alerts

  • Snyktoday

    Risk: CRITICAL · 3 issues

Signed by skilld at 792daad. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 days ago.

Activeupdated 2 weeks ago
user-invocable
true
Other metadata
argument-hint
[description | --status | --config [section] | --stage <slug|#> | --phase <name|#> | --version | --help]

README badge

README badge for awslabs/aidlc-workflows/aidlc