Index of every page on this site: llms.txt
All skills
awslabs avatar

/aidlc-outcomes-pack

@792daad
Run it yourself

Generate a comprehensive handover document at workflow close so the team can own, operate, and continue the system without re-running the workflow. Stage/phase/learning counts come from `{{INVOKE}} engine runtime summary`; prose comes from the artefacts. Writes OUTCOMES.md but never mutates workflow state or emits audit events.

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

Nothing lands on disk. Nothing to clean up.

Fork this Skill

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

SKILL.md

≈88 tokens for metadata: the name and description. ≈1.1k when used: this file.

Description uses 4.4% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈351 characters, or 4.4%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

AI-DLC Outcomes Pack

Purpose

Produce a single handover document at the close of a workflow that gives the team everything they need to own, operate, and keep building the delivered system — without re-running the workflow to recover context.

Classification

Read-only with respect to workflow state. This skill never advances the stage pointer and never emits an audit event. It does write one report artefact (OUTCOMES.md at the workspace root) — that is its output. It writes nothing else.

The counting rule

Stage tallies, per-phase rollup, memory-entry counts, and learnings captured come from the tool, not from eyeballing the artefact tree:

{{INVOKE}} engine runtime summary --json

Section content (what was built, setup steps, decisions) is yours to synthesise from the artefacts and the delivered code. Any count that appears in the pack must trace to the tool's output.

Steps

Step 1: Read the aggregates

Run {{INVOKE}} engine runtime summary --json.

If it exits non-zero (no runtime-graph.json yet), print:

No session data yet — an outcomes pack is generated at the close of a
workflow. Run /aidlc to completion first.

and STOP. Otherwise keep the parsed JSON for the count fields below.

Step 2: Read the content sources

Resolve <active-space> from aidlc/active-space (default default) and <active-intent> from aidlc/spaces/<active-space>/intents/active-intent. The active workflow record is aidlc/spaces/<active-space>/intents/<active-intent>.

  • All artefacts recursively under <record>/<phase>/ — requirements, design decisions, NFRs, infrastructure, and per-unit outputs.
  • The delivered application and infrastructure code at the workspace root.

Step 3: Write OUTCOMES.md

Write OUTCOMES.md at the workspace root (outside <record>/):

# Outcomes Pack
**Scope**: {summary.scope}
**Stages delivered**: {summary.stages.approved} approved / {summary.stages.total} total
**Duration**: {summary.duration_minutes} min

## 1. What Was Built
- Project name and description (from requirements)
- Scope the workflow ran at
- Units of work delivered and what each contains
- Key architectural decisions and why (from design artefacts)
- Tech stack with version pins

## 2. Repository Structure
- Annotated directory tree of the delivered code
- What lives where and why

## 3. Setup Guide
- Prerequisites (runtimes, tools, cloud CLI versions)
- Local development setup, step by step
- Required environment variables
- How to run tests

## 4. Build and Deploy
- Build steps
- Full test-suite run
- Infrastructure deployment (from Build and Test artefacts)
- IaC deployment commands with expected outputs, if generated

## 5. Architecture Decisions
- Every significant decision made during the workflow
- Alternatives considered and why rejected
- Constraints that shaped the design (from rules and practices)

## 6. What to Commit
| Artifact | Action | Destination |
|----------|--------|-------------|
| `decisions.md` (per stage) | Commit | `docs/decisions/` |
| Architecture summary (1 page) | Write + commit | `docs/architecture.md` |
| NFR summary table | Write + commit | `docs/nfr-summary.md` |
| Application / infrastructure code | Already committed | — |

## 7. Workflow Footprint
- Stages: {summary.stages.approved} approved, {summary.stages.failed} failed, {summary.stages.pending} pending
- Memory entries captured: {summary.memory.total}
  ({summary.memory.interpretations} interpretations, {summary.memory.deviations} deviations, {summary.memory.tradeoffs} trade-offs, {summary.memory.open_questions} open questions)
- Learnings captured: {summary.learnings.from_orchestrator} from orchestrator, {summary.learnings.from_user_addition} from user additions

## 8. Known Limitations and What to Tackle Next
- Scope items explicitly deferred during the workflow
  (cross-reference the {summary.memory.open_questions} open questions above)
- Technical debt identified but not resolved
- Recommended next steps

Step 4: Confirm

Print a short summary: sections written, any sections skipped for missing source material, and recommended additions. You may offer one round of "want to add or adjust a section?" — do not loop on it.

Source: SKILL.md on GitHub

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.

No alerts1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    The skill generates a summary report by reading local project files and running an internal utility. While the logic is functional, it processes untrusted workspace data which could be used for indirect prompt injection.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: LOW · No 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 yesterday.

Activeupdated 2 weeks ago
user-invocable
true
classification
read-only

README badge

README badge for awslabs/aidlc-workflows/aidlc-outcomes-pack