diegoscarabelli/garmin-health-data ? reverse-engineered prompt
Reverse engineered prompt
Build me a Python command line tool that lets me log into Garmin Connect, download my health and activity data, save the raw files locally, and load everything into a SQLite database for analysis.
I want one simple workflow for authentication and extraction, plus a few handy commands to inspect the database and manage storage. It should support multiple Garmin accounts, work on macOS, Linux, and Windows, and keep the downloaded files around as an offline backup. If it makes sense, add separate modes so I can just download files without processing them, or reprocess existing files without hitting Garmin again.
The app should handle the common Garmin data I care about, like sleep, heart rate, HRV, stress, body battery, respiration, VO2 max, training metrics, menstrual cycle, and activities. Please make it resilient so a failed day or file type does not break the whole run, and use a clean SQLite schema that is easy to query later. If you need to check current docs or APIs online, go ahead.
Are you gonna build this?
make sure you review the code using coderabbit