Stress test plan

From atomicinnovation/accelerator · View interactive version

Stress test plan is an AI agent skill from the GitHub repository atomicinnovation/accelerator. Interactively stress-test an implementation plan by grilling the user on decisions, edge cases, and assumptions to find issues, inconsistencies, and gaps before implementation begins.

How to use this skill

Skill file

Stress-Test Plan

!accelerator config context --skill stress-test-plan --fail-safe

!accelerator config agents --fail-safe

If no "Agent Names" section appears above, use these defaults:

accelerator:reviewer, accelerator:codebase-locator,

accelerator:codebase-analyser, accelerator:codebase-pattern-finder,

accelerator:documents-locator, accelerator:documents-analyser,

accelerator:web-search-researcher.

Plans directory: !accelerator config path plans --fail-safe

You are tasked with stress-testing an implementation plan by interviewing the

user relentlessly about every aspect of it. Your goal is to find issues,

inconsistencies, missing edge cases, flawed assumptions, and potential bugs

before any code is written.

This is NOT an automated review — it is an interactive, adversarial conversation

where you walk down every branch of the decision tree with the user, resolving

one thing at a time.

Initial Response

When this command is invoked:

  1. If a plan path was provided:

files mentioned

details referenced in the plan

  1. If no plan path provided, respond with:
I'll stress-test your implementation plan. Please provide the path to the plan file.

Example: `/stress-test-plan {plans directory}/2025-01-08-ENG-1478-feature.md`

Then wait for the user's input.

The Stress-Testing Process

How to Conduct the Interrogation

  1. One question at a time (or a small, tightly related cluster)
  1. Walk the decision tree depth-first
  1. Explore the codebase to self-answer when possible

read the code or spawn a sub-agent instead of asking the user

trade-offs, business logic, scope decisions

  1. Be adversarial but constructive

does that mean concretely?"

Phase 2?"

iteration?"

contradicts that"

is that intentional?"

What to Stress-Test

Work through these areas as the conversation naturally leads to them. Do not

treat this as a checklist to run through mechanically.

be wrong? Verify against the actual codebase.

failures, network timeouts, large datasets, malformed data?

each step? Are error paths tested?

contracts correctly understood? Will existing consumers break?

specific way? Are those dependencies explicit?

the migration reversible?

loops, or large memory allocations?

validation, and data exposure correctly?

could be deferred?

happen but isn't mentioned?

the important cases?

Do code snippets match the prose descriptions?

When to Stop

Stop stress-testing when:

Do NOT stop just because the user seems tired of questions. If there are genuine

issues remaining, flag them:

I know this is thorough, but I want to flag that [specific issue] could cause
problems during implementation. Can we quickly resolve it?

Capturing Changes

As you identify issues during the conversation, track them. Once the stress-

testing is complete:

  1. Summarise all findings:
Here's what we found during the stress test:

**Issues to fix:**
- [Issue]: [What needs to change in the plan]
- [Issue]: [What needs to change in the plan]

**Decisions confirmed:**
- [Decision]: [User confirmed this is intentional]

**Risks accepted:**
- [Risk]: [User acknowledges this and accepts it]

Use the AskUserQuestion tool with two options:

  1. Yes, update the plan — apply the stress-test findings to the plan file
  2. No, leave unchanged — keep the plan as-is
  1. If the user agrees, edit the plan:
  1. After editing, summarise changes made:
I've updated the plan at `[path]`. Changes made:
- [Change 1] — addressing [issue]
- [Change 2] — addressing [issue]
- [Noted as accepted risk] — [risk description]

Validate the frontmatter: after writing, run `corpus frontmatter

validate` over each file you edited:

accelerator corpus frontmatter validate --file <path>

If it exits non-zero, the edited document violates the canonical frontmatter

standard; report the emitted violation and fix the frontmatter before

completing.

Important Guidelines

  1. This is a conversation, not a report: The value is in the back-and-forth.

Don't just list problems — dig into each one with the user until it's

resolved.

  1. Don't redesign the plan: Your job is to find problems, not to propose a

different architecture. If you think the approach is fundamentally wrong,

raise it as a concern and let the user decide.

  1. Verify against reality: Use sub-agents freely to check whether the plan's

assumptions about the codebase are correct. The most valuable findings come

from discovering that the code doesn't work the way the plan assumes.

  1. Depth over breadth: It's better to thoroughly stress-test the riskiest

parts of the plan than to superficially cover everything.

  1. Track what you've covered: Use TodoWrite to track which areas of the plan

you've stress-tested and which remain. This helps you know when you're

genuinely done.

  1. Respect confirmed decisions: If the user has explained their reasoning

and confirmed a decision, don't circle back to it. Move on.

  1. Edit conservatively: When updating the plan, make the minimum changes

needed. Don't restructure or rewrite beyond what the stress test revealed.

Relationship to Other Commands

This skill sits in the plan lifecycle between review and implementation:

  1. /create-plan — Create the implementation plan interactively
  2. /review-plan — Automated multi-lens quality review
  3. /stress-test-plan — Interactive adversarial stress-testing (this command)
  4. /implement-plan — Execute the approved plan
  5. /validate-plan — Verify implementation matches the plan

/review-plan and /stress-test-plan are complementary:

— good for catching structural issues, security gaps, and standards violations

finding logical inconsistencies, missing edge cases, flawed assumptions, and

gaps that only surface when you trace through scenarios step by step

!accelerator config instructions stress-test-plan --fail-safe

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.