- Home
- Skills
- Testing & Debugging
- QA Risk Scout: Risk-Based Testing Priorities for a Feature
More screenshots
Works with the AI Agents you already use
QA Risk Scout: Risk-Based Testing Priorities for a Feature
You will never have time to test everything equally.
$5
QA Risk Scout: Risk-Based Testing Priorities for a Feature
Example session with this skill installed
Do a risk analysis of this feature so I know where to focus testing:
DemoShop – Redeem a gift card at checkout (ticket DS-482)
Context
DemoShop is an online store. Shoppers can pay part or all of an order with a gift card. Admins issue gift cards in the back office.
Rules
- GC-01: A gift card code is 16 characters: letters A–Z and digits, shown as XXXX-XXXX-XXXX-XXXX. Input is case-insensitive; dashes are optional.
- GC-02: Only logged-in shoppers can apply a gift card, on the checkout page, before clicking "Place order".
- GC-03: A card has a balance (USD, 2 decimals) and an expiry date. Expired cards are rejected with the message "This gift card has expired."
- GC-04: If the balance is lower than the order total, the balance is fully used and the rest is paid by credit card. If the balance is equal or higher, the order total becomes $0.00 and the remaining balance stays on the card.
- GC-05: At most 2 gift cards per order.
- GC-06: Wrong code → "Gift card not found." After 5 wrong codes in 10 minutes the field is locked for 15 minutes ("Too many attempts. Try again later.").
- GC-07: The balance is deducted only when the order is placed successfully. If payment of the remaining amount fails, nothing is deducted.
- GC-08: A shopper can remove an applied gift card before placing the order.
- GC-09: Cancelling an order within 24 hours returns the used amount to the same gift card (even if expired in the meantime, the expiry is extended by 30 days).
- GC-10: Admin back office: admins create cards (amount $5–$500, expiry 1–24 months) and can disable a card; a disabled card is rejected with "Gift card not found.".
UI copy
- Field label: "Gift card code"; button: "Apply"; applied line: "Gift card ••••-••••-••••-1234 −$25.00" with a "Remove" link.
- Read your context and instructions
- Compiled the qa risk scout
Saved: risk-analysis/2026-11-29_13-52-43-demoshop-gift-card-redemption-at-checkout.md
Risk Analysis: DemoShop gift card redemption at checkout
Assumptions: checkout total calculation and order cancellation are existing flows extended by this change (not stated); with 2 cards, the order in which balances are used is not stated; for a split-paid order cancelled within 24 hours, how the credit card part is refunded is not stated; the GC-06 lockout scope (per account, session or IP) is not stated; whether card status and balance are re-checked at "Place order" is not stated.
Risk Matrix
| ID | Area | Business Impact | User Behavior | System Integration | Regression | Likelihood | Priority |
|---|---|---|---|---|---|---|---|
| R-001 | Balance deduction and split payment on order placement | High | High | High | High | High | P1 |
| R-002 | Concurrent redemption of the same card | High | Medium | High | High | High | P1 |
| R-003 | Regression: checkout without a gift card | High | Low | Medium | Medium | Medium | P2 |
| R-004 | Refund to gift card on cancellation within 24 hours | High | Medium | High | Medium | Medium | P2 |
| R-005 | Order total recalculation on apply/remove and cart changes | High | High | Medium | Medium | Medium | P2 |
| R-006 | Expired / disabled card rejection | High | Medium | Medium | Low | Medium | P2 |
| R-007 | Two-card combination and limit | High | Medium | Medium | Low | Medium | P2 |
| R-008 | Wrong-code lockout (brute-force protection) | High | High | Medium | Low | Medium | P2 |
| R-009 | Admin card creation and disabling | Medium | Low | Low | Low | Low | P3 |
| R-010 | Logged-in-only and before-order-placed restriction | Medium | Low | Medium | Low | Medium | P3 |
| R-011 | Code input format and normalization | Medium | High | Low | Low | Medium | P3 |
| — | UI copy and applied-line formatting | Low | Low | Low | Low | Low | P4 |
Top Risk Areas
P1 - Critical
R-001. Balance deduction and split payment on order placement — Category: financial
- Risk: The card could be deducted when the credit card payment for the remaining amount fails, deducted the wrong amount (GC-04 lower/equal/higher cases), or the remaining balance could be lost; every gift card order runs through this path and it spans the card ledger and the payment gateway (UB, SI, Regression High).
- Focus: Balance < / = / > order total (incl. cent-level differences such as $0.01), payment decline/timeout after the card is applied, retry after a failed payment, and ledger vs. order amounts after each case.
R-002. Concurrent redemption of the same card — Category: financial
- Risk: Two orders (two tabs, two shoppers sharing a code, or a double-clicked "Place order") could spend the same balance twice, because GC-07 deducts only at order placement and the spec defines no lock or reservation (SI and Regression High).
- Focus: Parallel "Place order" with the same card from two sessions, double submit, and the same card applied in two carts; verify the total deducted never exceeds the balance.
P2 - High
R-003. Regression: checkout without a gift card — Category: financial
- Risk: Changes to checkout totals and payment could break or mischarge ordinary credit-card-only orders, which are the bulk of revenue (Impact High, assumed modified shared code).
- Focus: Smoke and regression of standard checkout: totals, taxes/shipping, payment success/decline, with no gift card applied and after applying then removing one.
R-004. Refund to gift card on cancellation within 24 hours — Category: financial
- Risk: The used amount could be refunded twice, refunded to the credit card instead of the card, or not refunded; the expiry extension of 30 days for an expired card could be skipped; the split-payment refund rule is not stated (SI High).
- Focus: Cancel at just under / just over 24 hours, split-paid orders, orders paid with 2 cards, card expired before the cancel, and repeated cancel requests.
R-005. Order total recalculation on apply/remove and cart changes — Category: financial
- Risk: The total charged could be stale after a card is removed (GC-08) or after the cart, shipping or tax changes while a card is applied, e.g. a $0.00 order staying $0.00 after items are added (UB High).
- Focus: Apply → change cart/shipping → place order; apply → remove → place order; compare displayed vs. charged vs. deducted amounts.
R-006. Expired / disabled card rejection — Category: financial
- Risk: An expired or admin-disabled card could still be honored, especially if it expires or is disabled after being applied but before "Place order"; the expiry time zone and boundary are not stated.
- Focus: Expiry on the boundary day, card expired/disabled between apply and place order, exact messages from GC-03 and GC-10, zero-balance card.
R-007. Two-card combination and limit — Category: financial
- Risk: With 2 cards, the wrong card could be drained or the combined deduction could be wrong; a third card could get through the GC-05 limit, or the same card could be applied twice.
- Focus: Two cards whose combined balance is < / = / > the total, attempt a third card, the same code applied twice (with/without dashes or in lowercase), remove one of two cards.
R-008. Wrong-code lockout (brute-force protection) — Category: security
- Risk: Failing to lock after 5 wrong codes in 10 minutes, or a lockout that can be bypassed (new session, API call, other device), allows guessing valid codes and stealing card value; the lockout scope is not stated (UB High).
- Focus: 5th/6th wrong attempt inside and outside the 10-minute window, unlock after 15 minutes, bypass via new session/direct API, and whether valid codes count or reset the counter.
P3 - Medium
R-009. Admin card creation and disabling — Category: financial
- Risk: Cards could be issued outside $5–$500 or 1–24 months, or a non-admin could create cards, creating unearned value; used by few admins (Likelihood Low).
- Focus: Boundary values for amount and expiry ($4.99/$5.00/$500.00/$500.01, 0/1/24/25 months), admin-only access, disable taking effect at checkout.
R-010. Logged-in-only and before-order-placed restriction — Category: security
- Risk: A guest or an expired session could apply a card through the API (bypassing a per-account lockout), or a card could be applied to an already placed order (GC-02).
- Focus: Apply as guest via UI and API, session expiry during checkout, apply/remove calls after the order is placed.
R-011. Code input format and normalization — Category: other
- Risk: Valid codes typed in lowercase, without dashes or pasted with spaces could be rejected as "Gift card not found." and count toward the lockout (UB High).
- Focus: Case and dash variants, leading/trailing spaces, wrong length, non-alphanumeric characters (GC-01).
Light/Skip Testing
- UI copy and applied-line formatting — cosmetic (label, button, masked line), scored P4; a quick check that the full code is not exposed is enough
- Credit card payment gateway integration itself — unchanged; covered through R-001 and R-003
Handoff
{"risks": [
{"id": "R-001", "priority": "P1", "category": "financial", "area": "Balance deduction and split payment on order placement"},
{"id": "R-002", "priority": "P1", "category": "financial", "area": "Concurrent redemption of the same card"},
{"id": "R-003", "priority": "P2", "category": "financial", "area": "Regression: checkout without a gift card"},
{"id": "R-004", "priority": "P2", "category": "financial", "area": "Refund to gift card on cancellation within 24 hours"},
{"id": "R-005", "priority": "P2", "category": "financial", "area": "Order total recalculation on apply/remove and cart changes"},
{"id": "R-006", "priority": "P2", "category": "financial", "area": "Expired / disabled card rejection"},
{"id": "R-007", "priority": "P2", "category": "financial", "area": "Two-card combination and limit"},
{"id": "R-008", "priority": "P2", "category": "security", "area": "Wrong-code lockout (brute-force protection)"},
{"id": "R-009", "priority": "P3", "category": "financial", "area": "Admin card creation and disabling"},
{"id": "R-010", "priority": "P3", "category": "security", "area": "Logged-in-only and before-order-placed restriction"},
{"id": "R-011", "priority": "P3", "category": "other", "area": "Code input format and normalization"}
]}
Next steps
- Spend most of the test time on R-001 and R-002, then the six P2 areas; 10 of the 11 areas are financial or security, so each needs full test coverage, even the P3 ones.
- Five points are not stated in the spec (see Assumptions): confirm them with the PO/BA, then run the analysis again.
- Paste the Handoff block into your test case design as the risks checklist.
Connects securely to your tools. The creator never sees your data.
About this skill
You will never have time to test everything equally. Risk Scout answers one question before test planning starts: if only part of this feature can be tested thoroughly, which part must it be? It splits the feature into concrete areas, scores each one with a fixed method and tells you where the effort should go and what can be tested lightly.
What it does
- Splits the feature into concrete areas: never one score for the whole feature, but one per module or sub-flow.
- Scores every area on 4 dimensions: Business Impact, User Behavior, System Integration and Regression Possibility, each High / Medium / Low, in a Risk Matrix you can show your team.
- Derives the priority by rule, not by feel: Likelihood is High when at least two of User Behavior, System Integration and Regression are High, Low when all three are Low, otherwise Medium; Business Impact × Likelihood then gives P1 (Critical) to P4 (Low). Impact is judged before any promised safeguard, because the safeguard is what testing has to prove.
- Gives each P1–P3 area a stable ID (
R-001…), the reasoning behind the risk and a concrete test focus. - Labels the risks that need full coverage: every P1–P3 risk is tagged
security,financial,data_integrityorother; the first three should be covered 100% when you write test cases, whatever their priority, and a money, security or data-integrity risk is never filed asother. The category never changes the priority. - Lists what to test lightly or skip (P4, cosmetic or unchanged areas) with a reason, so cutting effort is a stated decision.
- States its assumptions in one line instead of inventing missing values. A request too thin to score (only a feature name, or rules with no concrete values) gets up to 3 questions first and no file.
- Ends with a JSON Handoff (
{"risks": [...]}: ID, priority, category, area) to paste into test case design as a coverage checklist.
Why use this skill
Asking an agent "what is risky here?" usually returns a flat list where everything sounds important. Risk Scout applies the same scoring rules every time, shows the scores behind each priority and keeps P4 areas out of formal tracking, so the plan is easy to defend and easy to change when the scores change.
Works with a requirement analysis (optional)
It runs from a feature description, change summary or PR alone. If your requirements are numbered with a priority (e.g. REQ-001, P1), it links each risk to them and uses the REQ priority as one input to Business Impact. If the same document lists open questions (UNC-xxx) or assumptions (ASM-xxx), it cites the ones that affect a risk.
Use cases
- Deciding where to focus testing on a new feature, change or pull request
- Planning test effort for a release when time is short
- Explaining to a lead or the team why some areas get more testing than others
- Spotting money, security and data-integrity risks that need full coverage
- Ranking risk areas to feed test case design or exploratory bug hunting
Output
One Markdown file in risk-analysis/yyyy-mm-dd_hh-mm-ss-<feature>.md (or a location you name):
- Assumptions (one line, when any)
- Risk Matrix (every scored area, P4 included)
- Top Risk Areas, grouped P1 - Critical / P2 - High / P3 - Medium
- Light/Skip Testing
- Handoff (JSON)
The chat reply stays short: the path, the assumptions, the count per priority, the P1 areas with their scores and the number of Light/Skip items.
Language
The skill's instructions are in English; it answers in English or Vietnamese, matching your request. Risk IDs, priorities, categories and the JSON stay in English.
License
For your personal use under the Agensi license; please do not redistribute or resell.
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 prioritizes; it does not write test cases or run tests.
- Scores come only from what you give it. It does not look through your repository, bug tracker or coverage reports on its own, so mention known problem areas, traffic or recent changes in the request for sharper scores.
- It gives a risk ranking and test focus, not a bug list; it does not dig into each failure mode.
- Light/Skip items get no ID and are not meant to be tracked. To promote one, give the reason (e.g. past defects there) and ask it to re-score; the priority still follows the scores.
- If the request is too thin to score (only a feature name, or rules with no values), it creates no file and asks up to 3 questions first; reply "continue" and it proceeds, stating every missing value as an assumption.
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
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 1 day ago
Requires
Nothing to install.
Permissions
File Scopes
Read Files: the feature description, change summary or requirement analysis you point to. Write Files: one Markdown analysis in risk-analysis/ (or a location you name). No scripts, no network.