agentleFS
Marwan-Ahmed-devMarwan-Ahmed-dev/vibecode-pro-max/.claude/skills/vc-stress-test/SKILL.md

vc:stress-test

Skill0 starsChanged 3 months agoMITView on GitHub

Stress-test a proposed change before implementation. Two modes: --predict (5-persona debate on the change) and --scenario (12-dimension edge case decomposition). Use before major features, refactors, or risky changes.

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    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 a major or high-risk feature

    line 24
  2. Distinctive:

    Before a significant refactor or architecture change

    line 25
  3. Distinctive:

    Read the proposed change/feature description from the argument

    line 44
  4. Distinctive:

    Read relevant code if file paths are provided

    line 45
  5. Distinctive:

    Before implementing complex or stateful features

    line 93
  6. Distinctive:

    Before writing tests (generates test targets)

    line 94
  7. Distinctive:

    Read target file(s) or parse feature description from argument

    line 121

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 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:stress-test

Pre-implementation risk surface. Two modes — pick by what you need:

  • --predict (or default for "is this design sound?") — 5 expert personas debate the change
  • --scenario (for "what could break?") — 12-dimension edge case decomposition

Mode: --predict (5-persona debate)

Five expert personas independently analyze a proposed change, then debate conflicts to produce a consensus verdict before a single line of code is written.

When to Use

  • Before implementing a major or high-risk feature
  • Before a significant refactor or architecture change
  • Evaluating competing technical approaches
  • Stress-testing assumptions in a proposed design

When NOT to Use

  • Trivial or low-risk changes (use debugger for bugs, generate-plan for already-decided tasks)
  • Already-approved work with no open design questions

The 5 Personas

PersonaFocusCore Questions
ArchitectSystem design, scalability, couplingDoes this fit the architecture? Will it scale? What new coupling does it introduce?
SecurityAttack surface, data protection, authWhat can be abused? Where is data exposed? Are auth boundaries respected?
PerformanceLatency, memory, queries, bundle sizeWhat is the latency impact? N+1 queries? Memory leaks? Bundle bloat?
UXUser experience, accessibility, error statesIs this intuitive? What does the error state look like? Accessible on mobile?
Devil's AdvocateHidden assumptions, simpler alternativesWhy not do nothing? What is the simplest alternative? Which assumption could be wrong?

Debate Protocol

  1. Read the proposed change/feature description from the argument
  2. Read relevant code if file paths are provided
  3. Each persona analyzes independently
  4. Identify agreements (all 4-5 align)
  5. Identify conflicts and weigh tradeoffs
  6. Produce verdict: GO | CAUTION | STOP with actionable recommendations

Output Format

## Prediction Report: [proposal title]

## Verdict: GO | CAUTION | STOP

### Agreements (all personas align)
- [Point 1]
- [Point 2]

### Conflicts & Resolutions

| Topic | Architect | Security | Performance | UX | Devil's Advocate | Resolution |
|-------|-----------|----------|-------------|-----|-----------------|------------|
| [Issue] | [View] | [View] | [View] | [View] | [View] | [Recommendation] |

### Risk Summary

| Risk | Severity | Mitigation |
|------|----------|------------|
| [Risk] | Critical/High/Medium/Low | [Action] |

### Recommendations
1. [Action item]
2. [Action item]
3. [Action item]

STOP Triggers (any one is sufficient)

  • Security persona identifies auth bypass or data exposure with no viable mitigation
  • Architect identifies fundamental design incompatibility requiring significant rework
  • Performance persona identifies unacceptable latency or query explosion with no workaround
  • Devil's Advocate exposes a false assumption that invalidates the entire approach

Mode: --scenario (12-dimension edge case decomposition)

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

The 12 Decomposition Dimensions

#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

Severity Criteria

  • Critical — data loss, security breach, auth bypass, silent corruption
  • High — feature broken for a subset of users, data inconsistency
  • Medium — degraded UX, recoverable error not surfaced to user
  • Low — minor 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

When to use --predict vs --scenario

Use --predict whenUse --scenario when
Is this design sound?What could break?
Comparing architectural approachesGenerating test targets
Need a GO/CAUTION/STOP verdictNeed a Critical/High/Medium/Low risk list
5 expert lenses on a single change12 dimensions of edge cases on a single feature

You can chain them: run --scenario first to find the top risks, then run --predict on the top risks as the change proposal.

Integration with Other Skills

Next StepSkillHow
Implement the plangenerate-plan / plan-agentAttach Recommendations + Critical/High scenarios as constraints
Test the implementationexecute-agent → vc-testerFeed scenarios as test targets
Stress-test a top risk--predict (re-run)Feed top risk as the change proposal

End every response with the subagent status block:

**Status:** DONE | DONE_WITH_CONCERNS | BLOCKED | NEEDS_CONTEXT
**Summary:** [1-2 sentence summary]
**Mode run:** --predict | --scenario
**Verdict:** GO | CAUTION | STOP (for --predict) or scenario count by severity (for --scenario)
**Concerns/Blockers:** [if applicable]

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.