Test duration is one possible bottleneck. Shared environments, review queues, missing data, specialist handoffs, and capacity rules can also constrain flow.

Why this Skill is needed

The Testing Bottleneck Analysis Skill examines wait queues, dependencies, capacity, handoffs, and evidence for testing constraints. It converts a delay complaint into an evidence-bounded improvement path.

What the Skill does

The output should identify the next measurable constraint, not just the longest-looking queue.

Use this Skill to review why testing work waits, where flow stops, and what evidence can distinguish demand, capacity, dependency, or handoff constraints. It does not invent root causes or approve a process change.

A useful finding names the queue, dependency, capacity or handoff signal, time window, evidence state, priority, owner, close condition, and smallest validation.

Use it when test work is repeatedly waiting for environments, data, reviews, specialists, or CI capacity and the team needs a decision-ready diagnosis.

What it does not do

The Testing Bottleneck Analysis Skill can organize queue, dependency, capacity, and handoff evidence and propose the next check. It does not replace:

  • Confirmation of rules, scope, and risk by the accountable domain owner.
  • A real environment, account, dataset, log, or run record; static analysis does not become runtime evidence by itself.
  • Authorization for release, compliance, production actions, or residual-risk acceptance.
  • A Human decision when supplied sources conflict.

What it checks

The goal is not simply to find the longest queue. Identify where work waits and whether the available events distinguish queue time, service time, dependency, or handoff delay. Start with a matrix based on the source Skill’s output contract:

FocusQuestion before analysisHandoff output
Stage and constraintWhich queue, dependency, capacity, or handoff has a waitRelated event, source, and evidence state
Impact scopeWhich releases, validation scope, or risks are affectedAffected work and priority rationale
Validation planSmallest change that distinguishes candidate causesComparison window, measures, and stop condition
Decision boundaryWhich capacity or process choices need owner approvalDecision maker, authority, and residual risk
Output contractWhether the result will feed a table, CSV, JSON, or ticketConfirm schema, enums, required fields, and evidence sources

If a row has only a conventional expectation and no source or validation method, keep it open instead of turning it into a pass.

Audit inputs before you start

Before analysis, assign one of six evidence states to each input and check completeness, credibility, recency, and comparability. Missing or conflicting timestamps limit causal claims; they do not establish a process failure.

StateMeaningHow this Skill should handle it
knownDirectly supported by the supplied materialKeep the source, version, and time with the judgment
missingNeeded for this pass but not suppliedName the smallest evidence action and limit the conclusion
conflictingSources disagreeShow both sources and route the conflict to an owner
stalePresent but outside the relevant version or time windowMark freshness; old evidence is not current proof
out_of_scopeRelated but excluded from this passKeep the boundary explicit
assumptionsTemporarily adopted to continue analysisState how and when the assumption will be checked

Keep the input version, scope, environment, evidence locations, and accountable owner together. Without a run record, deliver analysis, design, or a validation plan—not an execution pass.

From problem to structured Finding

Connect the source, scope, evidence state, analysis, owner, action, close condition, and validation before writing the conclusion. The case below keeps this Skill’s identifier and domain context.

Keep the decision layers separate

Keep facts, evidence-backed inferences, recommendations, and Human decisions separate in the report:

LayerHow to write itApplication here
FactWhat the supplied material directly showsCite the source, version, input, or run record for the focus
Evidence-backed InferenceWhat several facts support togetherShow the inference chain and retain uncertainty
RecommendationThe smallest next actionName the evidence, review, execution, or regression path
Human DecisionWhat an accountable person must decideLeave scope, risk acceptance, resources, and release meaning to the owner

A complete case

The source fixture below shows how to separate dependency wait, execution, and rework, then test a concurrency claim against comparable observations. Keep missing, conflicting, or assumed material visible.

Input

The source Skill includes a sanitized synthetic fixture. It is a worked example, not a real team’s flow data.

MaterialWhat to provideWhat to do when it is missing
T1 timelineArrives at minute 0; waits for environment from 0–40; executes from 40–50; reworks from 50–60; completes at minute 60; runner is idle during the environment waitKeep each phase and event boundary explicit
Matched daily tasksSame-day tasks of the same complexity: at concurrency 2, 10 completed tasks/hour and WIP 4; at concurrency 4, 6 completed tasks/hour, WIP 8, and more DB lock waitsCompare only the supplied matched window and task mix
Claims to reviewB1 identifies the largest phase; B2 says more concurrency always helps; B3 treats 40 minutes of waiting as proof of understaffing; B4 proposes DB contention for controlled confirmationSeparate supported decision, unsupported claim, and hypothesis
Decision boundaryObservation window, owner, intervention, and rollback signalHuman confirms the trade-off and authorization

Use a request like this:

Use the testing-bottleneck-analysis Skill.

Task: Separate dependency wait, execution, and rework in the supplied fixture, then assess the concurrency claims.
Inputs: [T1 event timeline, completion throughput, WIP, DB lock-wait observations]
Scope: [same-day tasks of the same complexity and stated concurrency levels]
Success criteria: [claims stay within the fixture and an experiment has measurable stop signals]
Exclude: [a staffing conclusion based only on wait time]

Calculate each phase, distinguish WIP from throughput, and classify B1–B4. Give evidence state, priority or `NOT_SCORED`, owner role, close condition, and the smallest validation action.

Analysis

T1’s cycle is 60 minutes: 40 minutes waiting for the environment, 10 minutes executing, and 10 minutes in rework. The runner is idle during the dependency wait. The fixture therefore supports DEPENDENCY_WAIT as the largest phase; the 60-minute cycle is not 60 minutes of labor.

For the matched daily tasks, concurrency 2 completes 10 tasks per hour with WIP 4. Concurrency 4 completes 6 per hour with WIP 8 and more DB lock waits. This sample does not prove DB contention caused the throughput drop, but it does refute “more concurrency always helps.” A 40-minute wait also does not prove understaffing when the runner is idle waiting for an environment.

Finding

Source-fixture decisions

ClaimFixture decision
B1 identifies the environment wait as the largest phaseDEPENDENCY_WAIT; the phase breakdown is 40 minutes waiting, 10 executing, and 10 in rework
B2 says more concurrency always helpsUNSUPPORTED; the supplied higher-concurrency sample has lower throughput and higher WIP
B3 treats the 40-minute wait as proof of understaffingUNSUPPORTED; the runner is idle while waiting for the environment
B4 proposes DB contention as an explanationHYPOTHESIS; the lock-wait observation needs a controlled comparison

Turn the hypotheses into comparable experiments

Choose the smallest controlled change that distinguishes the hypotheses. Keep existing test and release controls in place, change one condition at a time, and agree stop or rollback signals with the owner before the experiment. Record other changes that could affect the result.

HypothesisSmallest validationObservation and boundary
Environment dependency drives the waitCompare similar tasks with a recorded environment-ready event and booking statusMeasure environment wait and total cycle; keep task mix, complexity, and window comparable
Higher concurrency reduces flowIn an approved, controlled comparison, record completed tasks, WIP, and DB lock waits at each levelDefine the rollback signal with the owner before changing concurrency; the fixture does not establish a universal threshold
Staffing is insufficientCompare arrivals, completions, utilization, and idle reasons by stageA wait alone is insufficient; an idle runner may be blocked on an environment or material
Event data is incompleteCapture arrival, environment-ready, execution start/end, rework, completion, and blocked reasonKeep the cause unassessed until the timeline is reviewable; do not infer missing durations

WIP counts unfinished items; throughput counts completed items within the same window. Measure cycle time and each stage separately, define timestamp meanings and timezone, and retain raw events, calculation rules, experiment conditions, stop signals, and unexplained differences. A diagnosis can propose a change; it cannot prove root cause, throughput gain, or release readiness before validation. Average wait alone does not establish a cause.

Example finding: make the environment wait measurable

FieldExample record
FindingTBA-01: T1 spends 40 minutes waiting for its environment, the largest phase in the fixture; this does not establish understaffing
Source and triggerSanitized fixture timeline; trigger is repeated environment wait or a capacity claim based only on elapsed time
Expected concernTotal cycle time may be mistaken for labor, or a dependency may be mislabeled as a staffing shortage
Evidence stateknown for the fixture’s phase breakdown; it is not a live project measurement, and DB contention remains a hypothesis
Impact and priorityThe wait delays completion; priority is NOT_SCORED without project impact and risk criteria
Owner and open decisionThe environment owner confirms readiness and booking events; the flow owner confirms the comparable task window and any authorized experiment
Action and close conditionPreserve work-item IDs and stage timestamps; close when the limiting phase and the effect of an approved change can be recalculated
ValidationCompare matched tasks using arrival, environment-ready, execution, rework, and completion events; retain raw data and calculation rules
Stop conditionIf event definitions or task comparability are missing, keep the cause unassessed. Do not change concurrency until rollback signals and authority are confirmed.

The finding separates the observed dependency wait from hypotheses about staffing or database contention.

Decision

The accountable owner confirms the decision question and risk trade-off; the Skill does not make that choice.

Validation

Before closing the finding, run the stated validation and retain the raw artifact. Without an execution record, the status remains unverified.

How a Finding enters the next stage

Handoff output

Output fieldWhy it existsExample status
Constraint findingObserved queue, dependency, capacity, or handoff issueSource and evidence state
ImpactHow delay affects validation or riskPriority and scope
ExperimentSmallest change that distinguishes hypothesesExpected observation
Decision boundaryWhat requires Human capacity or process choiceOwner and residual risk

Every conclusion should point to a source, evidence state, and next action. If evidence is missing, use pending, blocked, unassessed, or NOT_SCORED instead of filling the gap with confidence.

Next-stage route

Route each gap to the owner who can provide evidence or authorize a process change:

GapNext ownerHandoff goal
Arrival, start, or completion times are missingCI, environment, or review-system ownerDefine the events and how they link to a release
Queue and service time are mixed togetherFlow owner and analystCalculate wait and processing time by stage and show uncovered intervals
Handoff timing is unclearThe owners of the affected stagesAdd handoff start and end events; keep any approval requirement in place
More environment capacity or staff is proposedAuthorized engineering managerDecide on capacity, scope, and review date from the evidence

Later conclusions remain bounded by the evidence state; the diagnosis does not authorize a process or capacity change.

How to prepare better input

Provide a fixed release window, queue and service timestamps, blocked reasons, dependency map, capacity schedule, handoff ownership, and the decision the analysis supports. Missing timestamps remain unassessed.

Keep input versions, scope, observation window, event definitions, evidence locations, assumptions, and the Human decision boundary in the handoff, plus the smallest validation action.

Working with other Skills

Common traps

  1. Calling the longest queue the bottleneck without checking downstream wait or service time.
  2. Using utilization or complaints as proof of capacity saturation.
  3. Changing process before defining a small experiment and success evidence.

Best practices

  • Fix the observation window, work IDs, task complexity, arrival and completion events before comparing flow.
  • Separate queue or dependency wait, execution, rework, handoffs, and blockers. Total cycle time is not labor time.
  • Measure WIP as unfinished work and throughput as completed work in the same window. Use stage times, arrivals, completions, and utilization together; averages alone do not establish a cause.
  • Test one intervention at a time with matched before-and-after measures. Agree stop or rollback signals and retain the conditions, versions, sources, and results.

First use: trace one delayed work item

  1. Choose one stage and a fixed observation window.
  2. Collect work IDs, task complexity, arrival, ready, start, handoff, rework, and completion events, plus WIP and completed items.
  3. Ask the Skill to split wait from execution, classify missing evidence, and propose the smallest controlled check. Keep staffing and root-cause claims open until evidence supports them.

Put bottleneck analysis inside the quality loop

Testing flow quality loop: accept requirement-linked tests, measure waits and completed work, locate the constraint, run a controlled experiment, and remeasure

When AI generates test cases, the generated count alone does not show useful throughput. Review and deduplicate the cases, connect accepted work to requirements, then measure completion, waiting, rework, and quality outcomes. A change that increases WIP or contention can make delivery slower, so carry the result into the next test-planning cycle.

Install and invoke

npx skills add https://github.com/naodeng/awesome-qa-skills/tree/main/skills/en --skill testing-bottleneck-analysis
Use the testing-bottleneck-analysis Skill.
Include objective, scope, versions, evidence paths, constraints, and decision boundary.
Audit inputs first, preserve evidence states, and finish with owner, close condition, and validation method.

FAQ

Does this Skill automatically recommend more people?

No. It identifies evidence and trade-offs; capacity changes are a Human planning decision.

What if timestamps are incomplete?

Return a bounded diagnosis, mark causal findings unassessed, and request the smallest missing event timestamps.

Does increasing concurrency always increase throughput?

No. In the source fixture, the higher-concurrency sample has lower throughput, higher WIP, and more database lock waits. That observation challenges a universal claim; it does not prove which factor caused the change.

Should generated test cases count as completed work?

Not by their generated count alone. Review and deduplicate them, confirm acceptance, and measure completed work alongside waiting, rework, and quality evidence.

References

Source Skill and execution contract

The complete execution contract lives in the Testing Bottleneck Analysis prompt: https://github.com/naodeng/awesome-qa-skills/tree/main/skills/en/testing-types/testing-bottleneck-analysis/prompts/testing-bottleneck-analysis.md. The phase and concurrency calculations come from its sanitized synthetic fixture: https://github.com/naodeng/awesome-qa-skills/blob/main/skills/en/testing-types/testing-bottleneck-analysis/references/domain-decision-example.md.

The source Skill directory is available at: https://github.com/naodeng/awesome-qa-skills/tree/main/skills/en/testing-types/testing-bottleneck-analysis.

Further reading

More Resources

Share