- Home
- Skills
- Testing & Debugging
- QA Requirement Clarifier: Find Spec Gaps Before Dev
More screenshots
Works with the AI Agents you already use
QA Requirement Clarifier: Find Spec Gaps Before Dev
Most bugs start as a sentence in a spec that two people read differently.
Free
QA Requirement Clarifier: Find Spec Gaps Before Dev
Example session with this skill installed
Prepare questions for the PO review of this user story:
User story — DemoShop: Cancel an order
As a logged-in customer, I want to cancel an order from "My Orders"
so that I get my money back without contacting support.
Acceptance criteria
- A "Cancel order" button is shown for orders in status Pending or Processing.
- The customer must choose a reason: Changed my mind / Found a better price /
Ordered by mistake / Other. "Other" requires a free-text note. - An order can be cancelled within 24 hours after it was placed.
- On confirm: status becomes Cancelled, stock is returned, and the payment is
refunded to the original payment method within 5–7 business days. - If a voucher was used, the voucher is returned to the customer's account.
- The customer receives a confirmation email.
- Orders already handed over to the carrier cannot be cancelled.
- Cancellation should be fast.
- Read your context and instructions
- Compiled the qa requirement clarifier
- Generated the UI component
Saved to questions/2026-11-22_21-05-40-cancel-an-order.md:
Source: pasted text (DemoShop user story "Cancel an order")
A. How I understand the feature (for the BA/PO to confirm)
- A logged-in customer can cancel their own order from "My Orders" without contacting support.
- Cancellation is allowed only for orders in status Pending or Processing, within 24 hours after the order was placed, and not after the order has been handed over to the carrier.
- The customer must pick a reason; "Other" requires a free-text note.
- After confirming: the order becomes Cancelled, stock is returned, the payment is refunded to the original payment method (5–7 business days), any used voucher is returned, and a confirmation email is sent.
Already clear: the list of cancellation reasons and the "Other requires a note" rule, and the list of outcomes after a cancellation (status, stock, refund, voucher, email). These need no discussion.
B. Questions for the BA/PO
Eligibility & cancellation window
| ID | Question for BA/PO | Gap type | Why it needs clarification (impact if ignored) | Priority |
|---|---|---|---|---|
| QH-01 | AC1 shows "Cancel order" for Processing orders, but AC7 forbids cancelling orders already handed to the carrier. Can a Processing order already be with the carrier? If yes, how does the system know, and is the button hidden in that case? | Conflict | If Processing includes "picked up by carrier", customers can cancel and get refunded for goods already on the way. Dev and test will each pick a different rule. | High |
| QH-02 | Which rule wins when the status rule and the 24-hour rule disagree? E.g. an order still Pending after 30 hours (waiting for stock), or an order shipped within 2 hours. | Conflict | AC1, AC3 and AC7 give three separate conditions with no priority; the button visibility logic and its test cases depend on it. | High |
| QM-01 | Do the 24 hours start when the order is placed or when payment is confirmed? Which time zone is used, and what happens if the customer opens the cancel dialog at 23:59 and confirms after the deadline? | Ambiguity | Edge cases near the deadline will behave differently per developer; customers in other time zones may see the button disappear "early". | Medium |
| QM-02 | Can the customer cancel only some items of a multi-item order, or only the whole order? | Missing | Partial cancellation changes refund amount, voucher conditions and stock logic; work can start assuming whole-order only. | Medium |
| QL-01 | When an order is not eligible (after 24 hours, or shipped), is the button hidden, or shown disabled with an explanation? | Missing | Affects UI and the message customers see; does not change the main flow. | Low |
| QL-02 | (assumption) Guest checkout orders cannot be cancelled by the customer, since the story says "logged-in". Is that correct? | Assumption | Guests would otherwise have no self-service path; confirms scope. | Low |
Refund & payment
| ID | Question for BA/PO | Gap type | Why it needs clarification (impact if ignored) | Priority |
|---|---|---|---|---|
| QH-03 | What happens for orders paid by Cash on Delivery or not yet paid (e.g. Pending = awaiting payment)? There is nothing to refund to an "original payment method". | Missing | The refund step may fail or create a refund for money never received. | High |
| QH-04 | Is the refund the full amount paid, including shipping fee? Is there any cancellation fee? How is the amount calculated when a voucher was used? | Missing | Wrong refund amounts are a direct financial loss or a customer complaint; test cases cannot define the expected amount. | High |
| QM-03 | What happens if the refund to the original payment method fails (card expired, account closed, payment gateway error)? Is the cancellation rolled back, retried, or refunded another way? | Missing | Without a fallback, the order is Cancelled but the customer never gets the money back. | Medium |
| QM-04 | "Refunded within 5–7 business days" depends on the bank. What can the system show and what can QA verify: refund request sent immediately, a refund status on the order, a refund ID? | Testability | QA cannot wait 7 days or observe the bank; a verifiable in-system result is needed. | Medium |
Voucher
| ID | Question for BA/PO | Gap type | Why it needs clarification (impact if ignored) | Priority |
|---|---|---|---|---|
| QM-05 | If the voucher has expired by the time the order is cancelled, is it still returned, extended, or lost? | Missing | A returned but expired voucher is useless to the customer and generates support tickets. | Medium |
| QM-06 | What does "returned to the customer's account" mean for a single-use or limited-quantity voucher: same code reactivated, a new code, usage counter decreased? | Ambiguity | Different readings lead to vouchers being reusable many times or never coming back. | Medium |
Order state & stock
| ID | Question for BA/PO | Gap type | Why it needs clarification (impact if ignored) | Priority |
|---|---|---|---|---|
| QH-05 | What happens if the customer cancels at the same moment the warehouse marks the order as handed to the carrier? Which action wins, and does the other one get rejected? | Missing | The order can end up both shipped and refunded, with stock counted twice. | High |
| QM-07 | Is the warehouse or seller notified of the cancellation so they stop packing the order? | Missing | Without a notification, cancelled orders may still be packed and shipped. | Medium |
| QL-03 | Is stock returned to available stock immediately, and does this also apply to pre-order or back-ordered items? | Ambiguity | Minor detail of the stock rule; affects inventory test data. | Low |
Cancellation flow & reasons
| ID | Question for BA/PO | Gap type | Why it needs clarification (impact if ignored) | Priority |
|---|---|---|---|---|
| QM-08 | Is there a confirmation step ("Are you sure?") before the order is cancelled? Can a cancellation be undone? | Missing | Accidental cancellations cannot be reversed if the refund starts immediately. | Medium |
| QL-04 | For the "Other" note: what are the minimum and maximum length, and are any characters not allowed? | Missing | Needed for validation rules and boundary tests. | Low |
| QL-05 | (assumption) This story covers only cancellation by the customer; cancellation by admin or support is out of scope. Is that correct? | Assumption | Confirms scope and whether the same rules apply to admin cancellations. | Low |
| QL-06 | Where is the cancellation reason stored or shown (admin order view, reports)? | Missing | Needed to verify the reason was saved; does not change the customer flow. | Low |
Notifications & non-functional
| ID | Question for BA/PO | Gap type | Why it needs clarification (impact if ignored) | Priority |
|---|---|---|---|---|
| QM-09 | "Cancellation should be fast": what is the target, e.g. confirmation shown within 2 seconds? | Testability | Cannot be verified as written; performance testing has no pass/fail criterion. | Medium |
| QL-07 | What must the confirmation email contain: order number, refund amount, refund timeline, voucher status? | Missing | Needed to verify the email content. | Low |
| QL-08 | If the confirmation email fails to send, is the cancellation still completed? Is the email retried? | Missing | Edge case; affects error handling but not the main flow. | Low |
C. Top 3 questions to ask in the review meeting
QH-01: Can a Processing order already be with the carrier, and is the "Cancel order" button hidden then? (Defines which orders can be cancelled at all.)
2.
QH-03: How are COD and unpaid orders handled when there is nothing to refund? (Prevents refunds for money never received.)
3.
QH-05: Which action wins when a cancellation and the hand-over to the carrier happen at the same time? (Prevents orders that are both shipped and refunded.)
Next steps
- Take the Top 3 into the review meeting and record each answer next to its question ID.
- Once the answers are in, update the story and turn the clarified rules into test cases.
qa-requirement-clarifier-find-spec-gaps-.tsx
TSX · React component
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Most bugs start as a sentence in a spec that two people read differently. Requirement Clarifier reviews a feature the way a senior QA does in refinement and hands you the questions to ask, before anyone writes code or test cases.
What it does
- Reviews the spec through 9 lenses: happy path, error flows, boundary conditions, data, permissions and roles, states and lifecycle, integrations, non-functional needs, and consistency between requirements.
- Turns every gap into a question you can ask as-is, grouped by topic, with its gap type (Ambiguity / Missing / Conflict / Assumption / Testability) and the impact if it is ignored.
- Prioritizes and numbers the questions: High / Medium / Low with stable IDs (
QH-01,QM-01,QL-01), easy to refer to in the meeting and when recording answers. - Restates how it understood the feature, so misunderstandings surface too, and notes what the spec already covers well.
- Never invents requirements: anything inferred is marked "(assumption)" and asked; for images and Figma it describes only what is visible. Given only a feature name, it asks for the spec instead of producing generic questions.
- Picks the Top 3 questions to ask first when meeting time is short.
Why use this skill
Asking an agent to "review this spec" usually returns a summary or a list of opinions. This skill returns meeting-ready questions only, each with the reason it matters, and it catches contradictions between requirements (such as a status rule fighting a time-limit rule) that are easy to read past.
Use cases
- Backlog refinement or sprint planning, before a story is accepted
- Preparing for a spec review meeting with the BA or PO
- Reading a new PRD, ticket or Figma screen before test design
- Checking acceptance criteria for testability before writing test cases
- Clarifying a ticket before estimating it
Output
One Markdown file saved to questions/yyyy-mm-dd_hh-mm-ss-feature-name.md:
- How I understand the feature (for the BA/PO to confirm)
- Questions grouped by topic: ID, question, gap type, why it needs clarification, priority
- Top 3 questions to ask in the review meeting
The chat reply stays short: the file path, the number of questions per priority, and the Top 3.
Need the full pre-test analysis?
The paid QA Requirement Analyzer Pro goes beyond the question list: it breaks the requirement into testable items (REQ-001…) with P1–P4 priorities, maps user, logic and data flows across the admin, user-facing and transaction sides, records every assumption that affects testing, and ends with a JSON handoff for test case design.
Language
Written in English; answers in the language you use (English or Vietnamese), with technical terms kept in English.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Testing & Debugging.
- It works only from what you give it (text or images). It does not read your codebase, tracker or other documents, so it cannot know decisions recorded elsewhere.
- One feature per run. A large PRD with many features gives a very long list; split it.
- There is no fixed cap: a detailed story with 6–8 acceptance criteria typically yields 20–25 questions. Use the priorities and the Top 3 to triage.
- It asks questions; it does not answer them, write test cases or draw a mind map.
- For images and Figma it relies on what is visible; interactions that are not shown become questions.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
This skill has been used 10 times.
Trust & safety
Security scan
Security scan passed 7 days ago
- Free with an Agensi account
Requires
Nothing to install.
Permissions
File Scopes
Read Files: only the spec or image you point to. Write Files: saves one Markdown file to questions/ in the current folder. No scripts, no network calls.