agentleFS
gandolhgandolh/my-personal-skills/skills/design-pipeline/SKILL.md

design-pipeline

Skill0 starsChanged 14 days agoMITView on GitHub

Runs one app's redesign as a small design competition with the four design-team agents, in a fixed order with fixed hand-offs: two directions from design-director, two sketches, blind pair judging with today's screen as a contestant, the winner built in full with hallmark, a design-critic review against today, and the controller's ruling at each step. Includes the pair maker, the calibration case, the judging rules and the cost the pilot measured (about 1M tokens an app).

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    One content fixture: Every sketch draws the fixture word for word, with the same rows and counts as today's shot, so the judges compare …

    line 68

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

The design pipeline

A redesign made by one agent in one pass tends to look generated, and the gates a script can run (contrast, overflow, lint) can't tell a good design from a flat one. The owner sent back the estate redesign board's first proposal because it was one flat sheet with good type, while today's screen, with its islands, "looked better". He asked for designs to be judged and picked "as a designer would".

So the pipeline makes the design compete. A director writes two directions, sketchers draw them, and two judges compare every pair blind, today's screen included. Only the winner is built in full, then a critic reviews it against today. The controller (the session that runs this skill) owns every hand-off and every ruling. It was piloted on the-board (the brief-board app, three directions) and atrium (two directions) on 2026-11-12. Both came through with the judges unanimous and today losing every pair.

The agents

AgentModelWritesReads
design-directoropusone directions filethe app (read only), today's shots, the registry
design-sketchersonnetone sketch folder per directionthe directions file, today's shots
design-judgeopus, read onlyone JSON line per pair, returnedonly its folder of pairs
design-criticopusone findings filethe build's renders, today's shots, the judge result

Dispatch each by its agent type, as the plugin registers it (personal-skills:design-director, personal-skills:design-sketcher, personal-skills:design-judge, personal-skills:design-critic), with the model in the table. Never paste a definition into a general-purpose agent: that run loses the definition's tool list (the judge has Read and Glob only) and starts from a larger context. If the session's agent list lacks the four, tell the user before you fall back.

The full build is not one of these. It is a sonnet builder with the hallmark skill and the project's own rules for redesign proposals, started from the winning sketch.

The order and the hand-offs

#StepWhoHands on
1Directionsdesign-directordirections/<app>.md: today's strengths, the main screen, the content fixture, A and B, registry lines, questions for the owner
2Sketches, one per direction2 × design-sketchersketches/<app>/<L>/: sketch.html, light-1280.png (1280×800), dark-390.png (390×844), the other renders, tokens.md
3Pairsthe controller, scripts/pairs.mjsjudge/<app>/{j1,j2}/pN-{A,B}.png and KEY.json
4Two judges2 × design-judge, j2 reversedone JSON line per pair each, saved by the controller as verdicts.md in the judge's folder
5Tally and rulingsthe controllerjudge/<app>/RESULT.md: the table, the wins, the winner, the runner-up, the rulings for the build
6The winner's full builda builder with hallmarkthe key screens at five widths in both themes, the twins, the manifest
7Critiquedesign-criticcritiques/<app>.md
8Rulings over the criticthe controllercritiques/<app>-controller.md
9Fix roundsthe same builder, resumedthe fixed screens; usually one or two rounds
10The controller's lookthe controllera last side-by-side against today at the judged viewports
11Publishthe controllerthe winner, with the runner-up's sketch beside it and a note on how it placed

What each step needs, what the controller checks before the next, and the dispatch lines are in references/hand-offs.md. The judging (the pair plan, the gates, the tally, a split) is in references/judging.md.

Rules the whole run keeps:

  • One content fixture. Every sketch draws the fixture word for word, with the same rows and counts as today's shot, so the judges compare design and not data.
  • Today is a contestant and the floor. The director lists today's strengths; every direction keeps them; the judges see today blind; the critic asks what today did better.
  • The judged inputs are fixed: desktop light at 1280×800 and phone dark at 390×844, viewport shots, each pair cropped to the shorter height. What is in the first screen is what gets judged.
  • Rulings flow down. The judge result's rulings override the directions file for the build. The controller's rulings over the critic override the critic. Neither may undo what won the judging.
  • Headless only, read only outside each agent's own folder. No agent changes the app's repo; the redesign brief is built after the owner approves.

Two directions, or three

Two by default (the owner, 2026-11-12, after the pilot): A "evolve today", and B the boldest structural answer to the screen's job that still keeps today's strengths. The judges then see three contestants (today, A, B): 3 pairs a viewport, 6 a judge, 12 verdicts.

Three only when the owner asks, for example when an app's structure is itself in question and A and B can't cover the answers. Three directions add a sketch (~100k tokens) and double the pairs: 6 a viewport, 12 a judge, 24 verdicts. On the-board the third direction (C) came second, and the winner was still the boldest structural one.

The calibration case

Shelfmark's Library: today's version, with a header card and the table on its own surface, must beat a proposal with stronger type that put everything on one flat sheet. The owner sent that proposal back. With structure (G1) a hard gate, both reversed judges agreed with him. Re-run the case when you change the judge's prompt. A judge that prefers the flat sheet is miscalibrated. The images (today's Library at 1280 and the flat proposal's two rounds) are not in this library; the estate keeps them with its redesign run's notes, in the run's calibration folder.

The cost

Measured on the pilot, in tokens:

Stepthe-board, 3 directionsatrium, 2 directions
Director165k178k
Sketches3 × ~100k~100k + ~93k
Judges2 × ~81k~71k each
Full build with two fix rounds~308k
Critic127k
Totalabout 1.06M

Atrium's build and critique were still running when this was written. The controller's estimate for an app with two directions is about 0.9M.

Slots. Each agent takes one of the session's parallel slots (the estate runs at most three). Judges are light: they read a dozen images and write a few lines, with no browser and no build, so both can run beside heavy work. Sketchers, the build and the critic run headless Chrome; give them the slots when the machine is quiet. Never skip the second judge to save a slot. The reversal is the check.

The pair maker

node scripts/pairs.mjs --today-desktop <today light 1280 png> --today-phone <today dark 390 png> \
  --sketches <sketches/<app>> --out <judge/<app>> [--letters AB]

It makes every unordered pair of today (T) and the directions, at 1280 light and then at 390 dark. Today's side alternates from pair to pair, j2 gets every pair reversed, and both images are cropped to the shorter height. It writes j1/, j2/ and KEY.json, which maps each A and B back to a contestant. With AB the plan is p1 T v A, p2 B v T, p3 A v B, and p4 to p6 the same at 390. It has no dependency: the crop works on the PNG's own rows. It refuses unequal widths (a render at the wrong scale), an interlaced PNG and a missing input. Its test is node --test scripts/pairs.test.mjs.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.