MagicAIBuilder is a public web app for building, analysing, playtesting and sharing Magic: The Gathering Commander decks. It has a backend (Next.js route handlers, PostgreSQL through Prisma), user accounts, and AI-assisted features. AI agents write most of its code, so every rule here is meant to be checked, not…
Before implementing or correcting production behavior, read and apply .agents/skills/tdd/SKILL.md. Also load it for behavior-preserving refactoring or when reviewing claimed TDD evidence, so its scope and exceptions are respected.
Apply this when you review a diff, yours or another agent's. Run /code-review for correctness, and /security-review when auth, sessions, API keys or provider calls change. Challenge the output; green tests are not a review.
Cursor rule "us-prioritization" from KaelSensei/MagicAIBuilder, covering set to false so it only applies when relevant, user story prioritization & weighting, story points (planning poker), what it is and why fibonacci?.
Modular monolith by bounded context, hexagonal inside each module, adapted to this Next.js 15 App Router + Prisma + React 19 project. Use when designing a feature, deciding where a file goes, adding a port or an adapter, moving code between contexts, or reviewing a PR that crosses layers or contexts.
Clean Code principles applied to this TypeScript / Next.js / React project, with a strong emphasis on duplicated knowledge (DRY), small units and informative comments. Use before writing new code, during refactors, when SonarCloud reports duplication, or when reviewing a PR that adds similar-looking code to existing…
Expert Magic: The Gathering Commander (EDH) deck analysis, optimization, and building assistant. Use this skill whenever the user asks about Commander decks, EDH optimization, power level assessment, bracket placement, mana base construction, card cuts/additions, deck building, commander selection, synergy analysis…
Magic: The Gathering learning assistant and gameplay guide. Use this skill whenever someone asks how Magic works, wants to learn the game, needs gameplay concepts explained, or is discovering the Commander format. Trigger on: 'how does Magic work', 'explain MTG to me', 'I'm new to Magic', 'what are the phases', 'how…
Magic: The Gathering comprehensive rules reference and rules engine. Use this skill whenever the user asks about MTG rules, card interactions, game mechanics, timing, priority, layers, state-based actions, combat, stack resolution, or any rules question about Magic: The Gathering. Also trigger on: 'how does X work in…
Professional TypeScript + React + Next.js coding standards enforcer. Use this skill whenever writing, reviewing, or refactoring TypeScript code in any project — whether it's a new feature, a bug fix, a refactoring pass, or a code review. Trigger on: any TypeScript or TSX file creation/editing, "clean up this code"…
PageSpeed and Core Web Vitals checklist for web projects. Use when building UI, shipping a page, reviewing front-end code, or running /audit-code or /beautify on a web target.
MagicAIBuilder is a public web app with user accounts, personal API keys (/api/v1), moderation and paid AI calls. Treat every request as hostile until it is parsed and authorised.
Design features and reproduce bugs through test-first baby steps. Use before changing production behavior, before splitting or moving untested code, or when reviewing whether a claimed TDD cycle has observable Red evidence. Distinguish behavior changes from behavior-preserving refactoring and documentation-only work.
At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: