# CLAUDE.md This file provides guidance to Claude Code when working with code in this repository. ## 🚨 MANDATORY FOR AI AGENTS - AI-CHATS PROTOCOL v3.2 Adhere to the `./.ai-chats/README.md` protocol with every chat and every exchange! ### 📁 Session Structure ```text .ai-chats/ ├── INDEX.md ← MASTER INDEX (MANDATORY!) ├── README.md ← Full protocol documentation └── YYYY-MM-DD-NN-description/ ← Session folder ├── [Model-Version]--00.md ← Summary, tech, lessons ├── [Model-Version]--01.md ← Exchange 1 (VERBATIM) └── [Model-Version]--NN.md ← Continue 01-99 ``` ### 🔴 Critical Filename Rules | Rule | ❌ Wrong | ✅ Correct | |-------------------------|-------------------------|------------------------| | No spaces | `Opus 4.5--00.md` | `Opus-4.5--00.md` | | Double dash before seq | `Opus-4.5-00.md` | `Opus-4.5--00.md` | | Include version | `Opus--00.md` | `Opus-4.5--00.md` | ### 📋 Session Start Checklist 1. Check `.ai-chats/` exists → Create if missing 2. Check `INDEX.md` exists → Create from template if missing 3. Check for today's folders (`YYYY-MM-DD-*`) 4. Create/use session folder: `YYYY-MM-DD-NN-description/` 5. Create `[Model-Version]--00.md` (summary) + `--01.md` (first exchange) ### 📋 Session End Checklist 1. Update `--00.md` with final summary and exchange index 2. **UPDATE INDEX.md** with session info, file count, status 3. Commit to git ### ⚠️ Critical Rules - **--00 files**: Summary, tech details, lessons learned, next steps - **--01+ files**: COMPLETE VERBATIM exchanges - **NO SUMMARIZATION!** - **INDEX.md**: Must be updated after EVERY session - **Model names**: `Opus-4.5`, `Sonnet-4.5`, `Haiku-3.5` (Claude Code) --- ## 📖 Project Overview **Artfight HTML** is a public repository by **lavender-daydream** (Lav) containing: - **Reusable HTML templates** for Artfight character/profile pages - **Lavender's own Artfight character HTML pages** — for personal reference and public inspiration This repo is intended to help the Artfight community use and customize HTML on their profiles and character pages. **Owner:** lavender-daydream > **Note for Claude:** The owner's public name is **lavender-daydream** (also referred to as **Lavender** or **Lav**). Their real name is in `CLAUDE.private.md` — never use it in any file, comment, or output in this repository. This is a public repo under their community identity. --- ## 🏗️ Repository Structure ```text artfight-html/ ├── templates/ # Reusable HTML templates (copy-friendly) │ └── character-template-1.html ├── characters/ # Lav's own Artfight character pages │ └── [character-name].html ├── archive/ # Archived AI session logs from early setup └── CLAUDE.md ``` ### Adding a New Template 1. Create file in `templates/` with a descriptive name: `templates/[purpose]-[variant].html` 2. Include a header comment block at the top (see HTML Conventions below) 3. Keep templates self-contained — inline all styles, avoid external dependencies ### Adding a Character Page 1. Create file in `characters/` named after the character: `characters/[character-name].html` 2. Include a header comment block at the top (see HTML Conventions below) --- ## 📝 HTML Conventions - **Self-contained files**: All CSS should be `