stress-test-plan
Skill34 starsChanged 51 days agoMITView on GitHub
Interactively stress-test an implementation plan by grilling the user
In this repository38 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- hooks/CLAUDE.mdCLAUDE.md
- tasks/CLAUDE.mdCLAUDE.md
- clean-commentsSkill
- raise-prSkill
- configureSkill
- initSkill
- migrateSkill
- pathsSkill
- create-adrSkill
- extract-adrsSkill
- review-adrSkill
- analyse-design-gapsSkill
- inventory-designSkill
- describe-prSkill
- respond-to-prSkill
- review-prSkill
- create-noteSkill
- create-planSkill
- implement-planSkill
- review-planSkill
- validate-planSkill
- conduct-spikeSkill
- research-codebaseSkill
- research-issueSkill
- research-topicSkill
- commitSkill
- visualiseSkill
- create-work-itemSkill
- extract-work-itemsSkill
- list-work-itemsSkill
- refine-work-itemSkill
- rekey-work-itemsSkill
- review-work-itemSkill
- stress-test-work-itemSkill
- sync-work-items-recoverySkill
- sync-work-itemsSkill
- update-work-itemSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
31 rules. About 0 are common, 28 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈28
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
If no "Agent Names" section appears above, use these defaults: accelerator:reviewer, accelerator:codebase-locator, …
- Distinctive: line 36
When this command is invoked:
- Distinctive: line 40
Read the plan file FULLY
- Distinctive: line 41
Read any files the plan references — work items, research documents, key source files mentioned
- Distinctive: line 44
Use the {codebase locator agent} agent to find files related to the plan's scope
- Distinctive: line 45
Use the {codebase analyser agent} agent to understand current implementation details referenced in the plan
- Distinctive: line 47
Wait for sub-agents to complete
- Distinctive: line 66
Do NOT dump a list of 10 questions — that defeats the purpose
- Distinctive: line 68
Follow the thread to its conclusion before switching branches
- Distinctive: line 72
When the plan makes a design choice, follow it to its implications
- Distinctive: line 75
If a decision in Phase 1 affects Phase 3, call that out
- Distinctive: line 79
If a question about the plan could be answered by reading the actual code, read the code or spawn a sub-agent instead of asking the user
- Distinctive: line 81
Only ask the user questions that require human judgment: intent, priorities, trade-offs, business logic, scope decisions
- Distinctive: line 94
Test completeness: "The plan doesn't mention what happens when [scenario] — is that intentional?"
- Distinctive: line 112
Rollback: If we ship Phase 1 and Phase 2 fails, can we undo?
- Distinctive: line 124
Consistency: Do different sections of the plan agree with each other?
- Distinctive: line 125
Do code snippets match the prose descriptions?
- Distinctive: line 131
All major branches of the decision tree have been explored
- Distinctive: line 136
Do NOT stop just because the user seems tired of questions.
- Very specific: line 166
Use the AskUserQuestion tool with two options:
- Distinctive: line 173
Use the Edit tool to modify the plan file directly
- Distinctive: line 175
Add missing edge case handling, error paths, and clarifications
- Distinctive: line 176
Update success criteria if gaps were found
- Distinctive: line 177
Add a note about accepted risks where appropriate
- Very specific: line 188
Validate the frontmatter: after writing, run corpus frontmatter validate over each file you edited:
- Distinctive: line 195
If it exits non-zero, the edited document violates the canonical frontmatter standard.
- Distinctive: line 202
Don't just list problems — dig into each one with the user until it's resolved.
- Distinctive: line 209
Verify against reality: Use sub-agents freely to check whether the plan's assumptions about the codebase are correct.
- Distinctive: line 216
Track what you've covered: Use TodoWrite to track which areas of the plan you've stress-tested and which remain.
- Distinctive: line 220
Respect confirmed decisions: If the user has explained their reasoning and confirmed a decision, don't circle back to it.
- Distinctive: line 223
Edit conservatively: When updating the plan, make the minimum changes needed.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.
Files
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:
- If a plan path was provided:
- Read the plan file FULLY
- Read any files the plan references — work items, research documents, key source files mentioned
- Spawn sub-agents to understand the current codebase context:
- Use the {codebase locator agent} agent to find files related to the plan's scope
- Use the {codebase analyser agent} agent to understand current implementation details referenced in the plan
- Wait for sub-agents to complete
- Begin stress-testing (see process below)
- 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
- One question at a time (or a small, tightly related cluster)
- Do NOT dump a list of 10 questions — that defeats the purpose
- Each question should build on the previous answer
- Follow the thread to its conclusion before switching branches
- Walk the decision tree depth-first
- When the plan makes a design choice, follow it to its implications
- "The plan says X — does that mean Y? What happens when Z?"
- Resolve dependencies between decisions before moving on
- If a decision in Phase 1 affects Phase 3, call that out
- Explore the codebase to self-answer when possible
- If a question about the plan could be answered by reading the actual code, read the code or spawn a sub-agent instead of asking the user
- Only ask the user questions that require human judgment: intent, priorities, trade-offs, business logic, scope decisions
- Be adversarial but constructive
- Challenge vague language: "The plan says 'handle errors gracefully' — what does that mean concretely?"
- Probe edge cases: "What happens if this operation fails halfway through Phase 2?"
- Question scope: "The plan includes X — is this really needed for the first iteration?"
- Surface contradictions: "Phase 1 assumes Y, but Phase 3 does Z which contradicts that"
- Test completeness: "The plan doesn't mention what happens when [scenario] — 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.
- Assumptions: What is the plan assuming about the current system that might be wrong? Verify against the actual codebase.
- Edge cases: What happens with empty inputs, concurrent access, partial failures, network timeouts, large datasets, malformed data?
- Error handling: Does the plan specify what happens when things go wrong at each step? Are error paths tested?
- Integration points: Where does this touch existing systems? Are those contracts correctly understood? Will existing consumers break?
- Ordering dependencies: Does Phase N depend on Phase M being done a specific way? Are those dependencies explicit?
- Rollback: If we ship Phase 1 and Phase 2 fails, can we undo? Is the migration reversible?
- Performance: Does the plan introduce hot paths, N+1 queries, unbounded loops, or large memory allocations?
- Security: Does the plan handle authentication, authorisation, input validation, and data exposure correctly?
- Scope creep: Is the plan trying to do too much? Are there items that could be deferred?
- Missing steps: Are there gaps between phases where something needs to happen but isn't mentioned?
- Testing gaps: Are the success criteria actually verifiable? Do they cover the important cases?
- Consistency: Do different sections of the plan agree with each other? Do code snippets match the prose descriptions?
When to Stop
Stop stress-testing when:
- All major branches of the decision tree have been explored
- You cannot think of a realistic scenario that the plan fails to address
- The user has confirmed their position on all identified ambiguities
- Edge cases have been identified and decisions made about how to handle them
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:
- 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:
- Yes, update the plan — apply the stress-test findings to the plan file
- No, leave unchanged — keep the plan as-is
- If the user agrees, edit the plan:
- Use the Edit tool to modify the plan file directly
- Make targeted edits — don't rewrite sections unnecessarily
- Add missing edge case handling, error paths, and clarifications
- Update success criteria if gaps were found
- Add a note about accepted risks where appropriate
- 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
- 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.
- 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.
- 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.
- Depth over breadth: It's better to thoroughly stress-test the riskiest parts of the plan than to superficially cover everything.
- 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.
- Respect confirmed decisions: If the user has explained their reasoning and confirmed a decision, don't circle back to it. Move on.
- 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:
/create-plan— Create the implementation plan interactively/review-plan— Automated multi-lens quality review/stress-test-plan— Interactive adversarial stress-testing (this command)/implement-plan— Execute the approved plan/validate-plan— Verify implementation matches the plan
/review-plan and /stress-test-plan are complementary:
/review-plangives broad, automated coverage through multiple quality lenses — good for catching structural issues, security gaps, and standards violations/stress-test-plangoes deep through interactive conversation — good for 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
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
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.

