# CLAUDE.md This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. ## Project overview 愈心谷 (YuXinGu) — a digital mental health platform. The codebase is a collection of standalone, mobile-first HTML pages with no build step, no framework, and no JavaScript dependencies. ## Running the app ```bash python3 server.py [port] # default port 8001 ``` The server serves all static files from the project root and exposes two JSON API endpoints: - `GET /load` — returns mindmap data from `mindmap_data.json` - `POST /save` — persists mindmap data to `mindmap_data.json` (validates JSON before writing) ## File map | File | Purpose | |---|---| | `index.html` | Landing page linking to all sections | | `yuxingu.html` | Main app shell — hero, service cards, activity center, bottom nav | | `shuzi.html` | Digital psychology calculator — life-number triangle, bagua, liuren, zodiac, wuxing modules | | `mindmap.html` | Canvas-based mind-map editor with multi-map management | | `yangsheng.html` | AI Eastern wellness — bazi/wuxing constitution analysis, weekly/daily reports | | `manual.html` | Static "life manual" poster with pyramid triangle charts rendered via inline SVG | | `yuxingu_v1.html` | Earlier iteration of the main page | | `server.py` | Minimal HTTP server (Python stdlib, no dependencies) | ## Architecture notes - **Every HTML file is self-contained.** All CSS and JS are embedded in `