Stress test work item

From atomicinnovation/accelerator · View interactive version

Stress test work item is an AI agent skill from the GitHub repository atomicinnovation/accelerator. Interactively stress-test a work item by grilling the user on scope, assumptions, acceptance criteria, edge cases, and dependencies to surface issues, gaps, and flawed assumptions before implementation is planned.

How to use this skill

Skill file

Stress-Test Work Item

!accelerator config context --skill stress-test-work-item --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.

Work items directory: !accelerator config path work --fail-safe

You are tasked with stress-testing a work item by interviewing the user

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

inconsistencies, missing edge cases, flawed assumptions, and vague acceptance

criteria before implementation is planned.

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 work item path or number was provided:

work item number (e.g. 0042 or 42, resolved against {work_dir})

and exit without reading any other file or starting questioning

{codebase analyser agent}) if the work item makes specific technical claims

that the agents can verify — do NOT spawn them reflexively for every work item

  1. If no work item path or number provided, respond with:

```

I'll stress-test your work item. Please provide the path or work item number.

Example: /stress-test-work-item {work_dir}/0042-user-auth.md

Or by number: /stress-test-work-item 42

Run /list-work-items to see available work items.

```

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. Self-answer from the codebase when possible

spawn a codebase agent instead of asking the user

trade-offs, scope decisions

  1. Be adversarial but constructive

does that mean concretely? What would a failing test assert?"

should this work item be decomposed?"

a database schema change — 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 where applicable.

they cover failure paths, not just the happy path? Would a passing test

be unambiguous?

Are there items that belong in a separate work item?

failures, malformed input, timeouts, large datasets — whichever are

relevant to this work item's domain.

block? Are there schema or data changes that must precede this? Is the

Dependencies section accurate?

observability — do the requirements address these where applicable?

Is it obvious when this work item is truly done?

match the Requirements? Do the Requirements match the Acceptance Criteria?

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 explicitly before wrapping up.

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 work item]

**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 work item — apply the stress-test findings to the work

item body

  1. No, leave unchanged — keep the work item as-is
  1. If the user chooses option 1, edit the work item:

Acceptance Criteria, Dependencies, Assumptions, or

Technical Notes ONLY

author, kind, status, priority, parent, tags) nor the body

**Kind**:, **Status**:, **Priority**:, or **Author**: labels —

those transitions are /update-work-item's concern

from what was read), abort that specific edit with a clear diagnostic and

continue with the remaining agreed edits

  1. After editing, summarise changes made

Validate the frontmatter: after any edit to the work item, run

accelerator corpus frontmatter validate --file <the work item path>

If it exits non-zero, the 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 work item: 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. Do not rewrite Requirements

to reflect an alternative approach.

  1. Verify against reality: Use codebase agents to check whether the work item's

technical assumptions are correct. The most valuable findings come from

discovering that the code doesn't work the way the work item assumes.

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

parts of the work item than to superficially cover everything.

  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 work item, make the minimum changes

needed to address what was agreed.

Relationship to Other Commands

This skill sits in the work item lifecycle between review and planning:

  1. /create-work-item or /extract-work-items — create the work item
  2. /refine-work-item — decompose and enrich
  3. /review-work-item — automated multi-lens quality review
  4. /stress-test-work-item — interactive adversarial examination (this command)
  5. /create-plan — plan implementation from an approved work item

/review-work-item and /stress-test-work-item are complementary:

— good for catching structural issues 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-work-item --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.