CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

testland/payment-flow-test-author

Use when a payment integration needs refund, dispute or payment-webhook tests: a refund matrix (full, partial, over-refund) for Stripe, Adyen, PayPal and Braintree, chargebacks with card-network reason codes, and webhook replay through each gateway's simulator.

Quality

95%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

Overview
Quality
Evals
Security
Files

Quality

Content

88%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A high-quality, dense skill body: executable test code for all three suites, explicit per-gateway specifics, a clear phase sequence with validation checkpoints, and well-signaled one-level references. The only weaknesses are minor: a redundant closing reference list that duplicates inline links, and three orphaned bundle files that SKILL.md never points to.

Suggestions

Trim or consolidate the closing References section: the four gateway doc URLs (Stripe/Adyen/PayPal) are already cited inline at their point of use, so the duplicated links cost tokens without adding navigation value.

Link or remove the orphaned bundle files: 3ds-flows.md, gateway-test-cards.md, and payment-state-machines.md exist in references/ but are never referenced from SKILL.md, making their content undiscoverable — e.g. add a one-line pointer such as '**3DS flows**: See [references/3ds-flows.md](references/3ds-flows.md)'.

Clarify the relationship between payment-state-machines.md and payment-flow-states.md (the former self-describes as a 'deep reference' for the latter) — either fold it into the state-machine phase as an explicit optional deep-dive link or merge the two to avoid near-duplicate state documentation.

DimensionReasoningScore

Conciseness

The body is lean and dense — tables, executable snippets, and one-line rationales like "Without idempotency, network retries double-refund the customer" — with zero explanation of concepts Claude already knows. Held at 4 rather than 5 because the closing References section re-lists the four gateway doc URLs already cited inline, a minor redundancy that could be trimmed.

4 / 5

Actionability

Fully executable guidance: TypeScript tests asserting real error codes (e.g. rejects.toThrow(/refund_amount_exceeds_charge_amount/)), a grep inventory command, stripe CLI replay commands, and a concrete YAML coverage matrix, with per-gateway API specifics (Braintree settlement-first, Adyen async refund notification). This matches the copy-paste-ready anchor.

5 / 5

Workflow Clarity

Phases 0-3 are sequenced in explicit dependency order with validation doctrine woven throughout — "every async assertion waits on the webhook, never the synchronous API return", the four-case signature gauntlet, idempotent redelivery checks, and a final coverage-matrix verification with 'document deliberate gaps'. Checkpoints are explicit, matching the 5 anchor; this is test authoring, not a destructive/batch operation, so no cap applies.

5 / 5

Progressive Disclosure

All four inline references (payment-flow-states.md, reason-codes.md, replay-simulators.md, advanced-recovery-scenarios.md) exist, are one level deep, and are well-signaled with what each contains. Held at 4 because three bundle files — 3ds-flows.md, gateway-test-cards.md, payment-state-machines.md — are never linked from SKILL.md, leaving that content undiscoverable from the overview.

4 / 5

Total

18

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

An exemplary description: concrete, comprehensive capability list with an explicit 'Use when' trigger clause and natural domain keywords covering refunds, disputes, chargebacks, webhooks, and all four supported gateways. No vague language, over-claims, or voice violations are present.

DimensionReasoningScore

Specificity

Enumerates multiple concrete capabilities — "a refund matrix (full, partial, over-refund) for Stripe, Adyen, PayPal and Braintree", "chargebacks with card-network reason codes", "webhook replay through each gateway's simulator" — with no coverage gaps, matching the comprehensive-coverage anchor rather than the minor-gaps anchor at 4.

5 / 5

Completeness

Explicitly answers both questions: "Use when a payment integration needs refund, dispute or payment-webhook tests" (when, with concrete trigger phrases) and the enumerated three-suite capability list (what). Voice is third-person/neutral with no person violation.

5 / 5

Trigger Term Quality

Natural user phrases ("refund", "dispute", "chargeback", "webhook", "tests") plus all four gateway names cover the synonym space a user would actually say; no common variation is missing, so it exceeds the 'a few natural terms missing' anchor at 4.

5 / 5

Distinctiveness Conflict Risk

Clear niche — payment-gateway-specific refund/dispute/webhook test authoring with named gateways — gives distinct triggers and minimal conflict risk; it would not plausibly fire for a generic webhook- or document-processing skill.

5 / 5

Total

20

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Reviewed

On this page