From web-commerce
Score a scaffolded commerce integration against the seven-dimension gold-standard rubric and run the BUILD-measure-fix iteration loop until it passes. Use after scaffolding a provider track, before calling it done. Each dimension is a falsifiable test; a live provider-sandbox test is required beyond the static checks.
How this skill is triggered — by the user, by Claude, or both
Slash command
/web-commerce:commerce-gold-standard-rubricThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
"Gold standard" here means **passed an executable rubric**, not "someone eyeballed it." Run this after scaffolding a provider track and before shipping it. Do not gate a whole release on all tracks at once — score and ship provider by provider (CLAUDE.md §6).
"Gold standard" here means passed an executable rubric, not "someone eyeballed it." Run this after scaffolding a provider track and before shipping it. Do not gate a whole release on all tracks at once — score and ship provider by provider (CLAUDE.md §6).
| # | Dimension | Passing test |
|---|---|---|
| 1 | PCI card-isolation | No card field reaches a merchant-origin handler; only the provider iframe/hosted page collects the PAN. (git grep for card-field bindings to app routes = none.) |
| 2 | Webhook signature verification | A tampered-payload fixture is rejected; the compare is constant-time (safeSignatureEqual). |
| 3 | Idempotency / exactly-once | A replayed event id is a no-op; every mutating call carries an idempotency key. |
| 4 | Secret / env hygiene | git grep for secret-shaped strings returns nothing outside .env.example; publishable vs secret split correct. |
| 5 | Decline / test-mode UX | A declined-test-card fixture renders a user-facing error, not a stack trace; test mode + a local listener are wired. |
| 6 | DX / abstraction | The track imports templates/shared/* and declares capabilities; scaffold-to-green time recorded. |
| 7 | Checkout a11y / i18n | axe on the checkout surface = 0 critical; user-facing strings externalized. |
Dimensions 1, 2, 3, and 5 cannot be fully proven by static analysis. Each track ALSO requires a live provider-sandbox integration test covering the happy path and the decline / 3DS path (where a careless redirect can leak card data into a server log):
stripe listen / stripe trigger.The scaffolded consumer repo ships scripts/verify-template.sh so these checks are CI-runnable in the consumer's account, not eyeballed once.
BUILD → MEASURE (score all 7 + run the sandbox test)
→ for each FAILING dimension, emit a concrete fix spec
→ APPLY the fix → re-MEASURE
→ repeat until 7/7 → freeze the track
Bound each track at 3 cycles. A dimension still failing after 3 cycles escalates to the Team Lead as a design question: is the shared contract insufficient, or is this a genuine provider limitation to record as an accepted N/A (e.g. Shopify has no server-side authorize/capture)?
npx claudepluginhub mcorbett51090/ravenclaude --plugin web-commerceGuides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.
Dispatches multiple subagents concurrently for independent tasks without shared state. Use when facing 2+ unrelated failures or subsystems that can be investigated in parallel.