Back to work

Dressing for the run, not just the forecast

Layer

One sentence and one outfit, for runners tired of translating the forecast themselves.

WebsiteWeb appApp Store

The Layer app running on an iPhone, walking through a run and the layers it recommends for it

Role
Product Design, Design Systems, iOS and Web Engineering
Timeframe
2026
Focus
  • Health & Fitness
  • B2C
  • iOS

Overview

Layer is my own iPhone app. Check it the night before or the morning of, and it tells you what to wear in one sentence and one outfit, from clothes you own.

The problem. A weather app tells you what it is outside. You still have to turn 38°F and 18 mph gusts into a jacket, standing at the door in the cold.

The outcome. Layer went live on the App Store on August 31, 2026, and 45 runners have installed it. I designed and built the engine, the apps, and the App Store listing myself.

The Challenge

From January to April 2026, every run started the same way. I checked the weather app, looked out the window, and tried to remember what I wore the last time it felt like this.

I ran so often that I couldn’t keep track, and the weather swung so much that I was in a constant state of dressing for the wrong run: underdressed and cold one day, overdressed and too warm the next.

I tried the apps that already exist. The what-to-wear category is small, and most of it is free. The paid apps answer a neighbouring question and never mention clothes.

Running Weather
Free on iOS. A layering recommendation and little else.
WeatherToRun
Free on iOS. An hourly running score with hourly gear.
RunWeather
$39.99 a year to say when to run.
Sweather
€9.99 for a weather score across 47 sports.

None of them asks how the last run actually felt.

I didn’t run a discovery study. I treated my own mornings as the hypothesis and tested it by shipping.

I opened Codex to see what was possible. For months, Layer was only a web app, and I used it to make sure the recommendations were right before I built the iPhone app.

The Sentence Comes First

Open Layer, and the first thing you read is your run, not the weather: “Clear and crisp at an easy pace for 40 minutes, starting right now in New York.”

Want a shorter, harder run instead? Tap “easy,” and the sheet that slides up sets the effort, length and start time. The sentence and the outfit under it change together.

The sentence first, the weather second

Today · Tue, Nov 10

Briefing

Clear and cool at an easy pace for 45m, starting at 6:30 AM in New York.

59°F61°6mph0%244°

Recommendation

Cool and steady throughout.

Lightweight short sleeve tech tee
Running shorts
Lightweight synthetic socks
Hold to lock in
My spec put the weather row under the outfit. The build put it second.

A dashboard is good at holding a lot of information in one place, which is the wrong thing to be good at here.

I put the briefing sentence at the top, with the pace and duration editable inside it, and the outfit right under it. The rest of the weather fits in five small chips, and none of them opens.

My spec put the weather row last, under the outfit. The build put it second, and after two months of looking at both, I kept the build.

One Outfit From Your Own Kit

The outfit is made of clothes you actually own: your thermal, your Tracksmith tights, your Gore gloves. You photograph them once.

When you’re dressed, hold the button, and that’s the outfit you’re running in.

Your Kit is the only setup

The outfit comes out of your Kit, the gear you’ve photographed once. Apple’s Vision framework cuts the background out of each photo. You never have to set it up.

With nothing in it, Layer recommends from its full catalog, and the first piece you add turns the filtering on. There’s no switch for it, because a setting whose answer is always yes is a chore, not a choice.

A gear profile says what kind of runner you are. Your Kit knows what’s hanging by your door, and only the Kit can change a recommendation.

Dress for the Middle of the Run

You start a 90 minute long run at 40°F. By the last mile, it’s 58°F.

Dressed for the door, you’d be in a thermal and overheating by mile three. Layer picks the top for the whole run, and keeps the gloves and beanie for the start, because they fit in a pocket.

Today · Sun, Oct 18

Briefing

Clear and crisp at an easy pace for 90m, starting at 6:30 AM in New York.

40°F58°5mph0%133°

Recommendation

Gradual warm-up later in your run.Much warmer by the finish.

Big temp swing. Bring a removable layer.

Midweight thermal long sleeveLightweight long sleeve tech tee
Ultralight wind shell
Half tights
Hold to lock in
40°50°60°Start30 min60 min90 min
The top was picked for 40°F, the minute you walk out the door.The top is picked from the whole run, weighted by time. Gloves and the ear cover still follow the start.
Only the top changes, from a midweight thermal to a lightweight long sleeve.

One set of temperature edges

Today · Tue, Jan 12

Briefing

Clear and freezing at an easy pace for 45m, starting at 6:30 AM in New York.

30°F31°6mph0%118°

Recommendation

Cool and steady throughout.Cold and steady throughout.

Hold to lock in
The same 30°F morning. The line under the briefing now uses the briefing's own word.

In October, I ran the engine through 20 autumn mornings I’d named in advance: frost at dawn, a long run that starts at 40°F and finishes at 58°F, a cold front that arrives halfway.

The clothes mostly held. The top didn’t. It was picked for the minute you walk out the door, so a runner who would be warm by mile three still got dressed for mile zero. Now, the top comes from the whole run, weighted by how long you spend in each part of it.

The review found a second problem in the words around the clothes. “Cool and steady throughout” could sit under a briefing that said “Clear and freezing.” A tip could say “Keep the shell on” above an outfit with no shell.

So the briefing, the tips and the widget now read one set of temperature edges (32, 45 and 55°F), and a tip may only name a garment the outfit contains.

No Rain Jacket Above 70°F

It’s 88°F and raining in Brooklyn at 6 pm. Layer used to hand you a rain shell and tell you to zip up.

Nobody runs in a shell in that heat. Now you get a brim cap to keep the rain out of your eyes, and you run wet. The shell becomes a cap instead of disappearing, because an empty row reads as a bug.

Today · Sat, Aug 8

Briefing

Overcast and hot at an easy pace for 45m, starting at 3:00 PM in Brooklyn.

88°F90°4mph85%374°

Recommendation

Wet weather. A shell keeps things consistent.Warm rain. You'll run wet, and a brim keeps it out of your eyes.

Zip up for the wet stretches, vent when it eases.

Lightweight singlet / tank
Light rain shellRunning shorts
Running shortsBrim cap
Hold to lock in
The 88°F rain afternoon from the bug report, before and after the fix.

Why the first fix never ran

A screenshot from an 88°F afternoon in Brooklyn showed Layer recommending a light rain shell, with a tip to “zip up for the wet stretches.”

I had already shipped a fix for exactly this. It cut the shell at 90°F, which no runner would defend out loud, and a second rule rewrote every shell to a light one before the cut could run. The result was a shell on every wet run from about 50°F to 90°F.

I moved the cut to 70°F and the step down to a lighter shell to 60°F. They have to stay apart. At the same temperature, the cut always wins first, and the step down becomes code that never runs, which is how the first fix failed.

Against the old rules, the change moved 13.5% of the runs in my backtest set, and none below 70°F. Cold rain came out byte for byte the same.

One Question After the Run

You get home, and Layer asks one thing: how did that feel? Too cold, a bit cold, just right, a bit warm or too warm.

Say “too cold” after two easy runs at 59°F, and the next one starts you in a long sleeve.

Five answers, not three

Recommendation

Cool and steady throughout.

Lightweight short sleeve tech teeLightweight long sleeve tech tee
Running shorts
Lightweight synthetic socks
Feedback saved

Before any rating: the top is decided at 57.0°F. Long sleeve starts below 56°F.

Two honest Too cold runs flip the shirt. A streak of A bit cold never does.

My first model threw out any run where you’d swapped something, since a rating on different clothes grades the swap. Then I looked at who that excluded. It was the runners who think hardest about their gear.

So I reversed it. The rating now grades what you wore, and Layer compares thermal tier instead of the specific garment.

A review of the model suggested cutting the rating to three answers, since fewer choices get answered more often. I kept five. “A bit cold” moves your baseline one degree, and “too cold” moves it three.

Take an easy run at 59°F. Layer puts you in a short sleeve, one degree above the line where it switches to long. Two honest “too cold” runs carry you across that line. A long streak of “a bit cold” settles you exactly on it and never flips the shirt, because mildly cold shouldn’t buy you a new layer.

The first run only counts for a third, so one strange morning can’t move the pick on its own.

Five answers cost me some ratings. In the engine, each answer is a shift to your baseline: one degree for “a bit cold” and three for “too cold”. Three answers would fold both into one shift, so Layer would learn less from every rating it did get. If too few runners rate their runs, I’ll change the scale with data instead of guessing now.

One flow, from prototype to App Store

March: ask about the outfit before the run

AI

Codex built the PWA and its layering engine, the prototype I tested this flow on.

Me

Ask whether you wore the outfit before asking how it felt, in three taps at most. A rating on the wrong clothes teaches the model the wrong thing.

August: an AI review wanted three answers

AI

A Codex adversarial review and a second Claude reviewer argued that fewer options get answered more often.

Me

I kept five. "Too cold" moves your baseline three degrees, and "a bit cold" moves it one. Three answers would teach the runners who are furthest off about three times slower.

Same day: a swap still counts

AI

The review ended on three questions it said only I could settle. This was the first.

Me

The rating grades what you wore. Dropping swapped runs would drop the runners who personalize most, so Layer compares the layer's warmth, not the garment.

August 7 to 31: Claude Code builds it, I ship it

AI

Claude Code wrote the write path for the five-point read and its tests, working from the decision log.

Me

I kept one guardrail from the review. The read is a new optional field, so older builds still open the data. Then the app spent three weeks in App Store review.

The post-run rating is the flow I’d walk you through. I prototyped Layer as a web app in Codex, and in June, I pointed Claude Code at it to start the iOS app.

At every step, an agent did real work, and at every step there was something it couldn’t decide for me.

When the Forecast Moves Overnight

At 10 pm, you lock in a long sleeve for a 6:30 run. Overnight, it drops to 31°F and the wind picks up.

In the morning, the card says “Colder and windier than planned” and shows the swap in place: a midweight thermal, plus gloves. Update it, or keep yours.

Outfit

Lightweight long sleeve tech teeLightweight long sleeve tech teeMidweight thermal long sleeveTop
Light tightsBottom
Lightweight synthetic socksSocks
Outfit updated

The plan is locked in.

The first version blamed the weather for your own edit. Now it asks only when its own pick moved.

Why it asks only when its own pick moved

The first version asked when it shouldn’t. It compared your plan with a fresh pick, so a swap you made yourself looked like the weather changing.

The card said “Conditions moved for this run” when they hadn’t. Two of the four test runs where I’d edited the outfit would have set it off. Worse, Update threw away edits it never mentioned, like a different pair of socks.

Now, Layer asks only when its own pick moved. The cause line compares the conditions saved when you locked in with the new forecast, and it names a direction, never a number.

You review the change on the card itself. The replaced item sits struck through above the new one, every other row stays put, and you pick Update 2 Items or Keep Mine. Undo puts back exactly what you had.

This card is the one place Layer changes something you chose. I’d reuse its pattern for any automated system that does that: propose the change, say why in a few words, and wait for a yes.

One Engine, Four Surfaces

Glance at the widget on your lock screen, and it says what the app says. So does the web app, with no account.

All of them read one engine. If the widget said light shell and the app said insulated jacket, you wouldn’t think sync bug. You’d stop trusting both.

One module, no Swift port

One run, 45 min easy, 85% rain, at65°F88°F

Brooklyn45 minEasy
65°F88°FRain

Wind Light, 4 mph · Precip Heavy

Wet weather. A shell keeps things consistent.Warm rain. You'll run wet, and a brim keeps it out of your eyes.

  • Lightweight short sleeve tech tee
  • Light rain shell
  • Running shorts
  • Lightweight synthetic socks
  • Lightweight singlet / tank
  • Running shorts
  • Lightweight synthetic socks
  • Brim cap
Landing page
Today · Sat, Aug 8

Briefing

Overcast and mild at an easy pace for 45m, starting at 3:00 PM in Brooklyn.Overcast and hot at an easy pace for 45m, starting at 3:00 PM in Brooklyn.

65°F88°F66°90°4mph85%1362°74°

Recommendation

Wet weather. A shell keeps things consistent.Warm rain. You'll run wet, and a brim keeps it out of your eyes.

Zip up for the wet stretches, vent when it eases.

Lightweight short sleeve tech teeLightweight singlet / tank
Light rain shellRunning shorts
Running shortsBrim cap
Hold to lock in
iOS app
Brooklyn, New York

Recommendation

Wet weather. A shell keeps things consistent.Warm rain. You'll run wet, and a brim keeps it out of your eyes.

Zip up for the wet stretches, vent when it eases.

Web app

Wet weather. A shell keeps things consistent.Warm rain. You'll run wet, and a brim keeps it out of your eyes.

65°88°
Lightweight short sleeve tech teeLight rain shellRunning shorts+1Lightweight singlet / tankRunning shortsLightweight synthetic socks+1

Updated 12m ago · BrooklynUpdated 1m ago · Brooklyn

Widget
At 88°F the shell and its tip leave every surface at once.

I compute the recommendation once, in one TypeScript module.

iOS runs that same file through JavaScriptCore. I’d planned a Swift port, then dropped it, because two engines meant writing and tuning every change twice. That’s why the rain fix needed no Swift at all.

Fixture tests fail the build if the two ever disagree about an afternoon. The widget calculates nothing. It reads a snapshot the phone wrote and tells you how old it is.

The web app gives a stranger the same answer the phone would, with no account. Nobody signs up just to find out whether the answer is any good.

Smaller calls that keep it quiet

Tap, not a slider

Effort and duration reach the engine as buckets, so a slider would promise a precision Layer then ignores. A tap moves the outfit once, and it settles once.

No "Move to best window"

Layer tells you how long the outfit holds for the time you chose. It never picks a different time for you.

The same words when access is off

Apple Health returns the same empty answer for a denied read and for a watch that hasn't synced. Guessing wrong would accuse a runner who did nothing wrong.

Most of Layer’s calm came from small decisions, and I wrote each one down before I built it.

Learning

It shows up as a sentence, not a chart. A sentence like “Slightly cooler than your last similar run” proves it to the runner, because Layer can’t write it without their history. It appears at most once a day and twice a week, because a line that shows every day turns into wallpaper.

Color

Two colors have one job each. Gold means the data is a little old but still usable. Coral means the run didn’t happen.

Motion

Every animation on iOS and the web uses one easing curve.

The Takeaways

Docs become code
I build with AI agents, so my documents are the brief an agent reads first. I wrote the rule about swapped clothes before Layer could record what a runner planned to wear, and months later the doc still said to throw those runs away. So I fix the doc instead of remembering the exception.
What I cut
A cycling engine, built and tested, then left unwired until someone who rides reviews it. Laundry tracking, a real problem but not mine.
Still unproven
45 runners can't tell me if Layer dresses you better by week three. That's the first thing I'll measure as more runners join.

I trained for the NYC Marathon with Layer and ran the race on November 1. It’s still where I try new AI workflows, on a product I’m building myself.

Next case studies

Evolving fan experienceLIV GolfLive scores for golf fans

Building an enterprise tool for retail dataCircanaInternal app behind Fortune 500 analytics

Governing the AI skills a team runsAtlasSkill governance for teams