Product idea example
Product idea → requirements + market fit
CLI-only scenario that applies two Agents, two Skills, and one Workflow from a single multi-doc YAML file.
Source: examples/scenarios/product-idea-ai-apply/
Hub: Kinded YAML apply
| Kind | Name | Role |
|---|---|---|
| Agent | product-requirements-author |
One-liner product idea → SDLC requirements pack |
| Agent | market-fit-analyst |
Requirements → market-fit score |
| Skill | movie-and-plain-voice |
Plain and movie-reference tone (wired on the analyst stage) |
| Skill | pirate-and-plain-voice |
Plain and pirate tone (exercise — swap via skillRefs) |
| Workflow | product-idea-to-market-fit |
Runs both agents in tandem (requiredInputs: [idea]) |
Arrange
- CLI stackgen-beta ≥ v0.82.0-rc.1 (or equivalent) with
stackgen ai apply STACKGEN_URL+STACKGEN_TOKEN(orstackgen configure) for live apply- Tenant has at least one usable model (agents omit
modelNamesand use the tenant default)
Act
cd examples/scenarios/product-idea-ai-apply
stackgen ai apply -f manifests/product-idea.yaml --dry-run
stackgen ai apply -f manifests/product-idea.yaml --approve
stackgen ai run workflow/product-idea-to-market-fit \
--input 'idea=AI notepad for on-call handoffs'
Cleanup between demos:
stackgen ai delete -f manifests/product-idea.yaml
Assert
--dry-runprints Agent → Skill → Workflow withdry-run/would upsert …and does not call Aiden- Live apply creates or updates both skills plus agents and workflow; workflow shows an approved version when
--approveis set - Workflow run stage 1 emits structured requirements ending with
stage_gate:requirements=complete - Stage 2 loads
movie-and-plain-voiceand presents findings in Plain and Movie sections stackgen ai get agent/market-fit-analystreturns the applied agent
Exercise — skill lifecycle swap
Practice adaptability without rewriting agents:
- Change
analyze-market-fit.skillRefsfrommovie-and-plain-voicetopirate-and-plain-voice(pirate skill is already applied). stackgen ai apply -f manifests/product-idea.yaml --approve- Re-run the workflow — stage 2 should use Plain + Pirate.
- Swap back when finished.
Full steps: scenario README.
Talk track
See the scenario README for the five-bullet Zoom pitch.