Skip to content

aws-samples/aidlc-discovery

v3.0.0MIT-0

AI-DLC Discovery: run Discovery in five phases, from customer feedback to a Discovery brief, with one skill per job.

AI-DLC Discovery skills for AWS Quick

Agent skills that run product discovery in AWS Quick Desktop. A product engineering team brings its customer feedback and leaves with a decision on what to build first, a clickable prototype, and a Discovery brief: one document the build starts from, whether the team builds it itself, with agents, or with AI-DLC.

Discovery is the part of the AI-Driven Development Lifecycle (AI-DLC) that decides what to build and for whom. When a team continues into AI-DLC, the brief takes the place of AI-DLC's own Ideation phase, and AI-DLC starts at Inception.

Workshop: to learn the method hands-on, follow the AI-DLC Discovery workshop in AWS Workshop Studio.

What this sample demonstrates

  • A product method packaged as agent skills. Five phases (Signals, Working Backwards, Prototype, Validate, Handoff), run by one entry skill that calls eleven job skills. Each job also works on its own.
  • AI that drafts and humans who decide. The skills analyze, draft, and cite evidence, then stop at a checkpoint after every phase. The team reviews every score, writes or challenges every document, and makes the build decision.
  • Evidence you can trace. Every claim in the PR/FAQ, PRD, go-to-market section, and brief is labeled Known (backed by the data), Assumed, or Needs evidence. Anything still unproven goes into the brief as an open question.
  • Customer data handled with care. The skills work on production data, on anonymized Signal Briefs written in the team's own environment, or on a synthetic dataset prepared beforehand. They never invent data during a run, and raw data stays out of version control.
  • A handoff a build can read. The Discovery brief is plain Markdown under 200,000 characters, written for a person or an agent who took no part in Discovery. For AI-DLC 2.10.0 or later, the skills also write the personas into AI-DLC team knowledge and give the command that starts Inception from the brief.

How Discovery runs

PhaseThe questionWhat the team leaves with
1. SignalsWhat are customers telling us?The team's own hypotheses, written first; a Signal Analysis Report; testable hypotheses
2. Working BackwardsWhich problem first, for whom, and how would we announce it?Personas; 3 to 5 use cases scored on six weighted dimensions; PR/FAQ; PRD; go-to-market draft; the riskiest assumption
3. PrototypeWhat would it look like?A multi-screen prototype with Flow, Mobile, and Desktop views, critiqued by the personas; every iteration kept as a version
4. ValidateWhat could make it fail, and how will we know it worked?Four risks (valuable, usable, feasible, viable); a pre-mortem; testable success criteria; commit, pivot, or park
5. HandoffWhat does the build start from?The Discovery brief, and the next steps

A team can run the phases in one sitting or across several sessions; every artifact is saved as a file, so Discovery picks up where it stopped.

The skills

SkillPhaseJob
aidlc-discoveryAllRuns Discovery: setup, phase order, checkpoints, and shared rules
discovery-signalsSignalsTeam hypotheses, then the analysis of feedback, Signal Briefs, or a synthetic dataset
discovery-personasWorking Backwards, PrototypePersonas from the data; the persona critique of the prototype; persona role-play and panels
discovery-use-case-scoringWorking Backwards, ValidateGate, six weighted scores, confidence, and a decision for each candidate use case
discovery-working-backwardsWorking BackwardsThe five Working Backwards questions, PR/FAQ, readiness check, PRD, riskiest assumption
discovery-gtmWorking Backwards, ValidateFirst adopters, positioning, viability check, adoption and success targets
discovery-prototypePrototypeThe clickable prototype, the critique, and the iteration
discovery-validateValidateFour risks, pre-mortem, success criteria, prioritized problems, and the decision
discovery-handoffHandoffThe Discovery brief, AI-DLC team knowledge, and next steps
discovery-signal-briefBefore DiscoveryOptional. The team writes anonymized Signal Briefs from its own data
discovery-surveyAfter DiscoveryOptional. Surveys that test the open hypotheses with real users, and a results dashboard

In this repository each skill is its own folder under skills/, with a SKILL.md and, where needed, references/ that hold the detailed prompts, so each job is easy to read, change, and test. For installation, scripts/build.py bundles them into one skill, aidlc-discovery, with a module per job that loads only when its step runs. You install, update, and remove one item. The skills follow the Agent Skills format and AWS Quick's skill conventions.

Prerequisites

  • AWS Quick Desktop on macOS or Windows, signed in to any AWS Quick plan. Skills and plugins run only in the Desktop app.
  • A folder on your computer that AWS Quick can access. Discovery saves everything there.

Install

  1. Get the package. Either download aidlc-discovery-vX.Y.Z.zip from the latest release and unzip it, which gives you an aidlc-discovery folder, or clone this repository and build it (Python 3.9 or later, no dependencies):

    python3 scripts/build.py
    

    This writes dist/aidlc-discovery/: the plugin manifest and one skill, aidlc-discovery, with its modules.

  2. In AWS Quick Desktop, open Customize, then Skills, choose Create, then From folder. Select the unzipped aidlc-discovery folder, or dist/aidlc-discovery if you built it.

  3. In a new chat, ask List my skills. You should see one skill, AI-DLC Discovery.

How AWS Quick stores the skill. Importing from a folder uploads a snapshot of the skill to AWS Quick's own storage. AWS Quick reads that snapshot, not the folder on your computer, so you can move or delete the folder after importing, and changing files in it has no effect until you import again.

To update: delete AI-DLC Discovery in Customize, Skills (the ⋮ menu on its row); build again (or download and unzip the new release); import the new aidlc-discovery folder; and start a new chat. Check the version in List my skills.

Copying the skill folder by hand into the AWS Quick profile folder is not a supported install: AWS Quick may not pick up later changes to it. Import from a folder.

Saving Discovery in a Space (recommended in AWS Quick). Save Discovery in a Space instead of a local folder, and everyone the Space is shared with can follow it, open the prototype, and take over from their own AWS Quick Desktop. The team creates and names the Space, attaches it to the chat, and says "save Discovery in our team Space" at setup. One person drives at a time, and the customer data stays out of the Space. See skills/discovery-team-space/SKILL.md and docs/team-space.md. Without a Space, nothing changes.

Viewing prototypes. Prototypes open in AWS Quick's session tab, and as plain files in any browser. If a view does not switch in the session tab, open the file from your working folder (discovery/[project]/prototype/).

What Discovery covers

Discovery ends with a decision on what to build and why. Building, running, and operating the product come after, with the team's own engineers, AI-DLC, or AAP, and the Discovery brief is what they start from.

  • Covered: customer signals, personas, use case scoring, the PR/FAQ and PRD, a clickable prototype, and, for AI features, a first-draft prompt and evaluation cases. Also the business side of launch: the viability check, go-to-market, success criteria, and the commit, pivot, or park decision.
  • Owned by the build: architecture, model selection, the data and retrieval design, the final prompt, evaluation automation, operational readiness, rollout, and support.
  • Out of scope: product strategy across several products, product management operating models, and AI use case selection outside a product team's own product.

Run your first Discovery

Two samples are ready to run. AnyCompany Air is the default: start there if you are new. Each is a realistic, fictional business with feedback from customers, frontline staff, account teams, and sales, and each hides an answer the method has to find. Pick one:

  • AnyCompany Air: an airline whose customers and corporate accounts complain. 400 records from reviews, call center contacts, social posts, NPS, corporate account notes, and travel agencies, plus operations data and the app's telemetry (real user monitoring journeys, backend spans, and top errors). Production data with telemetry.
  • AnyCompany Health: an insurer's portal for members, employers, and brokers. Regulated, so the data never leaves the insurer: 10 Signal Briefs and aggregate statistics only. Signal Briefs.

Each sample's README.md is the scenario page: the company, who is on the team and what they believe, the business metric with its baseline, the candidate use cases the team brings, and the prompt that starts Discovery. To run one:

  1. In AWS Quick Desktop, open Settings, then My computer, then Local folders, and add the sample's folder, for example samples/anycompany-air.
  2. Start Discovery with the prompt on the sample's page, and answer the setup questions as that team.

The skill asks for the team's own hypotheses before it shows any analysis, and stops for review at the end of every phase. With sample data it says the run is a demonstration: the flow is real, but the brief is not evidence for a build.

Answer keys: each sample has notes in facilitator/ with the designed answers, the expected scoring, and the traps to watch for. Read them after a run, not before. Complete reference runs are in facilitator/reference-runs/. The same folder holds material for running Discovery as a facilitated session: facilitator/run-sheet.md, facilitator/dry-run-air.md, and facilitator/train-the-trainer.md. samples/CONVENTIONS.md explains how the samples are built, for anyone adding one; the data is generated by the scripts in scripts/samples/.

Use your own data

Choose how the data comes in at setup:

  • Production data (the default). Feedback the team can load into its own AWS Quick: exports in discovery/data/ in the working folder, or a Space with connectors to the team's sources. JSON, CSV, Excel, PDF, DOCX, and plain text work.
  • Signal Briefs. When the data cannot be loaded into a tool for Discovery, the team runs discovery-signal-brief in its own environment to write one anonymized page per customer problem, and brings only the briefs.
  • Synthetic dataset. When neither is possible yet, prepare a dataset beforehand, and plan a follow-up on real data.

With any of them, add telemetry if the team has it: daily aggregates per journey step from CloudWatch, Datadog, or OpenTelemetry exports (real user monitoring, spans, top errors), in a telemetry/ folder next to the feedback. Signals reads it next to the feedback and writes a Say and do table: what customers say against what the systems show. See skills/discovery-signals/references/telemetry-analysis.md and docs/telemetry-signals.md.

For the best result, the team also brings 3 to 5 candidate use cases, each written as a problem, and the business metric it wants to move with its current value. Use the product's own repository as the working folder, so the brief lands where the team will build.

If your feedback contains personal or confidential information, follow your organization's data handling rules before you use it, and mask identifiers where you can. The skills keep raw data in discovery/data/, add that folder to .gitignore, and quote customers only in anonymized form in the artifacts they save.

What you get

discovery/
├── data/                       raw data, never committed
└── [project]/
    ├── PROJECT.md              scope, choices, phase status
    ├── signals/                team-hypotheses.md, signal-summary.md, hypotheses.md
    ├── working-backwards/      personas/, use-case-scoring.md, working-backwards.md,
    │                           feature-description.md, prfaq.md, prd.md, gtm.md,
    │                           riskiest-assumption.md
    ├── prototype/              v1.html, v2.html, ... (every version), index.html (the chosen one),
    │                           versions.md, compare.html, persona-critique.md, notes.md
    ├── validate/               risk-review.md, prioritization.md, decision.md
    └── handoff/                discovery-brief.md, next-steps.md (with the roadmap)

The Discovery brief has fifteen sections: context (date, route, and data), decision, problem and evidence, personas, prioritized use cases, PR/FAQ summary, success criteria, go-to-market, scope, prioritized backlog, prototype screens and flows, current product, constraints, open hypotheses, and links to every artifact. It contains no architecture or technology choices; those belong to the build. For an AI feature, it also carries the AI feature block and the AI quality target.

next-steps.md ends with a roadmap for the product owner: Now, Next, Later. Now is the use case taken forward and its conditions; Next is each deferred candidate with the evidence that would move it up and who gets it; Later is the rest, with why. Customer problems and the metrics they move, ordered by conditions, with no delivery dates.

From the brief to a build

handoff/next-steps.md says what to do with the brief. To build with AI-DLC 2.10.0 or later, commit the discovery/ and aidlc/ folders to the repository where the team will build, and run there:

aidlc config --harness <claude | kiro | kiro-ide | codex | cursor | opencode | copilot>
/aidlc workshop Read ./discovery/[project]/handoff/discovery-brief.md and build what it describes, [product or feature name]

Use /aidlc classic when the team continues on its own instead of in an AI-DLC workshop. AI-DLC reads the brief as its single input and generates the requirements, user stories, and design from it. AWS Quick does not run AI-DLC itself, so the skills print the command and stop.

Things to know

  • Personas are synthetic. They are drawn from the data, but they are not customers. Validate never waits for surveys; the real-user test of the prototype, and the open hypotheses, belong in the follow-up. discovery-survey helps with that.
  • The prototype is a single HTML file with no backend, meant to start a conversation. Surveys are generated as HTML previews and as questions to paste into a form tool, because the assistant cannot host a form.
  • AWS Quick changes often. Menu names in these instructions may differ slightly in your version.
  • The skills are tool-agnostic in format, but AWS Quick Desktop is the tool they are written and tested for. The in-codebase prototype and the current-product map need a tool that can read and run code, and are skipped in AWS Quick.

Repository layout

plugin.json, mcps.json, tasks.json   plugin manifest for AWS Quick Desktop
skills/                              the twelve skills, one folder each (the source)
scripts/build.py                     bundles skills/ into one installable skill in dist/
samples/                             two runnable business cases, and how they are built
scripts/samples/                     the generators that write each sample's data
tests/                               checks for the skills and the bundle

Tests

python3 -m unittest discover tests

End-to-end runs in Claude Code, graded against each sample's answer key, are described in TESTING.md.

The tests check that every skill has the required frontmatter and sections, that every referenced file exists, that the entry skill depends on every job skill, that each artifact the Handoff requires is written by the skill that owns it, and that the brief keeps its fifteen sections and the AI-DLC contract. They check that every sample follows the conventions, has no duplicate records, and is reproduced exactly by its generator. They also build the bundle and check it: one skill, a module and a route for every job, every path resolving, and no path left pointing at the source layout.

Acknowledgements

Several Working Backwards practices in discovery-working-backwards (the seven-paragraph press release and its structural checks, the prototype readiness questions, the framing rules, and the writing audit) are adapted from the AI-Driven Working Backwards delivery kit by the AWS Digital Innovation team.

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.