This post was written as part of the Kiroween 2026 hackathon. Marrow is my Skeleton Crew entry.
I gave a skeleton a JSON file and a job as a workout coach. Then I gave it a second job. The skeleton handled both. The timer had other plans. 💀
Marrow is an on-device pose-coaching engine. A movement definition describes what to measure, which phases to look for, and when to give a cue. The engine tracks the pose and evaluates those rules in the browser. The camera video stays on the device.
| App | What the skeleton does |
|---|---|
| Rattle Reps | Counts reps at home and calls out form faults. |
| Steady | Guides range-of-motion and single-leg balance check-ins and generates a printable progress report. |
One engine, two gigs
A squat definition can tell Marrow that standing looks like a knee angle of 150°–180°, and the bottom of the movement looks like 40°–115°. A separate depth rule gives the cue “Sink a little deeper” when the squat is too shallow. To make that rule more forgiving, I can raise its maximum from 100° to 110° in the movement JSON.
The rep counter and phase logic stay the same. Steady uses the same engine with its own movement definitions and UI. I added a Kiro hook to keep app names out of the core so that boundary would survive the next PR.
Kiro helped catch a bug before there was code
My loop with Kiro Web was one GitHub issue, one slice of the spec, one PR. Kiro Web opened 11 PRs across the specs, engine, and apps. When a review turned up something to fix, I could reply with /kiro fix in the PR.
The first spec review found my favorite bug. Property P14 picked the midpoint of a phase as a test input. That midpoint could still be inside the previous phase’s hysteresis band, where the engine deliberately holds its current phase to avoid flickering. A correct engine could fail the proposed property. I fixed the spec before writing the engine.
Four green checks and a very convincing alibi
Marrow ended up with 84 numbered properties, 121 fast-check checks, and 888 tests. A timer bug in Steady still slipped past four passing properties. Their generator hard-coded durationMs: 0, so they agreed with the implementation on the very assumption I needed to challenge.
The skeleton had an alibi. The tests backed it up.
For the final 10 review findings, I switched to Kiro CLI and wrote a failing test before each fix. One of those became P26. A chair stand sampled at 15 FPS can skip right over a narrow phase band between frames. Giving that sequence its own property made the failure repeatable.
I also packaged an MCP server as a Kiro Power so Kiro could validate movement definitions and replay them against the real engine. That made “try this movement” an actual check against the code I was shipping.
I’d do two things earlier next time. Get someone to review the properties while they’re still in the spec, and deliberately change an assumption in the implementation to see whether the property suite catches it. I’d start with a timer that has to run for longer than zero.
Try Rattle Reps · Try Steady · Read the source (MIT)
Steady is not a medical device and does not provide medical advice.
This article was adapted from the Marrow project notes with AI writing assistance.
