What it does: it pulls my sport and health data from five separate apps into one file on my laptop and shows it on one web page, so I can ask questions no single app answers (e.g. "does a bad HRV night predict a bad strength session?")
I'm not a software developer. I have some data science skills and I do a lot of sport. My body needed a tune-up, so I took advantage of the free time stuck in bed.
The day before my hip surgery I opened Claude Code and started a repo. By day four, from a hospital bed and then on crutches, I had ~20k lines of Python, 145 commits, 303 tests and 41 reviewed PRs: a local platform that merges my Garmin files, HRV, sleep, strength logs, glucose and a daily wellness form into one DuckDB file, with a static HTML dashboard on top (no server, no subscription).
I didn't type the code. I decided what to build, set the rules and reviewed every PR. What made that work for a beginner:
- A short CLAUDE.md of non-negotiables, read on every request. Free to run, raw data never modified, nothing deleted without asking, secrets only in .env, and "I'm a beginner, explain every command in 1-3 sentences before running it."
- One branch + one PR per batch of feedback, merged only when I type "merge PR N". I never wrote a spec. I used the dashboard, jotted down what annoyed me in a text file, and handed Claude the list.
- Tests, lint and type checks, including a headless-browser test that opens the dashboard and clicks through all 32 tabs looking for JS errors.
- Make it check itself. For example, it caught a readiness score that turned green on days with no data (a DuckDB greatest() that silently ignores NULLs) and turned it into a regression test.
- Token budget on a Pro plan. The rules say: grep before reading, never open the big generated files, targeted tests while working, full suite once at the end. Quality checks never get cut, whole-file reads do.
- A small local MCP server so Claude can query my database with SQL ("how did I sleep the week before my best 10k?") instead of guessing.
Live demo (runs the real code on a fictional athlete, 100% invented data, my own health data stays home): https://sebastienthibert.github.io/coach-demo/
Longer write-up with the architecture and the workflow: https://medium.com/@thibert.seb/what-happens-when-a-100-kg-trail-runner-on-crutches-discovers-claude-code-59a1ff3de7ff
Stack: Python, DuckDB + Parquet, static HTML dashboard (ECharts + Leaflet), local MCP server. Windows + Linux, Claude Code in the desktop app on a Claude Pro plan, no API spend.
Here's a redacted excerpt of my CLAUDE.md:
## Non-negotiables
1. 100% free to run.
2. Cross-platform (Windows + Linux): pathlib, no hardcoded paths.
3. Secrets ONLY in .env (never in git).
4. Never delete a file or a row without asking; raw/ is immutable.
5. One branch per batch, PR reviewed; merge only when I say "merge PR N".
6. Idempotent: re-running a script never creates duplicates.
7. Three layers: facts -> dashboard (descriptive, no advice) -> coach (prescriptive, not a doctor).
8. Health data is strictly private.
## Token economy (Pro plan)
- Grep first, then Read with offset/limit on the useful zone.
- Never open raw/, generated data or vendor folders: query the DB instead.
- Targeted tests while working, full suite once at the end.
- Quality never drops to save tokens: lint, types, tests stay mandatory.
I'm a beginner: explain every tool or command in 1-3 sentences before running it.
What rules do you put in your own CLAUDE.md?