diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..0a0e286 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,46 @@ +# CLAUDE.md + +This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. + +## Overview + +This renders printable D&D 5e spell reference cards for a specific character ("Oswin Eisenbach", a Forest Gnome Artificer). `index.html` is the static page (Tailwind CSS, Flowbite, and Google Fonts from CDNs, no build step), but spell data lives in JSON files under `characters/`, loaded at runtime via `fetch()`. + +## Running / Previewing + +`index.html` fetches JSON files, which browsers block on `file://` URLs (CORS). You must serve the directory: + +``` +python3 -m http.server +``` + +then open `http://localhost:8000/`. Opening `index.html` directly will not load any spells. + +## Architecture + +### `index.html` + +1. **` + + + + +
+
+
+
 
+
 
+
+ +
+ + +
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + + + + + + + \ No newline at end of file