From 1c30d3fe567e91b7613bd62ffbd9c2cbc361fc01 Mon Sep 17 00:00:00 2001 From: Cal Corum Date: Sat, 14 Feb 2026 08:31:08 -0600 Subject: [PATCH] Optimize CLAUDE.md from 408 to 54 lines Remove full code style guide with examples, architecture code blocks, game engine patterns, and testing examples. Keep commands, critical rules, and architecture summary. Co-Authored-By: Claude Opus 4.6 --- CLAUDE.md | 424 +++++------------------------------------------------- 1 file changed, 35 insertions(+), 389 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index a033cdd..c823a81 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1,407 +1,53 @@ # Mantimon TCG -Guidelines for agentic coding agents working on this codebase. +Pokemon TCG-inspired web app with single-player RPG campaign mode. Home-rule-modified rules. -## Project-Specific Skills +## Project Skills -Local skills are available in `.claude/skills/`. Load them when the user invokes the corresponding command: +| Command | Description | +|---------|-------------| +| `/backend-phase` | Manage phased backend development | +| `/frontend-phase` | Manage phased frontend development | +| `/code-audit` | Audit backend Python code | +| `/frontend-code-audit` | Audit frontend Vue/TypeScript/Phaser code | +| `/dev-server` | Start/stop/status the dev environment | -| Command | Skill File | Description | -|---------|------------|-------------| -| `/backend-phase` | `.claude/skills/backend-phase/SKILL.md` | Manage phased backend development workflow. Track tasks, mark progress, generate phase plans. | -| `/frontend-phase` | `.claude/skills/frontend-phase/SKILL.md` | Manage phased frontend development workflow. Track tasks, mark progress, generate phase plans. | -| `/code-audit` | `.claude/skills/code-audit/SKILL.md` | Audit backend Python code for errors, security issues, and architecture violations. Uses patterns in `patterns/` subdirectory. | -| `/frontend-code-audit` | `.claude/skills/frontend-code-audit/SKILL.md` | Audit frontend Vue/TypeScript/Phaser code for errors, security issues, and architecture violations. | -| `/dev-server` | `.claude/skills/dev-server/SKILL.md` | Start/stop/status the complete dev environment (Docker infra + backend + frontend). | +Skills in `.claude/skills/` — read the SKILL.md before executing. -When a user invokes one of these commands, **read the corresponding SKILL.md file first** to understand the full instructions before executing. +## Commands -## Project Overview - -Mantimon TCG is a home-rule-modified Pokemon Trading Card Game web application inspired by the Gameboy Color game *Pokemon TCG*. The core experience is a **single-player RPG campaign**: - -- **Campaign Mode**: Challenge NPCs at themed clubs, defeat Club Leaders to earn medals, collect all medals to face Grand Masters and become Champion -- **Collection Building**: Win matches to earn booster packs, build your card collection -- **Deck Building**: Construct decks from your collection to take on tougher opponents -- **Multiplayer (Optional)**: PvP matches for competitive play - -## Tech Stack - -### Frontend -| Technology | Purpose | -|------------|---------| -| Vue 3 | UI framework (Composition API + `