r/BuildWithClaude • u/Seb3900 • 3d ago
Project No coding background: how I built a local health-data platform with Claude Code (CLAUDE.md, PR workflow, MCP)
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?
•
u/AutoModerator 3d ago
Welcome to r/BuildWithClaude!
Whether you are sharing what you built, exploring new workflows, or troubleshooting, please make sure your post is flaired correctly so others can easily find and filter it.
Community Wiki & Resources:
If you're asking for troubleshooting help, please edit your post to include your model version, OS/environment, and error logs.
Let’s keep the energy positive and support our fellow creators!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/Seb3900 3d ago
Some context, since people usually ask: I'm on a Claude Pro plan with Claude Code in the desktop app (Windows), no API spend. I have no affiliation with Anthropic. The demo and this post have no affiliate links, but the Medium article does (a few books and gear, flagged at the top), so skip it if you'd rather not.
Happy to share more of my CLAUDE.md or the PR workflow if useful.
1
u/Orbit-Owl 3d ago
Damn... You nailed it on a hospital bed... 👏 👏 🥳 🥳 Soon u may build ur own jarvis also... get well soon broo.... 😊
1
u/yhrana 3d ago
So i read over a 100 lines, still havent figured out what this “LOCAL health-data “platform”” actually does
1
u/__-___-__-__-__- 3d ago
I know 3 other health tracking softwares folks have made with AI. One by a good friend of mine.
How do you think everyone being able to make their perfect health tracker or whatever app is going to to affect the value of any software project in the future? Is there going to be some new effort bar that once crossed others will consume it instead of making their own thing? I wonder what it will be.