LLM structured output: a flag tournament playbook from paper in nine days using /mow

in AI-Assisted Development

Karabuk Fatriots Men's Flag Football team strategy and tactics preparation from founding to Kocaeli Sharks Flag Tournament in 9 days of Claude Code sessions: 42 chats and 12 /mow go runs.

  1. What did the team need?
  2. What did it run on?
  3. How does a paper play get into the app?
  4. What happened when a call would not draw?
  5. How did the plays get to print?
  6. Strong and weak points
  7. Summary

What did the team need?

A playbook on paper had to become a call sheet for the coach and a wrist card for each player before the tournament. Karabuk Fatriots had the plays drawn by hand and nine days.

My coaching app already turned a typed play call into a field diagram: a language model reads the call, and fixed code draws it. It had a flag field and three starter formations, and had never carried a real team's playbook. So the team's playbook became the test, and every play the app could not draw became the next thing to build.

The running example is play 3: a direct snap to Y, a toss back to the quarterback, and Y running a wheel. On 6 November the app could draw none of it.

hand-drawn playpaper, read by eye1 typed call"snap to Y, …"2 LLM drawercall to play data3 play enginefixed code draws4 playbook pageorder, rename, flip5 print exportscall sheet, wrist card6 no OCR: a person reads the sheet
Figure 1. From a paper play to a printed wrist card.

The model (3) only translates. The play engine (4) does all the drawing, so every play comes from the same code.

What did it run on?

Tool Used for
Python 3.14, FastAPI 0.138.1 the API
Pydantic AI 2.55.0, Pydantic 2.13.4 the LLM drawer: a call in, typed play data out
SQLAlchemy 2.0.51, Alembic 1.18.5, Postgres teams, formations, saved plays
Next.js 15, React 19 the draw page and the playbook page
ReportLab 5.0.0, svglib 2.3.1 play SVGs into print PDFs
Claude Code with /mow coding agents that built each missing piece

How does a paper play get into the app?

A person reads the paper play and types it as one line, the way a coach calls it. There is no OCR, so the model never guesses at handwriting. Play 3 was:

Spread Left z-close, snap to y, tossback to qb, y-wheel, x-slant, c-drag, z-corner

The model turns that line into structured data: a formation, tags that move players (z-close), who takes the snap, and one route per player. The play engine places the players, runs each route from where the player stands, and draws an SVG. The same call always gives the same drawing. A call it can't read comes back as a note, never a wrong picture.

That is why copying was fast. Routes, tags and motions are words the engine knows, so a new play is a new sentence, with no new code. Of the 48 saved versions in the playbook, 32 came from typed calls and 16 from the Flip button.

What happened when a call would not draw?

It became a board task, and coding agents built it. Play 3 needed three things the app lacked: a snap to someone other than the quarterback, a toss back, and marks for the first and second targets.

Coach Agents paper play type the callLLM drawer, engine ✕ drawn right? save, order, flipplaybook page export PDFscall sheet, wrist card printed playbook file the gapa board task plan and buildagent lanes, tests ship to mainreview gates passed yes no type the same call again 1 2 3 4 5 6 7
  1. Type the call read off the paper play.
  2. Check the drawing.
  3. If it's right, save it, put it in order and flip it on the playbook page.
  4. Export the playbook to PDF.
  5. If it's wrong, file the gap as a board task.
  6. Agents plan and build it in lanes, with tests.
  7. It ships to main and the same call is typed again.
Figure 2. The loop each paper play went through.

Small gaps were one commit. Bigger ones were a /mow run: agent lanes with review gates, as in a real /mow go run. The snap to anyone took 2 lanes and 4 fix rounds, and its rule was that the snap taker never runs a route. The toss back, built on 13 November, changed that: Y snaps, tosses back to the quarterback, then runs. Its last fix landed at 18:02, and play 3 was saved two minutes later.

Date What a play needed
6 Nov all saved plays in one PDF
9 Nov a route on one player, the center too; tags like "Y close"; a double move
10 Nov snap to any player; Spread Close formations; a playbook page; Flip
11 Nov first and second target colours; zip, zap, min and max motions
12 Nov throwback to the quarterback
13 Nov toss back; type a play's number to move it
14 Nov wrist cards

Over the nine days the repo took 262 commits from 42 chats, and 12 /mow go runs landed; 9 of those runs were flag and playbook features. A real playbook finds gaps no plan lists. Nobody would have written "toss back, then the snapper runs a wheel" into a spec.

How did the plays get to print?

Through the playbook page. It numbers the saved plays; you rename, delete, or double-click a number and type a new one to move the play. The print order is the page order. Flip mirrors a play left to right and saves the copy, with routes following each player. Play 3 was renamed "DBLS LT direct snap Y tossback QB y-wheel", since prints shorten Spread, Left and Right to DBLS, LT and RT.

The call sheet prints four plays per row, 8 or 12 per page. The first target is red, the second blue.

The top row of a call sheet page: four flag plays on a white field, each with a dark number box and a grey name strip. Play 3, DBLS LT direct snap Y tossback QB y-wheel, shows a dotted snap from C to Y, a dotted toss back to the QB, a red first-target wheel route and a blue second-target route.
Figure 3. The top row of a call sheet, eight plays per page.

Play 3 is the third cell: the dotted line from C to Y is the snap, the one from Y to the quarterback is the toss back, and Y's red route is the wheel.

The wrist card is harder. We had no measurements, so we guessed a 150 × 70 mm window and fit 30 plays on 3 pages of 12, 9 and 9. Depth is squeezed on a log curve, one scale for every page, so a full field fits. The first try clipped outside routes at the sideline; I caught it by eye, not by a test. The real window is 100 × 70 mm, where only a 3 × 3 or 3 × 4 grid fits, so the cards need a new layout.

Strong and weak points

Strong:

  • The model only translates, and fixed code draws. 47 plays look like one playbook, and a print fix reaches all of them.
  • A real playbook is a better backlog than a plan. Each feature came with the play that needed it, as its first test.
  • Typing calls from paper needed no OCR.

Weak:

  • The wrist cards were printed at a guessed size and must be redone at 100 × 70 mm.
  • The print layouts are scripts outside the app; a coach can't print without me.
  • Nothing checks a play against the tournament's flag rules.
  • On 10 November another agent chat deleted the team during its test cleanup. The rows came back from disk (Agent guardrails).
  • The toss back shipped without its live drawer evals; I checked it with one call.
  • I can't say yet how the cards held up on the field.

Summary

  • Keep the model on translation: a call in, typed play data out, fixed code draws.
  • A real playbook, typed one call at a time, found gaps no plan listed.
  • A flexible play model makes copying paper plays a typing job, with no OCR.
  • Flip and the playbook page did a third of the work: 16 of 48 saved versions are flips.
  • Measure the print target first, and check print output by eye.
  1. Redo the wrist cards at 100 × 70 mm, 3 × 3 or 3 × 4 per page, inside the app's own export.
  2. Check each play against the flag rules the team plays under.
  3. Brainstorm importing a photo of a hand-drawn play, with typed calls as the baseline.