card-de-apostas

Implements reusable betting card UI with odds, bet slips, and settlement logic.

Updated May 6, 2026
One-click install
npx skills add https://github.com/BanePlayss/primitivao --skill card-de-apostas-baneplayss
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: card-de-apostas
Source: https://github.com/BanePlayss/primitivao/tree/main/.claude/skills/card-de-apostas
Command: npx skills add https://github.com/BanePlayss/primitivao --skill card-de-apostas-baneplayss

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Building a betting feature for a new championship (golf, Rocket League, LoL) from scratch is error-prone: odds can be tampered client-side, correlated markets can be combined into +EV accumulators, and settlement can double-pay. This Skill encodes a proven, reusable pattern for betting cards in the Primitivão app, including anti-exploit guards already validated in the MK championship. ## Core Features & Use Cases - Standardized data model: Defines Leg and Ticket structures with prefixed fixtureIds and champId-scoped bet rankings, so settlement and summaries work consistently across championships. - Server-side odds recomputation: placeBet re-derives odds/probability from remote state, rejects closed or started markets, and enforces singles-only slips for correlated markets. - Idempotent settlement: A result-keyed effect settles pending tickets from real results, pays payouts in the same transaction, and ports copy-bet economics (insurance, deferred cashback, follow fees). - Use Case: When adding betting to a new golf championship, follow the 9-step checklist to define markets, build the card UI branch in the APOSTAS tab, wire the slip and placeBet, add locks and settlement, then run an adversarial money review before deploy. ## Quick Start Ask the AI to create a betting card for a new championship following the card-de-apostas pattern, including markets, odds, slip, placeBet, settlement, and anti-exploit locks.

Frequently Asked Questions about card-de-apostas

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a betting card for a new championship?▼

Follow the 9-step checklist: define markets and odds source, create Leg with prefixed fixtureId and champId, add a routed card component in the APOSTAS tab, wire the slip and placeBet with server recompute, add settlement, locks, and an adversarial money review before deploy.

How do I prevent odds tampering in a betting app?▼

Recompute odds and probability from remote server state inside placeBet, ignoring any values sent by the client. Also reject bets on closed or already-started markets and return friendly error messages.

Why should correlated betting markets be singles-only?▼

Correlated or mutually exclusive markets combined into accumulators multiply odds into +EV payouts that exploit the house. Enforce singles-only slips by replacing the slip with a single leg and filtering related toggles.

How does bet settlement work without double-paying?▼

Settlement runs in an effect keyed on the real result data, only touches tickets with status pending, computes win/loss from actual results, and credits payouts within the same transaction, making it idempotent.

When should odds be manual instead of model-based?▼

Use manual or even odds when there is no historical data to feed a probability model, such as a brand-new championship. Adjust the odds as real results accumulate over time.