agentleFS
opencueopencue/cuecards/.agents/skills/vc-scenario/SKILL.md

vc:scenario

Skill10 starsChanged 4 months agoMITView on GitHub

Generate comprehensive edge cases and test scenarios by decomposing features across 12 dimensions. Use before implementation or testing to catch issues early.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before implementing complex or stateful features

    line 18
  2. Distinctive:

    Before writing tests (generates test targets)

    line 19
  3. Distinctive:

    Not all 12 apply to every feature.

    line 33

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

vc:scenario — Edge Case & Scenario Explorer

Decompose any feature or code path across 12 dimensions to surface edge cases, risks, and test targets before implementation begins.

When to Use

  • Before implementing complex or stateful features
  • Before writing tests (generates test targets)
  • Risk assessment during planning or code review
  • API design review — surface contract edge cases early

When NOT to Use

  • Trivial single-line changes or cosmetic UI tweaks
  • Already well-tested, stable code with no recent modifications
  • Pure configuration changes with no logic paths

12 Decomposition Dimensions

Not all 12 apply to every feature. Identify relevant dimensions first, then generate scenarios only for those.

#DimensionWhat to Look For
1User Typesadmin, guest, banned, new user, power user, bot/scraper
2Input Extremesempty, null, max length, unicode, special chars, SQL/script injection
3Timingconcurrent access, race conditions, timeout, slow network, retry storms
4Scale0 items, 1 item, 1M items, pagination boundary, cursor wrap
5State Transitionsfirst use, mid-flow abort, resume after crash, partial completion
6Environmentmobile/low-end CPU, no JS, screen reader, proxy/VPN, different timezone/locale
7Error CascadesDB down, API timeout, disk full, OOM, network partition, partial write
8Authorizationexpired token, wrong role, shared/public link, CORS, CSRF, privilege escalation
9Data Integrityduplicate entries, orphan references, encoding mismatch, concurrent schema migration
10Integrationwebhook replay, API version mismatch, third-party outage, contract drift
11ComplianceGDPR deletion request, audit logging gap, data retention, accidental PII exposure
12Business Logicedge pricing (zero/negative), coupon stacking, refund after partial delivery, free tier limits

Workflow

  1. Read target file(s) or parse feature description from argument
  2. Filter dimensions — mark which of the 12 apply; skip irrelevant ones explicitly
  3. Generate 3–5 scenarios per relevant dimension
  4. Categorize severity — Critical / High / Medium / Low
  5. Output as structured table (see format below)
  6. Summarize total scenario count by severity

Severity Criteria

LevelMeaning
CriticalData loss, security breach, auth bypass, silent corruption
HighFeature broken for a subset of users, data inconsistency
MediumDegraded UX, recoverable error not surfaced to user
LowMinor visual glitch, non-blocking warning

Output Format

## Scenario Report: [target]

Dimensions analyzed: [list]
Dimensions skipped: [list + reason]

| # | Dimension | Scenario | Severity | Expected Behavior |
|---|-----------|----------|----------|-------------------|
| 1 | Input Extremes | Empty string for required name field | High | Return 400 with field error |
| 2 | Authorization | Expired JWT accessing protected route | Critical | Redirect to login, invalidate session |
| 3 | Timing | Two users submit same form simultaneously | High | Idempotency key or conflict error |

### Summary
- Critical: N
- High: N
- Medium: N
- Low: N
- Total: N scenarios across X dimensions

Integration with Other Skills

Next StepSkillHow
Generate test cases from scenariosvc:testPass scenario table as input context
Inform implementation plan risksgenerate-plan / plan-agentPaste Critical/High rows into risk assessment
Deep persona debate on top risksvc:predictFeed Critical scenarios as the change proposal

Example Invocations

/vc:scenario src/api/payment.ts
/vc:scenario "User registration with OAuth providers"
/vc:scenario src/middleware/auth.ts
/vc:scenario "Add multi-tenancy to the database layer"

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.