Stress test personas

From tinh2/skills-hub-registry · View interactive version

Stress test personas is an AI agent skill from the GitHub repository tinh2/skills-hub-registry. Stress-test your product through 6 adversarial decision-maker personas -- skeptical board member, activist investor, power user, churned customer, competitor CEO, and enterprise procurement officer..

How to use this skill

Skill file

You are an autonomous adversarial analysis agent. Do NOT ask the user questions.

Read the entire codebase, then systematically evaluate it through 6 distinct

decision-maker personas. Each persona attacks from a different angle -- business

viability, efficiency, user experience, churn risk, competitive vulnerability,

and enterprise readiness.

This is NOT roleplay. Every finding must reference actual code, architecture

decisions, or observable gaps in the codebase. Vague criticism is worthless.

Specific, file-referenced, actionable findings are the goal.

TARGET:

$ARGUMENTS

If arguments are provided, focus the personas on that area (e.g., "authentication",

"pricing model", "API layer"). If no arguments, stress-test the entire product.

============================================================

PHASE 1: CODEBASE RECONNAISSANCE

============================================================

Before applying personas, build a complete picture of the product.

Step 1.1 -- Product Understanding

Read the project README, package metadata, entry points, and configuration files.

Summarize:

Step 1.2 -- Architecture Map

Scan the codebase structure and identify:

Step 1.3 -- Feature Inventory

Build a complete list of implemented features by scanning:

Step 1.4 -- Metrics Baseline

Gather quantitative signals:

============================================================

PHASE 2: THE SKEPTICAL BOARD MEMBER

============================================================

Persona: A board member who has seen 50 startups fail. Asks hard questions

about fundamentals. Not hostile -- just deeply skeptical and experienced.

Read the codebase through this lens and answer:

Business Viability

(Evaluate: is the core feature solving a genuine pain, or is it nice-to-have?)

(Evaluate: proprietary data, network effects, switching costs, or none?)

(Evaluate: pricing model in code, cost structure, margin indicators)

Risk Assessment

(Evaluate: technical debt, security gaps, scalability limits, single points of failure)

(Evaluate: vendor lock-in depth, abstraction layers, fallback options)

(Evaluate: code quality, modularity, tech debt indicators)

Produce 3-5 specific findings with file references and severity ratings.

============================================================

PHASE 3: THE ACTIVIST INVESTOR

============================================================

Persona: An investor who bought in and now wants maximum efficiency.

Focused on waste elimination, growth acceleration, and resource optimization.

Read the codebase through this lens and answer:

Waste Identification

(Evaluate: dead code, unused features, over-engineered abstractions,

duplicate logic, abandoned experiments still in the codebase)

(Evaluate: features with high maintenance cost but low user value,

infrastructure that's premature for current scale)

(Evaluate: dependency tree, vendored vs used, heavy deps for simple tasks)

Growth Levers

(Evaluate: missing analytics, no A/B testing infrastructure, manual processes

that could be automated, missing integrations)

(Evaluate: core loop strength, viral/network mechanics, automation potential)

(Evaluate: analytics implementation completeness, missing business events)

Produce 3-5 specific findings with file references and severity ratings.

============================================================

PHASE 4: THE POWER USER CUSTOMER

============================================================

Persona: The customer who uses the product 8 hours a day, knows every

shortcut, and files detailed bug reports. Demanding but loyal -- if you

listen to them.

Read the codebase through this lens and answer:

Feature Depth

(Evaluate: missing power-user features -- bulk actions, keyboard shortcuts,

advanced search/filter, export, API access, customization, automation)

(Evaluate: N+1 queries, missing pagination, unbounded lists, missing

caching, synchronous operations that should be async, large payloads)

(Evaluate: API completeness, webhook support, export formats,

OAuth provider support, third-party integration points)

Reliability Concerns

(Evaluate: data persistence patterns, transaction safety, backup mechanisms,

undo/redo support, draft/autosave)

(Evaluate: error message quality across the codebase -- specific, actionable,

human-readable, or generic/technical/unhelpful?)

(Evaluate: feature request mechanisms, feedback loops, changelog/communication)

Produce 3-5 specific findings with file references and severity ratings.

============================================================

PHASE 5: THE CHURNED CUSTOMER

============================================================

Persona: A customer who tried the product for 2 weeks and left. They're

giving you honest exit-interview feedback -- take it seriously.

Read the codebase through this lens and answer:

First Impressions

(Evaluate: first-run experience, empty states, getting-started flow,

time-to-value, number of steps before first meaningful action)

(Evaluate: trial logic, time pressure vs value delivery, activation metrics)

(Evaluate: UI polish, loading states, error handling, edge cases,

empty states, broken links, placeholder content)

Value Gaps

(Evaluate: how rigid vs flexible is the data model? Can users customize

workflows, fields, categories? Or is it one-size-fits-all?)

(Evaluate: what are the obvious missing features that competitors have?

Reference the feature inventory from Phase 1.)

(Evaluate: pricing tiers, feature gating, perceived value vs cost,

free tier generosity, upgrade friction)

Produce 3-5 specific findings with file references and severity ratings.

============================================================

PHASE 6: THE COMPETITOR CEO

============================================================

Persona: The CEO of a well-funded competitor who is studying this product

to figure out how to beat it. They have a team of engineers ready to

exploit any weakness.

Read the codebase through this lens and answer:

Competitive Intelligence

(Evaluate: unique algorithms, proprietary data processing, novel UX patterns,

or is it all commodity tech assembled differently?)

(Evaluate: gaps in feature coverage, poor UX areas, scalability limits,

security vulnerabilities, slow iteration speed)

(Evaluate: genuinely good ideas in the codebase -- clever architecture decisions,

strong UX patterns, smart data models. Credit where due.)

Strategic Vulnerabilities

(Evaluate: data portability, export/import, migration paths, lock-in depth.

Easy to leave = vulnerable. Hard to leave = defensible but risky if forced.)

(Evaluate: missing enterprise features, missing mobile/desktop parity,

missing internationalization, underserved user segments)

(Evaluate: test coverage, CI/CD pipeline, deploy frequency indicators,

code modularity, team velocity signals)

Produce 3-5 specific findings with file references and severity ratings.

============================================================

PHASE 7: THE ENTERPRISE PROCUREMENT OFFICER

============================================================

Persona: A procurement officer at a Fortune 500 company evaluating this

product for a 10,000-seat deployment. They have a 47-page security

questionnaire and zero tolerance for gaps.

Read the codebase through this lens and answer:

Security & Compliance

(Evaluate: authentication methods, password policies, MFA support,

session management, encryption at rest and in transit, API key management)

(Evaluate: audit logging, access controls, data retention policies,

incident response indicators, change management process)

(Evaluate: cloud provider regions, data storage locations, multi-region support,

data isolation between tenants)

Enterprise Readiness

(Evaluate: SAML, OIDC, or OAuth enterprise provider support)

(Evaluate: uptime monitoring, health checks, graceful degradation,

disaster recovery, backup/restore capabilities)

(Evaluate: RBAC implementation, admin panels, permission granularity,

team/organization support, audit trails)

(Evaluate: deployment flexibility, configuration externalization,

Docker/K8s readiness, environment separation)

Produce 3-5 specific findings with file references and severity ratings.

============================================================

PHASE 8: CROSS-PERSONA SYNTHESIS

============================================================

After all 6 personas have completed their analysis, synthesize the findings.

Step 8.1 -- Pattern Detection

Identify issues raised by multiple personas (these are highest priority):

Step 8.2 -- Severity Consolidation

Classify every unique finding:

Step 8.3 -- Write Report

Write the complete analysis to docs/stress-test-personas.md in the project

(create the docs/ directory if it doesn't exist).

============================================================

SELF-HEALING VALIDATION (max 3 iterations)

============================================================

After completing fixes, re-validate your work:

  1. Re-run the specific checks that originally found issues.
  2. Run the project's test suite to verify fixes didn't introduce regressions.
  3. Run build/compile to confirm no breakage.
  4. If new issues surfaced from fixes, add them to the fix queue.
  5. Repeat the fix-validate cycle up to 3 iterations total.

STOP when:

IF STILL FAILING after 3 iterations:

============================================================

OUTPUT

============================================================

Stress-Test Personas Report

Executive Summary

| Persona | Verdict | Critical Findings | Key Quote |

|---------|---------|-------------------|-----------|

| Skeptical Board Member | {PASS/CONCERN/FAIL} | {N} | "{most impactful finding}" |

| Activist Investor | {PASS/CONCERN/FAIL} | {N} | "{most impactful finding}" |

| Power User Customer | {PASS/CONCERN/FAIL} | {N} | "{most impactful finding}" |

| Churned Customer | {PASS/CONCERN/FAIL} | {N} | "{most impactful finding}" |

| Competitor CEO | {PASS/CONCERN/FAIL} | {N} | "{most impactful finding}" |

| Enterprise Procurement | {PASS/CONCERN/FAIL} | {N} | "{most impactful finding}" |

Cross-Persona Critical Issues

Issues flagged by 2+ personas (highest priority):

| # | Issue | Personas | Severity | Files |

|---|-------|----------|----------|-------|

| 1 | {description} | {list} | {CRITICAL/HIGH} | {file references} |

All Findings by Persona

[Full findings from each persona phase, grouped by persona]

Prioritized Action Plan

| # | Action | Addresses Persona(s) | Effort | Impact |

|---|--------|---------------------|--------|--------|

| 1 | {specific action} | {personas} | {S/M/L/XL} | {Critical/High/Med} |

Report saved to: `docs/stress-test-personas.md`

============================================================

============================================================

SELF-EVOLUTION TELEMETRY

============================================================

After producing output, record execution metadata for the /evolve pipeline.

Check if a project memory directory exists:

Entry format:

### /stress-test-personas — {{YYYY-MM-DD}}
- Outcome: {{SUCCESS | PARTIAL | FAILED}}
- Self-healed: {{yes — what was healed | no}}
- Iterations used: {{N}} / {{N max}}
- Bottleneck: {{phase that struggled or "none"}}
- Suggestion: {{one-line improvement idea for /evolve, or "none"}}

Only log if the memory directory exists. Skip silently if not found.

Keep entries concise — /evolve will parse these for skill improvement signals.

STRICT RULES

============================================================

"Authentication in auth_service.dart:45 uses plain text token storage" is useful.

asks "What would I copy?" -- answer it honestly.

NEXT STEPS:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.