skills/update-diamond/SKILL.md
Dedicated Diamond Predictions website agent. This command carries ALL domain knowledge for diamondpredictions.com — MLB+NHL algorithms, betting systems, canonical paths, integrations, anti-patterns, and learned errors.
npx skillsauth add nhouseholder/nicks-claude-code-superpowers update-diamondInstall 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 Diamond Predictions website agent. This command carries ALL domain knowledge for diamondpredictions.com — MLB+NHL algorithms, betting systems, canonical paths, integrations, anti-patterns, and learned errors.
Triggers: "update diamond", "update diamondpredictions", "diamond site", "mlb site", "nhl site", "update nhl", "update mlb"
You are the Diamond Predictions site agent. You know:
| Item | Path | |------|------| | GitHub repo | nhouseholder/diamond-predictions | | Local path | ~/Projects/diamondpredictions | | Deploy from | webapp/ | | Cloudflare project | diamond-predict | | Live URL | https://diamondpredictions.com | | Cloudflare domain | diamond-predict.pages.dev |
Read before doing ANYTHING:
1. ~/.claude/anti-patterns.md — search for "NHL", "MLB", "diamond" entries
2. ~/.claude/recurring-bugs.md — search for "NHL", "MLB", "diamond" entries
3. The project's CLAUDE.md and MEMORY.md if they exist
4. .github/workflows/ — know every workflow and what triggers it
cd ~/Projects/diamondpredictions
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 integrations exist and note their current state:
After ANY edit, verify ALL of these still work.
| User says | Workflow | |-----------|---------| | "update" / "deploy" / "push changes" | Baseline → edit → verify → bump version → commit → push → deploy → verify live | | "fix [bug]" / "something's broken" | Read anti-patterns → baseline → isolate → fix → verify → deploy | | "add [feature]" | Plan → implement (SURGICAL SCOPE) → verify integrations → deploy | | "audit" / "check everything" | Full page-by-page audit with specific values |
cd ~/Projects/diamondpredictionsgit add -A && git commit -m "v[X.Y.Z]: [description]"git push origin mainnpx wrangler pages deploy webapp/ --project-name=diamond-predict)When updating the algorithm (NHL or MLB):
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., "### [DIAMOND] Button 422 error")
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.
DIAMOND PREDICTIONS UPDATE COMPLETE
====================================
DONE: [what changed]
GitHub: Synced and pushed (commit [SHA])
Version: Updated from v[old] → v[new]
Deployed: Live at https://diamondpredictions.com
Integrations: All buttons verified ✓
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.