BUNDLE7 skills

    QA/QC Full Workflow: From Raw Spec to Playwright Automation

    The whole QA cycle for a web feature in one bundle: seven skills that hand their work to each other, from a raw spec to a Playwright automation project.

    1. QA Requirement Analyzer Pro turns the raw spec into testable requirements (REQ-xxx), assumptions and prioritized questions for your PO/BA.
    2. QA Risk Scout scores where the feature can hurt most and lists P1-P3 risks (R-xxx), each with a test focus.
    3. QA Bug Hunter Pro writes traceable bug hypotheses (BUG-xxx): race conditions, double actions, partial failures, rule abuse.
    4. QA Test Case Generator designs the suite with 9 techniques, traces every REQ, R and BUG to cases, checks coverage with a script and exports an executable Excel workbook.
    5. QA Playwright Test Runner executes that workbook on your real web app through Playwright MCP: a screenshot per case, Pass/Fail/Blocked written into a result copy and a ready-to-paste bug file for every Fail.
    6. QA Test Run Report turns the run folder into a shareable HTML results page: totals counted by a script, findings by root cause, open items per owner.
    7. QA Playwright Automation Builder turns the same run into a Playwright + TypeScript project: page objects, fixtures, CI, and @bug tests linked to the bug files.

    Why the bundle: the IDs travel the whole way. A requirement becomes a risk, a bug hypothesis, a test case, a run result, a bug file and an automated test, and each skill reads the previous one's output as-is, so you can always answer "which requirement does this test, and did it pass?"

    Requires: an agent that runs local scripts (built and tested on Claude Code), Python 3.8+ with openpyxl, Node.js 20.19+ for the automation project, and the Playwright MCP server for the runner. Answers in English or Vietnamese.

    Every skill also works on its own, and you own each one separately.

    Works with any agent that signs in to Agensi, such as Claude, ChatGPT, Claude Code, Cursor and Codex CLI.

    Pink Lotus · QA/QC
    Created by
    Pink Lotus · QA/QC
    $24.99$43.97
    Save 43% · $18.98

    One payment, lifetime access. 7 skills unlock instantly in your library.

    Money-back guarantee

    Instant unlock in your library

    Free updates from the creator

    What's included

    7 skills
    1/7
    QA Requirement Analyzer Pro: Testable REQs & PO Questions

    For QA engineers and testers: turn a raw spec, user story or screenshot into a full pre-test analysis with user, logic and data flows, typed gaps, prioritized PO/BA questions, assumptions and testable requirement items with P1-P4 priorities, plus a JSON handoff. Answers in English or Vietnamese.

    View skill
    $5$2.84Save 43%
    2/7
    QA Risk Scout: Risk-Based Testing Priorities for a Feature

    For QA engineers and testers: give it a feature, change or PR and learn where to test first: areas scored on 4 risk dimensions in a Risk Matrix, P1-P3 risks with IDs and a category (security, financial, data integrity, other), a test focus each, a Light/Skip list and JSON handoff.

    View skill
    $5$2.84Save 43%
    3/7
    QA Bug Hunter Pro: Edge Cases & Traceable Bug Hypotheses

    For QA engineers and testers: give it a flow or spec and get traceable bug hypotheses (race conditions, double actions, partial failures, rule abuse), tied to your spec's steps, ranked Critical/High/Medium, with reproduction ideas and a JSON test-coverage handoff. Answers in English or Vietnamese.

    View skill
    $5$2.84Save 43%
    4/7
    QA Test Case Generator: Full Test Suite with Coverage Check

    For QA engineers and testers: turn a spec into a technique-driven test suite (EP, BVA, decision tables, state transitions and more) with requirement/risk traceability, a script-computed coverage verdict and a ready-to-execute Excel workbook. Answers in English or Vietnamese.

    View skill
    $6.99$3.97Save 43%
    5/7
    QA Playwright Test Runner: Execute Test Sheets & Log Bugs

    For QA engineers and testers: your agent runs an Excel test case sheet on a real web app through Playwright MCP, section by section: a screenshot per case, fresh test data logged, Pass/Fail/Blocked written into a result copy, and a ready-to-paste bug file for every Fail.

    View skill
    $6.99$3.97Save 43%
    6/7
    QA Test Run Report: Shareable Results Page from Test Sheets

    For QA engineers and testers: turn a test sheet you ran by hand (Pass/Fail or P/F/PE typed in) or a test run folder into a shareable HTML report (totals counted by a script, findings by root cause citing cases and bugs, open items per owner) or a page of the rules and messages observed.

    View skill
    $5$2.84Save 43%
    7/7
    QA Playwright Automation Builder: TypeScript POM Framework

    For QA engineers and testers: turn your test case sheet or a finished test run into a Playwright + TypeScript project on one documented framework: page objects, fixtures, data-driven tests, @bug tests linked to bug files, 6 design documents, CI, and scripts that plan every case and check the code.

    View skill
    $9.99$5.68Save 43%

    See it in action

    QA Requirement Analyzer Pro: Testable REQs & PO Questions

    QA Requirement Analyzer Pro: Testable REQs & PO Questions

    Example session with this skill installed

    Analyze this requirement (spec-gift-card.md) before we write test cases:

    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 requirement analyzer

    Saved: requirement-analysis/2026-11-28_20-35-56-redeem-gift-card-at-checkout.md

    Requirement Analysis: Redeem a gift card at checkout

    Date: 2026-11-28
    Source: spec-gift-card.md (ticket DS-482)
    Status: Pending Clarification


    1. Requirement Summary

    Logged-in shoppers can apply up to 2 gift cards on the checkout page before clicking "Place order". A code is 16 characters (A–Z, 0–9), shown as XXXX-XXXX-XXXX-XXXX; input is case-insensitive and dashes are optional. A card has a USD balance (2 decimals) and an expiry date. Expired cards are rejected with "This gift card has expired."; wrong or disabled codes are rejected with "Gift card not found."; 5 wrong codes in 10 minutes lock the field for 15 minutes ("Too many attempts. Try again later."). If the balance is lower than the order total, the whole balance is used and the rest is paid by credit card; if it is equal or higher, the order total becomes $0.00 and the rest stays on the card. The balance is deducted only when the order is placed successfully; if payment of the remaining amount fails, nothing is deducted. An applied card can be removed before placing the order. Cancelling an order within 24 hours returns the used amount to the same card, extending an expired card by 30 days. Admins create cards ($5–$500, expiry 1–24 months) in the back office and can disable them.

    The core rules (format, limits, messages, calculation) are well described. The gaps are in multi-card behavior, timing/concurrency between apply and place, the lockout scope and the cancellation/refund rules.

    Requirement Breakdown

    Requirement IDDescriptionPerspectivePriority
    REQ-001Accept a 16-character code (A–Z, 0–9), case-insensitive, with or without dashes, shown as XXXX-XXXX-XXXX-XXXX (GC-01)FrontendP2
    REQ-002Only logged-in shoppers can apply a gift card, only on the checkout page and only before clicking "Place order" (GC-02)FrontendP1
    REQ-003Reject an expired card with "This gift card has expired." (GC-03)Frontend, TransactionP1
    REQ-004Apply the balance: balance < order total → whole balance used, rest paid by credit card; balance ≥ order total → order total $0.00, remaining balance stays on the card (GC-03, GC-04)TransactionP1
    REQ-005At most 2 gift cards per order (GC-05)Frontend, TransactionP2
    REQ-006Wrong code → "Gift card not found."; 5 wrong codes in 10 minutes lock the field for 15 minutes with "Too many attempts. Try again later." (GC-06)FrontendP1
    REQ-007Deduct the balance only when the order is placed successfully; if payment of the remaining amount fails, nothing is deducted (GC-07)TransactionP1
    REQ-008Shopper can remove an applied gift card before placing the order (GC-08)FrontendP2
    REQ-009Cancelling an order within 24 hours returns the used amount to the same gift card; an expired card gets its expiry extended by 30 days (GC-09)TransactionP1
    REQ-010Admin creates gift cards with an amount of $5–$500 and an expiry of 1–24 months (GC-10)Admin/CMSP2
    REQ-011Admin can disable a card; a disabled card is rejected with "Gift card not found." (GC-10)Admin/CMS, FrontendP1
    REQ-012Applied card line shows "Gift card ••••-••••-••••-1234 −$25.00" with a "Remove" link (UI copy)FrontendP3

    2. User Flow Analysis

    Perspective: Admin/CMS

    Entry Points
    • Admin back office (GC-10); the exact menu/screen is not stated (UNC-012).
    User Journey
    [Back office] → [Create gift card: amount, expiry] → [Valid?] → [Card created]
                                                            ↓ no
                                                    [Validation error (not stated)]
    [Back office] → [Find card] → [Disable] → [Card disabled]
    
    Exit Points
    Exit TypeConditionDestination
    SuccessAmount $5–$500 and expiry 1–24 monthsCard created (where/how the code is delivered is not stated, UNC-012)
    SuccessAdmin disables a cardCard disabled; later applies get "Gift card not found."
    ErrorAmount or expiry outside the limitsError message not stated (UNC-012)
    Edge Cases
    • Disabling a card that is applied in an open checkout or used by a placed order (UNC-013).
    • Re-enabling, editing or deleting a card: not stated (UNC-012).

    Perspective: Frontend

    Entry Points
    • Checkout page, "Gift card code" field + "Apply" button, logged-in shoppers only (GC-02).
    • What a guest sees (field hidden, disabled, or a login prompt) is not stated (UNC-014).
    User Journey
    [Checkout (logged in)] → [Enter code] → [Apply] → [Locked?] ─yes→ "Too many attempts. Try again later."
                                                         ↓ no
                                                [Card found & enabled?] ─no→ "Gift card not found." (counts toward lockout)
                                                         ↓ yes
                                                [Expired?] ─yes→ "This gift card has expired."
                                                         ↓ no
                                                [Fewer than 2 cards applied?] ─no→ (behavior not stated, UNC-010)
                                                         ↓ yes
                                                [Applied line "Gift card ••••-…-1234 −$X" + "Remove"]
                                                         ↓
                                    [Apply 2nd card] / [Remove] / [Place order]
    

    Check order above is (inferred) — the input does not state the validation order (UNC-011).

    Exit Points
    Exit TypeConditionDestination
    SuccessCard(s) applied and order placed successfullyOrder confirmation (not described)
    CancelShopper removes the card (GC-08) or leaves checkoutCheckout without the card / leaves the page
    ErrorWrong/disabled code, expired card, lockoutInline message, stays on checkout
    ErrorPayment of the remaining amount failsNothing deducted (GC-07); what the shopper sees is not stated
    Edge Cases
    • Multi-tab behavior: the same card applied in two tabs/orders at once (UNC-007).
    • Session timeout: shopper logged out mid-checkout with a card applied — not stated (UNC-014).
    • Network interruption: during "Apply" or "Place order" — not stated; deduction rule GC-07 should still hold.
    • Order total changes after a card is applied (cart edit, shipping change) — not stated (UNC-008).
    • The same card entered twice on one order (UNC-010).
    • A card with $0.00 balance (UNC-006).
    • Invalid format (wrong length, symbols) — message and lockout counting not stated (UNC-011).

    Perspective: Transaction

    Entry Points
    • "Place order" with one or two cards applied (GC-07).
    • Order cancellation within 24 hours (GC-09); who can cancel and from where is not stated (UNC-001).
    User Journey
    [Place order] → [Total covered by cards?] ─yes→ [Order total $0.00] → [Order placed] → [Deduct balance(s)]
                            ↓ no
                    [Charge remaining amount to credit card] ─fail→ [Nothing deducted]
                            ↓ success
                    [Order placed] → [Deduct balance(s)]
    
    [Cancel order] → [Within 24 h?] ─yes→ [Return used amount to same card] → [Expired? → extend 30 days]
                            ↓ no
                    [Not stated, UNC-001]
    
    Exit Points
    Exit TypeConditionDestination
    SuccessOrder placedBalance(s) deducted
    ErrorRemaining-amount payment failsOrder not placed (inferred), no deduction
    SuccessCancel within 24 hUsed amount returned to the same card
    CancelCancel after 24 hNot stated (UNC-001)
    Edge Cases
    • Two cards: which card is used first, and how a cancellation splits the return (UNC-002).
    • Card balance spent in another order between apply and Place order (UNC-007).
    • Cancelling an order whose card has been disabled since (UNC-013).

    3. Logic Flow Analysis

    Perspective: Admin/CMS

    Process Sequence
    1. Admin enters amount and expiry.
    2. System validates amount $5–$500 and expiry 1–24 months (inclusive bounds not stated, UNC-012).
    3. Card created with a balance equal to the amount (inferred) and an expiry date.
    4. Admin can disable a card; disabled cards are rejected at checkout with "Gift card not found.".
    Conditional Logic
    ConditionWhen TrueWhen FalseEdge Cases
    Amount in $5–$500Card can be createdRejected (message not stated)$4.99, $5.00, $500.00, $500.01; non-integer amounts
    Expiry in 1–24 monthsCard can be createdRejected (message not stated)0, 1, 24, 25 months; month-end dates (e.g. created Jan 31 + 1 month)
    Card disabledApply rejected with "Gift card not found."Normal validation continuesDisabled while applied in an open checkout (UNC-013)
    State Transitions
    Current StateTriggerNew StateSide Effects
    —Admin creates cardActive (inferred)Code generated (how not stated, UNC-012)
    ActiveAdmin disablesDisabledApply returns "Gift card not found."
    DisabledRe-enableNot stated (UNC-012)—

    Perspective: Frontend

    Process Sequence
    1. Shopper (logged in) enters a code in "Gift card code" and clicks "Apply".
    2. Normalize: uppercase, remove dashes (GC-01).
    3. Check lockout (inferred order, UNC-011).
    4. Look up the card; not found or disabled → "Gift card not found." and count one wrong attempt.
    5. Expired → "This gift card has expired.".
    6. Check the 2-card limit.
    7. Show the applied line with masked code and the applied amount, plus "Remove".
    Conditional Logic
    ConditionWhen TrueWhen FalseEdge Cases
    Shopper logged inCan applyCannot apply (what is shown not stated, UNC-014)Session expires after applying
    Code is 16 chars A–Z/0–9 after removing dashesLook up the cardNot stated (UNC-011)Lowercase, no dashes, extra spaces, 15/17 chars, letters like O/0
    Card exists and is enabledContinue"Gift card not found." + wrong attemptDisabled card counts as wrong attempt? (UNC-005)
    Card expired"This gift card has expired."ContinueExpiry date itself, time zone (UNC-003)
    Fewer than 2 cards appliedApplyNot stated (UNC-010)Same card twice; 2nd card when total is already $0.00
    5 wrong codes within 10 minutesLock the field 15 min, "Too many attempts. Try again later."Allow next tryExactly 5th attempt; scope (account/session/device); expired codes count? (UNC-005)
    Balance > 0ApplyNot stated (UNC-006)$0.00 balance card
    State Transitions
    Current StateTriggerNew StateSide Effects
    Field unlocked5th wrong code within 10 minLocked (15 min)Message "Too many attempts. Try again later."
    Locked15 minutes passUnlockedAttempt counter reset (inferred, UNC-005)
    No card appliedValid card applied1 card appliedApplied line shown, total reduced
    1 card applied2nd valid card applied2 cards appliedLimit reached
    Card applied"Remove"Card not appliedTotal restored
    Error Handling
    Error TypeHandlingRecovery
    Wrong / disabled code"Gift card not found."Re-enter code (counts toward lockout)
    Expired card"This gift card has expired."Use another card
    Too many attemptsField locked 15 minWait 15 min
    Invalid formatNot stated (UNC-011)—

    Perspective: Transaction

    Process Sequence
    1. Shopper clicks "Place order".
    2. Compute the amount taken from each card: min(balance, remaining total) (GC-04); order with 2 cards not stated (UNC-002).
    3. If a remainder exists, charge it to the credit card.
    4. Payment succeeds → order placed → deduct the used amounts from the card(s) (GC-07).
    5. Payment fails → nothing deducted (GC-07).
    6. Cancellation within 24 hours → return the used amount to the same card; if the card has expired, extend expiry by 30 days (GC-09).
    Conditional Logic
    ConditionWhen TrueWhen FalseEdge Cases
    Balance < order totalWhole balance used, rest by credit cardOrder total $0.00, rest of balance staysBalance = total exactly; $0.01 difference
    Remaining-amount payment succeedsOrder placed, balance deductedNothing deductedTimeout / unknown payment result
    Cancel within 24 hReturn used amount to same cardNot stated (UNC-001)Exactly 24 h; what "within 24 hours" is measured from
    Card expired at cancellationExtend expiry by 30 daysExpiry unchanged (inferred)Base of the 30 days (UNC-004); card disabled (UNC-013)
    Calculations
    • Applied amount per card = min(card balance, remaining order total), USD with 2 decimals (GC-03, GC-04). Order total definition (before/after shipping, tax, discounts) not stated (UNC-008).
    • New balance after placement = balance − applied amount.
    • New balance after cancel = balance + used amount; new expiry when expired = (base not stated) + 30 days (UNC-004).
    State Transitions
    Current StateTriggerNew StateSide Effects
    Card applied (not deducted)Order placed successfullyBalance deductedOrder records the gift card amount (inferred)
    Card applied (not deducted)Remaining payment failsUnchangedNothing deducted
    Order placedCancel within 24 hOrder cancelledUsed amount returned; expired card extended 30 days
    Order placedCancel after 24 hNot stated (UNC-001)—
    Error Handling
    Error TypeHandlingRecovery
    Credit card payment of remainder failsNo deduction (GC-07)Retry not stated
    Card balance no longer enough at Place orderNot stated (UNC-007)—

    Shared

    Concurrency
    • The same card applied to two orders in two tabs or devices: the balance is deducted only at placement (GC-07), so both orders may count on the same balance (UNC-007).
    • Double-click on "Place order" with a card applied: double deduction risk; not stated.
    • Admin disables a card while a shopper has it applied (UNC-013).

    4. Database & Data Flow Analysis

    Perspective: Admin/CMS

    Tables/Entities Affected
    Table/EntityOperationFieldsConstraints
    GiftCard (assumed)Createcode, balance, initial amount, expiry date, statuscode unique, 16 chars A–Z/0–9; amount $5–$500; expiry 1–24 months
    GiftCard (assumed)Updatestatus (disabled)—
    Data Impact Matrix
    OperationTables/Entities AffectedFields ChangedCascade Effects
    Create cardGiftCardallNone stated
    Disable cardGiftCardstatusApplies rejected; effect on open checkouts/refunds not stated (UNC-013)

    Perspective: Frontend

    Tables/Entities Affected
    Table/EntityOperationFieldsConstraints
    GiftCard (assumed)Readcode, balance, expiry date, status—
    Checkout/Cart (assumed)Updateapplied gift cards, applied amountsMax 2 cards
    Redeem attempt counter (assumed)Create/Readshopper, timestamp, result5 per 10 min → 15 min lock
    Data Impact Matrix
    OperationTables/Entities AffectedFields ChangedCascade Effects
    Apply cardCheckout/Cartapplied cards, payable totalNo balance change (GC-07)
    Remove cardCheckout/Cartapplied cards, payable total—
    Wrong codeRedeem attempt countercount / lock untilLock after 5 in 10 min

    Perspective: Transaction

    Tables/Entities Affected
    Table/EntityOperationFieldsConstraints
    Order (assumed)Create/Updatetotal, gift card amounts, status—
    GiftCard (assumed)Updatebalance, expiry datebalance ≥ 0 (inferred)
    Payment (assumed)Createcredit card amount, result—
    Data Impact Matrix
    OperationTables/Entities AffectedFields ChangedCascade Effects
    Place orderOrder, GiftCard, Paymentstatus, balance, payment resultBalance deducted only on success
    Cancel within 24 hOrder, GiftCardstatus, balance, expiry dateUsed amount returned; expired card +30 days; credit card part not stated (UNC-001)

    Shared

    Data Relationships
    • Order → GiftCard: an order uses 0–2 cards; a card can be used by many orders (inferred).
    • Order → Payment: remaining amount paid by credit card.
    Transaction Boundaries
    TransactionOperations IncludedRollback Condition
    Place orderCharge remainder to credit card, create order, deduct card balance(s)Remainder payment fails → no deduction (GC-07)
    Cancel orderCancel order, return used amount to card(s), extend expiryNot stated
    Cache Considerations

    Input does not state — see UNC-007

    Audit Trail
    • No balance history or admin action log is stated (UNC-015).

    5. Unclear / Risky Points

    Unclear IDPointGap TypeRisk LevelImpact on testing
    UNC-001Cancellation rules: "within 24 hours" of what (placement, payment?); what happens after 24 hours; who can cancel (shopper, admin); whether the credit card part is refunded too; partial cancellationMissingHighCannot write cancel/refund cases beyond the basic 24 h return
    UNC-002With 2 cards: which card is used first when the first one already covers part of the total, and how a cancellation splits the returned amount between the cardsMissingHighExpected balances for 2-card orders and their refunds cannot be stated
    UNC-003When a card counts as "expired": at the start or end of the expiry date, and in which time zoneAmbiguityMediumBoundary cases on the expiry date have no expected result
    UNC-004"the expiry is extended by 30 days": from the original expiry date or from the cancellation date; does it apply when the card is still valid but expires soonAmbiguityHighNew expiry date after cancel cannot be calculated
    UNC-005Lockout scope and counting: per account, session, device or IP; rolling or fixed 10-minute window; does the 5th wrong code lock immediately; do disabled codes (same message) and expired codes count; is the counter reset on success or after the lockAmbiguityHighLockout cases and brute-force protection cannot be verified
    UNC-006A card with $0.00 balance (fully used): message and whether it can be appliedMissingMediumNo expected result for an empty card
    UNC-007Balance not reserved at apply: same card applied in two orders/tabs, or balance changed between apply and Place order; double-click on "Place order"; any cached balanceMissingHighConcurrency and double-spend cases have no expected result
    UNC-008"Order total": before or after shipping, tax and discounts; are applied amounts recalculated when the cart changes after a card is appliedMissingMediumCalculation cases need an assumed total
    UNC-009Order total $0.00: is the credit card step skipped; "rest is paid by credit card" — are other payment methods allowed for the remainderAmbiguityMediumPayment-step cases for full and partial coverage are uncertain
    UNC-010Applying a 3rd card or the same card twice: message and behavior; applying a 2nd card when the total is already $0.00MissingMediumLimit cases have no expected message
    UNC-011Invalid format (wrong length, symbols, spaces): message and whether it counts as a wrong attempt; order of the checks (lockout, format, found, disabled, expired, limit)MissingMediumValidation-order and format-error cases rely on an assumption
    UNC-012Admin side: who is an admin (role/permission), how the code is generated and delivered, uniqueness, inclusive bounds of $5–$500 and 1–24 months, cents allowed, error messages, edit/re-enable/delete, initial status and balance of a new card (inferred: Active, balance = amount)MissingMediumAdmin boundary and permission cases rely on assumptions
    UNC-013Disabled card: applied in an open checkout when disabled; refund on cancellation to a disabled cardMissingMediumInteraction between disable and checkout/cancel cannot be tested as specified
    UNC-014Guest (not logged-in) shopper: is the field hidden, disabled or a login prompt; session expiry after applying a cardMissingLowGuest UI case expected result is unclear
    UNC-015Masked line "••••-••••-••••-1234": shows the last 4 characters (inferred); amount shown = applied amount; no balance history/audit log statedAmbiguityLowDisplay and audit checks rely on inference

    6. Clarification Questions

    High Priority

    • QH-001: When an order uses 2 gift cards, which card is drawn first, and when the order is cancelled, how is the returned amount split between the 2 cards? (related: UNC-002; blocks: REQ-004, REQ-005, REQ-009)
    • QH-002: Is the balance reserved when a card is applied? If the same card is applied in two orders (two tabs/devices) or its balance changes before "Place order", what happens at placement, and how is a double "Place order" prevented from deducting twice? (related: UNC-007; blocks: REQ-004, REQ-007)
    • QH-003: For cancellation: is "within 24 hours" measured from order placement; what happens after 24 hours; who can cancel; is the credit card part refunded too; is partial cancellation possible? (related: UNC-001; blocks: REQ-009)
    • QH-004: Is the 30-day extension counted from the original expiry date or from the cancellation date? (related: UNC-004; blocks: REQ-009)
    • QH-005: Is the wrong-code lockout per account, session, device or IP; is the 10-minute window rolling; does the 5th wrong code lock immediately; do disabled and expired codes count; when is the counter reset? (related: UNC-005; blocks: REQ-006)

    Medium Priority

    • QM-001: Does a card expire at the start or end of its expiry date, and in which time zone? (related: UNC-003)
    • QM-002: Is "order total" before or after shipping, tax and discounts, and are applied amounts recalculated when the cart changes after a card is applied? (related: UNC-008)
    • QM-003: What does the shopper see for a code with an invalid format and for a card with $0.00 balance, does an invalid format count as a wrong attempt, and in what order are the checks run? (related: UNC-006, UNC-011)
    • QM-004: What happens when the shopper tries a 3rd card, the same card twice, or a 2nd card when the total is already $0.00? (related: UNC-010)
    • QM-005: When the order total is $0.00, is the payment step skipped? Can the remainder be paid by methods other than credit card? (related: UNC-009)
    • QM-006: For admins: which role can create/disable cards, how is the code generated and delivered, are $5.00/$500.00 and 1/24 months inclusive, are cents allowed, and can a card be edited, re-enabled or deleted? (related: UNC-012)
    • QM-007: What happens when a card is disabled while applied in an open checkout, and when an order paid with a since-disabled card is cancelled? (related: UNC-013)

    Low Priority

    • QL-001: What does a guest shopper see in place of the gift card field, and what happens to an applied card if the session expires? (related: UNC-014)
    • QL-002: Does the applied line always show the last 4 characters of the code and the applied amount (not the card balance), and is a balance history kept per card? (related: UNC-015)

    7. Temporary Assumptions

    Assumption IDAssumptionRelated UNCCategoryImpactStatus
    ASM-001With 2 cards, they are drawn in the order applied; on cancellation each card gets back exactly the amount taken from itUNC-002Business RuleHighPending
    ASM-002The balance is not reserved at apply; it is re-checked at "Place order", and an order whose card no longer covers the applied amount is not placed and nothing is deducted; one click on "Place order" deducts onceUNC-007Business RuleHighPending
    ASM-003"Within 24 hours" is measured from order placement; after 24 hours no amount is returned to the gift card by this feature; the credit card part follows the normal refund processUNC-001Business RuleHighPending
    ASM-004The 30-day extension is counted from the cancellation date and applies only to cards already expired at cancellationUNC-004Business RuleMediumPending
    ASM-005Lockout is per shopper account, rolling 10-minute window, the 5th wrong code triggers the lock; disabled codes count as wrong, expired codes do not; the counter resets when the lock endsUNC-005SecurityHighPending
    ASM-006A card is valid through the end of its expiry date (23:59:59) in the store time zoneUNC-003Data FormatMediumPending
    ASM-007A code with an invalid format gets "Gift card not found." and counts as a wrong attempt; checks run lockout → format → found/disabled → expired → 2-card limitUNC-011Error HandlingMediumPending
    ASM-008Order total is the final payable amount after shipping, tax and discounts; applied amounts are recalculated whenever it changesUNC-008Business RuleMediumPending
    ASM-009Admin limits are inclusive ($5.00 and $500.00 allowed, 1 and 24 months allowed), amounts may have centsUNC-012Business RuleMediumPending

    8. Handoff

    Copy this block as the requirements / assumptions input for test case design.

    {
      "requirements": [
        {"id": "REQ-001", "priority": "P2", "description": "Accept a 16-character code (A–Z, 0–9), case-insensitive, with or without dashes, shown as XXXX-XXXX-XXXX-XXXX (GC-01)"},
        {"id": "REQ-002", "priority": "P1", "description": "Only logged-in shoppers can apply a gift card, only on the checkout page and only before clicking \"Place order\" (GC-02)"},
        {"id": "REQ-003", "priority": "P1", "description": "Reject an expired card with \"This gift card has expired.\" (GC-03)"},
        {"id": "REQ-004", "priority": "P1", "description": "Apply the balance: balance < order total → whole balance used, rest paid by credit card; balance ≥ order total → order total $0.00, remaining balance stays on the card (GC-03, GC-04)"},
        {"id": "REQ-005", "priority": "P2", "description": "At most 2 gift cards per order (GC-05)"},
        {"id": "REQ-006", "priority": "P1", "description": "Wrong code → \"Gift card not found.\"; 5 wrong codes in 10 minutes lock the field for 15 minutes with \"Too many attempts. Try again later.\" (GC-06)"},
        {"id": "REQ-007", "priority": "P1", "description": "Deduct the balance only when the order is placed successfully; if payment of the remaining amount fails, nothing is deducted (GC-07)"},
        {"id": "REQ-008", "priority": "P2", "description": "Shopper can remove an applied gift card before placing the order (GC-08)"},
        {"id": "REQ-009", "priority": "P1", "description": "Cancelling an order within 24 hours returns the used amount to the same gift card; an expired card gets its expiry extended by 30 days (GC-09)"},
        {"id": "REQ-010", "priority": "P2", "description": "Admin creates gift cards with an amount of $5–$500 and an expiry of 1–24 months (GC-10)"},
        {"id": "REQ-011", "priority": "P1", "description": "Admin can disable a card; a disabled card is rejected with \"Gift card not found.\" (GC-10)"},
        {"id": "REQ-012", "priority": "P3", "description": "Applied card line shows \"Gift card ••••-••••-••••-1234  −$25.00\" with a \"Remove\" link (UI copy)"}
      ],
      "assumptions": [
        {"id": "ASM-001", "category": "Business Rule", "description": "With 2 cards, they are drawn in the order applied; on cancellation each card gets back exactly the amount taken from it", "impact": "High", "status": "Pending"},
        {"id": "ASM-002", "category": "Business Rule", "description": "The balance is not reserved at apply; it is re-checked at \"Place order\", and an order whose card no longer covers the applied amount is not placed and nothing is deducted; one click on \"Place order\" deducts once", "impact": "High", "status": "Pending"},
        {"id": "ASM-003", "category": "Business Rule", "description": "\"Within 24 hours\" is measured from order placement; after 24 hours no amount is returned to the gift card by this feature; the credit card part follows the normal refund process", "impact": "High", "status": "Pending"},
        {"id": "ASM-004", "category": "Business Rule", "description": "The 30-day extension is counted from the cancellation date and applies only to cards already expired at cancellation", "impact": "Medium", "status": "Pending"},
        {"id": "ASM-005", "category": "Security", "description": "Lockout is per shopper account, rolling 10-minute window, the 5th wrong code triggers the lock; disabled codes count as wrong, expired codes do not; the counter resets when the lock ends", "impact": "High", "status": "Pending"},
        {"id": "ASM-006", "category": "Data Format", "description": "A card is valid through the end of its expiry date (23:59:59) in the store time zone", "impact": "Medium", "status": "Pending"},
        {"id": "ASM-007", "category": "Error Handling", "description": "A code with an invalid format gets \"Gift card not found.\" and counts as a wrong attempt; checks run lockout → format → found/disabled → expired → 2-card limit", "impact": "Medium", "status": "Pending"},
        {"id": "ASM-008", "category": "Business Rule", "description": "Order total is the final payable amount after shipping, tax and discounts; applied amounts are recalculated whenever it changes", "impact": "Medium", "status": "Pending"},
        {"id": "ASM-009", "category": "Business Rule", "description": "Admin limits are inclusive ($5.00 and $500.00 allowed, 1 and 24 months allowed), amounts may have cents", "impact": "Medium", "status": "Pending"}
      ]
    }
    

    Next steps

    • Ask the PO/BA the 5 High questions (QH-001 to QH-005): REQ-004, REQ-005, REQ-006, REQ-007 and REQ-009 are blocked until they are answered; the other REQ items can already go to test design.
    • Paste the Handoff block into your test case design; for the blocked REQ items, write cases from the matching ASM assumptions or mark them blocked until the answers arrive. Then give it the PO/BA answers to update the assumptions and the Status.
    spec-gift-card.md

    How to use

    1. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads these skills and uses them on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every skill in this bundle goes through our trust checks.

    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.

    Frequently asked questions

    Yes — every skill in QA/QC Full Workflow: From Raw Spec to Playwright Automation is also sold on its own product page. The bundle just packages them together at a discount (save 43% vs buying each one separately).

    Yes. When you own the bundle your connected agent can load the latest version of any included skill. Updates the creator publishes after your purchase are included at no extra cost.

    All skills in this bundle use the open SKILL.md standard and work with Claude Code, Cursor, Codex CLI, Gemini CLI, GitHub Copilot, Windsurf. The compatibility list on this page is computed from the included skills.

    The bundle price is set 43% below the combined retail price of the 7 paid skills included. You pay once and unlock every skill in your library instantly.

    Bundles are covered by the same money-back guarantee as individual skills. Doesn't do what its page promises? You get your money back.

    More bundles from Pink Lotus · QA/QC