finalizar-campeonato

Guides closing a championship season and awarding trophies, titles, and betting-king prizes in the Primitivão app.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Ending a championship season in the Primitivão betting app involves many fragile steps: computing final standings, closing the championship, awarding trophies and equipable titles, crowning the betting king, updating match history, and resetting balances for the next season. This Skill provides a tested, step-by-step recipe so none of these steps are missed or done incorrectly. ## Core Features & Use Cases - Final standings computation: Derives the final player order per game (FIFA points table, Mario Kart knockout podium plus league, or new games) and validates it with a Node test against live Firestore data before awarding anything. - Prize awarding workflow: Closes the championship, assigns trophies (champion/vice/third/lanterna), latches equipable achievement titles, and crowns the REI DAS APOSTAS (betting king) per closed season. - Season rollover: Covers opening the next championship in the same operation and zeroing all PC balances via the admin MOD panel with backup-first safety. - Use Case: When the owner says "encerra o MK" (close the Mario Kart championship), follow the recipe to compute the podium, award trophies and titles, deploy, and verify the champion's profile shows everything correctly. ## Quick Start Ask the assistant to finalize the championship and distribute the prizes, for example by saying the Mario Kart championship has ended and the trophies should be awarded.

Frequently Asked Questions about finalizar-campeonato

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

FAQPage Schema
How do I close a championship and award prizes in the Primitivão app?▼

Follow the step-by-step recipe: compute the final standings for the game, close the championship so it moves to the ENCERRADOS group, assign trophies and equipable titles, crown the betting king, then validate, deploy, and verify the champion's profile.

How are final standings computed for Mario Kart versus FIFA?▼

FIFA uses the points table via computeChampStandings, while Mario Kart uses the knockout bracket for the podium via mkKoPodiumOrder plus league standings for the rest via mkFinalOrder. Always test the result with a Node script against live data before awarding.

Does closing a championship award PC currency as a prize?▼

No, prizes are never PC currency per the owner's rule. Placement prizes consist of trophies (medals for champion, vice, third, lanterna) and equipable achievement titles, while betting balances simply settle normally.

Why is the betting tab showing a closed championship after season rollover?▼

Closing one championship and opening the next must happen as a single operation, otherwise the app has no firstBettableChampId and the betting tab displays a closed championship. Handle the transition atomically as described in the lifecycle guidance.

How do I reset all player balances for a new season?▼

Use the admin MOD panel, USUÁRIOS tab, ZERAR SALDOS card, which sets PC to zero for all users via zeroAllPc while keeping titles, trophies, and cosmetics. Always take a backup first through the BACKUP tab or a Firestore REST capture.