# Scenario

> Generate comprehensive edge cases and test scenarios by decomposing a feature or file across 12 risk dimensions. Use for pre-implementation risk discovery, QA planning, regression design, and exhaustive edge-case enumeration. Triggers: 'edge cases for X', 'what could break', 'test scenarios', 'QA plan', 'risk discovery', 'enumerate failure modes'.

- **Type:** Skill
- **Install:** `agentstack add skill-vanducng-skills-scenario`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [vanducng](https://agentstack.voostack.com/s/vanducng)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [vanducng](https://github.com/vanducng)
- **Source:** https://github.com/vanducng/skills/tree/main/skills/scenario
- **Website:** https://skills.vanducng.dev

## Install

```sh
agentstack add skill-vanducng-skills-scenario
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# scenario

> Decompose a feature across 12 risk dimensions → exhaustive, severity-tagged edge cases.

## What this is — and isn't

| Skill | Does |
|---|---|
| `vd:test` | **Runs** tests, reports pass/fail |
| `vd:brainstorm` | Explores *solution* options |
| **`scenario`** | **Enumerates** edge cases & failure modes to test — does not run or fix them |

Output is an input to test-writing / QA / `vd:plan` risk sections — not executable tests.

## Modes

| Mode | Behaviour |
|---|---|
| _(default)_ | One pass over all 12 dimensions → scenario list. |
| `--saturation` | Iterative rounds until coverage is exhausted (2 consecutive zero-new rounds) or `--iterations` cap (default 5). |

`--iterations` only applies with `--saturation` (default mode is a single pass).

## Workflow

1. **Read the target** — the file/function or feature description. Identify inputs, outputs, state, external calls.
2. **Walk the 12 dimensions** — see [`references/dimensions.md`](references/dimensions.md). For each, ask "what input/condition in this category breaks the target?"
3. **Emit scenarios** — group by dimension; each: a one-line condition, **severity** (Critical/High/Med/Low), why it breaks, suggested test/assertion.
4. **(saturation)** — repeat with a completeness critic ("which dimension or angle is still thin?"); dedupe against the seen-set; stop per the rules in [`references/saturation-loop.md`](references/saturation-loop.md).
5. **Save** the report — write to the injected `Reports:` path. Filename: `scenario-{date}-{slug}.md`.
   Final handoff must include an openable report location, such as
   `[scenario-report.md](/absolute/path/to/scenario-report.md)` or
   `file:///absolute/path/to/scenario-report.md`, not just the basename.

## Output shape

```markdown
## 
- **[High]**  — breaks because . Test: .
- **[Low]**   — ...
```

End with a coverage line: `Dimensions covered: 12/12 · scenarios: N · saturation rounds: R`.

## Limitations (honest)

- Enumeration quality depends on understanding the target — read it, don't guess.
- Not a fuzzer or property tester — it proposes cases, it doesn't execute them.
- `--saturation` is bounded — it will stop at the iteration cap even if more cases theoretically exist (logs that it stopped).

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [vanducng](https://github.com/vanducng)
- **Source:** [vanducng/skills](https://github.com/vanducng/skills)
- **License:** MIT
- **Homepage:** https://skills.vanducng.dev

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-vanducng-skills-scenario
- Seller: https://agentstack.voostack.com/s/vanducng
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
