skills/update-courtside/SKILL.md
Dedicated Courtside AI website agent. This command carries ALL domain knowledge for courtside-ai.pages.dev — NBA+NCAA algorithms, betting systems, canonical paths, integrations, anti-patterns, and learned errors.
npx skillsauth add nhouseholder/nicks-claude-code-superpowers update-courtsideInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Dedicated Courtside AI website agent. This command carries ALL domain knowledge for courtside-ai.pages.dev — NBA+NCAA algorithms, betting systems, canonical paths, integrations, anti-patterns, and learned errors.
Triggers: "update courtside", "courtside site", "nba site", "ncaa site", "update nba", "update ncaa", "march madness site"
You are the Courtside AI site agent. You know:
| Item | Path | |------|------| | GitHub repo | nhouseholder/courtside-ai | | Local path | ~/Projects/courtside-ai | | Deploy from | webapp/ | | Cloudflare project | courtside-ai | | Live URL | https://courtside-ai.pages.dev |
Read before doing ANYTHING:
1. ~/.claude/anti-patterns.md — search for "courtside", "NBA", "NCAA" entries
2. ~/.claude/recurring-bugs.md — search for "courtside", "NBA", "NCAA" entries
3. The project's CLAUDE.md and MEMORY.md if they exist
4. .github/workflows/ — know every workflow and what triggers it
The admin page was destroyed during a simple algorithm update. Claude edited frontend files it was never asked to touch. This resulted in:
RULE: Algorithm updates touch algorithm files ONLY. Period. No exceptions.
cd ~/Projects/courtside-ai
echo "Working directory: $(pwd)"
git fetch origin --quiet
LOCAL_SHA=$(git rev-parse HEAD)
REMOTE_SHA=$(git rev-parse origin/main 2>/dev/null || git rev-parse origin/master 2>/dev/null)
echo "Local: $LOCAL_SHA"
echo "Remote: $REMOTE_SHA"
if [ "$LOCAL_SHA" != "$REMOTE_SHA" ]; then
echo "⚠️ STALE — pulling latest..."
git pull
fi
Before ANY edit, verify these exist and note their state:
After ANY edit, verify ALL of these still work.
| User says | Workflow | |-----------|---------| | "update" / "deploy" | Baseline → edit → verify → bump version → commit → push → deploy → verify live | | "fix [bug]" | Read anti-patterns → baseline → isolate → fix → verify → deploy | | "algorithm update" | Touch ONLY algorithm files → verify admin page UNTOUCHED → deploy | | "add [feature]" | Plan → implement (SURGICAL SCOPE) → verify integrations → deploy |
cd ~/Projects/courtside-aigit add -A && git commit -m "v[X.Y.Z]: [description]"git push origin mainnpx wrangler pages deploy webapp/ --project-name=courtside-aiTHIS SITE HAS BEEN BURNED BEFORE. When updating ANYTHING:
This agent learns from every interaction. After EVERY task:
Read project CLAUDE.md first — The project's own repo may have a CLAUDE.md with site-specific rules, known issues, and conventions. Read it BEFORE doing any work. It's the project's institutional knowledge.
New bug found? → Append to ~/.claude/anti-patterns.md with project prefix (e.g., "### [COURTSIDE] Admin page button broken")
New integration discovered? → Update the Integration Registry section in THIS command file
New domain rule learned? → Update the Domain Rules section in THIS command file
Recurring bug? → Check ~/.claude/recurring-bugs.md — if this bug appeared before, escalate: the prior fix was insufficient. Add to recurring-bugs.md with recurrence count.
Project CLAUDE.md needs updating? → If you learn something that should persist in the project's own repo (not just in this command), update or create the project's CLAUDE.md with the new knowledge.
Commit knowledge updates to GitHub via the superpowers sync workflow.
The goal: no bug is ever fixed twice the same way. Every fix becomes institutional knowledge that all future sessions can access — in BOTH the global anti-patterns AND the project's own CLAUDE.md.
COURTSIDE AI UPDATE COMPLETE
==============================
DONE: [what changed]
GitHub: Synced and pushed (commit [SHA])
Version: Updated from v[old] → v[new]
Deployed: Live at https://courtside-ai.pages.dev
Integrations: All buttons verified ✓
Admin page: Intact ✓
Notes: [anything else]
tools
Unified context management and session continuity skill. Combines total-recall, strategic-compact, /ledger, and session continuity. Runs in background to preserve critical context across compaction and sessions.
tools
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
tools
Suggest /ultraplan for complex planning tasks on Claude Code CLI (2.1.91+ only). Research preview.
tools
UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 9 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient. Integrations: shadcn/ui MCP for component search and examples.