# keen

One command for interface design work, written for people who direct the work and judge the result without reading code.

It reads what the person wants, chooses how far to go (refine, reinvent, experiment or restrain) and runs one of its 22 jobs, or several in order, such as create, critique, audit, distill or polish. create turns a product idea into an original direction and a built result. Typed alone it shows a short menu. Every job ends in plain English with proof the person can look at.

**When an agent uses it:** Use only when the user explicitly invokes /keen or $keen. Ordinary design talk must not activate it.

Group: [Design](https://www.atlasscope.dev/skills#design). Part of the agent-kit plugin, written for Agent Kit. License: MIT, © AtlasScope.

## Install

It comes with the plugin: https://www.atlasscope.dev/install. This skill by itself, for any agent that reads skill folders:

```sh
npx skills add AtlasScope/agent-kit --skill keen
```

## SKILL.md

# Keen

The person types `/keen` and what they want, in their own words. They may not read code. They judge by looking at the screen and by reading what you tell them. Your job is to understand what they are after, decide how ambitious the answer should be, do the work properly, and show them the result in a form they can check with their own eyes.

Keen has 22 jobs. Movement and animation are not among them: that is `/motion`, a separate command in the same kit. If it is not installed, say so.

## How Keen works

1. **Read the intent, not the keywords.** What outcome does the person want, for whom, on which screen? Look at the screen before deciding. When nothing is built yet there is no screen to look at: go by the brief, and the report shows the result with no "before".
2. **Sort what is fixed from what is open.** Invariants (who the product is for, accessibility, legal marks) never move. Commitments (the approved direction in DESIGN.md) move only with the person. History (whatever the code happens to do) moves freely when it stops serving the direction. Opportunities are ideas not yet tried. [references/direction.md](references/direction.md) has the detail.
3. **Choose a stance.** Refine (the direction is right, the execution is not), reinvent (there is no direction worth keeping), experiment (asked for, or low stakes and worth learning from), or restrain (the content is the experience, and the ambitious move is to step back). Say it when it is not obvious. [references/kernel.md](references/kernel.md) explains how to tell them apart. These ideas are instruments for hard calls, not steps every request walks through.
4. **Compose the work.** One job when one job answers it. Several, in the order that wastes least (see Next steps), when the outcome needs them: a crowded screen that also reads badly is `distill` then `type`. Say the sequence in one line and run it straight through.
5. **Load only what the work needs.** This file, then the job's file, then the kernel for creative work and only the craft cards a decision touches. The page and measuring references are read the first time the work reaches them. Never read every reference up front.

## Jobs

Jobs marked "report" change nothing. Jobs marked "writes" add or update one project file after a yes. The rest edit the screen.

**Make something new**

| Job | Use it when | Kind | Instructions |
|---|---|---|---|
| `create` | A product idea, a new screen, or a screen with no point of view needs an original direction, built | Builds, records the direction | [jobs/create.md](jobs/create.md) |

**Set up and plan**

| Job | Use it when | Kind | Instructions |
|---|---|---|---|
| `init` | Nobody has written down who the product is for | Writes PRODUCT.md | [jobs/init.md](jobs/init.md) |
| `document` | The design exists on screen but is not written down anywhere | Writes DESIGN.md | [jobs/document.md](jobs/document.md) |
| `shape` | A screen or feature is about to be built and nobody has planned it | Writes a brief | [jobs/shape.md](jobs/shape.md) |

**Find out what is wrong**

| Job | Use it when | Kind | Instructions |
|---|---|---|---|
| `critique` | Something feels off and they want to know what and why | Report | [jobs/critique.md](jobs/critique.md) |
| `audit` | They want measurements, not opinions: can everyone read it, press it and use it | Report | [jobs/audit.md](jobs/audit.md) |
| `variants` | They do not like one part and cannot say why: show three versions and pick | Edits the pick only | [jobs/variants.md](jobs/variants.md) |

**Change what is on the screen**

| Job | Use it when | Kind | Instructions |
|---|---|---|---|
| `distill` | The screen is crowded, busy or hard to scan | Edits | [jobs/distill.md](jobs/distill.md) |
| `layout` | Things are in the wrong place, or nothing stands out | Edits | [jobs/layout.md](jobs/layout.md) |
| `words` | Labels, buttons or messages are unclear | Edits text only | [jobs/words.md](jobs/words.md) |
| `onboard` | New people get lost or give up before the product is useful to them | Edits | [jobs/onboard.md](jobs/onboard.md) |
| `convert` | A landing, pricing or sign-up page is not getting people to act | Edits | [jobs/convert.md](jobs/convert.md) |

**Change how it looks**

| Job | Use it when | Kind | Instructions |
|---|---|---|---|
| `type` | Text is hard to read, or there are too many sizes | Edits | [jobs/type.md](jobs/type.md) |
| `colour` | Colours clash, mean nothing, or text is hard to see. `color` works too | Edits | [jobs/colour.md](jobs/colour.md) |
| `bolder` | It looks safe, flat or like every other product | Edits | [jobs/bolder.md](jobs/bolder.md) |
| `quieter` | It shouts: too much colour, weight, boxes or movement | Edits | [jobs/quieter.md](jobs/quieter.md) |
| `polish` | The screen is right but looks unfinished | Edits | [jobs/polish.md](jobs/polish.md) |

**Make it hold up**

| Job | Use it when | Kind | Instructions |
|---|---|---|---|
| `harden` | It looks fine with demo data and breaks with real data | Edits | [jobs/harden.md](jobs/harden.md) |
| `adapt` | A website works on one screen size and not on others | Edits | [jobs/adapt.md](jobs/adapt.md) |
| `native` | A phone or tablet app does not feel like it belongs on the device | Edits | [jobs/native.md](jobs/native.md) |
| `optimize` | The screen feels slow or jumps while loading | Edits | [jobs/optimize.md](jobs/optimize.md) |
| `extract` | The same values and parts are repeated everywhere and changes keep missing some | Edits, nothing looks different | [jobs/extract.md](jobs/extract.md) |

Read each job's file before running it.

## Which path to take

1. **They named a job** (`/keen critique the pricing page`): run it, unless its file says it does not apply here; then rule 8 below.
2. **Their words point to an outcome** ("this page is too busy" is distill; "the text is too small" is type; "design a landing page for my tide app" is create; "it's crowded and hard to read" is distill then type): say in one line what you will run, in what order, and why, then run it.
3. **They want it better and named the screen** ("make the pricing page better"): open it and form a view first. If one outcome is clearly the answer, run it as in rule 2. If it could equally be a review or an edit, show the menu with your view as the suggestion.
4. **`/keen all`**: list every job from the tables above, grouped the same way, one line each, and stop.
5. **`/keen` alone, or nothing to go on**: show the menu and stop.

## The menu

Look at the project first so the suggestion is real: is there a PRODUCT.md and a DESIGN.md, and which screen are they talking about? Open that screen if you can. Then reply in this shape and stop:

```text
Suggested: /keen <job> <target>
<Two lines at most: what it will do and how, and whether it changes files.>

Or, if the problem is something else:
- <the complaint, in a few plain words>: /keen <job>
- <up to five lines like this, chosen for this screen>
- I can't say what's wrong: /keen critique

Everything Keen can do: /keen all

Which one?
```

Choose the alternatives from what you saw on the screen, not from a fixed list: the jobs most likely to be the real answer if your suggestion is wrong. Word each one as the complaint a person would make ("It's crowded", "The text is hard to read", "New people get lost"), using the "Use it when" column. Always include `critique` unless it is the suggestion. If there is no PRODUCT.md and the request involves judging or changing a screen, the suggestion is `/keen init`, with one line on why it comes first. Keep the whole menu under fifteen lines.

## Rules for every job

1. **Look at the real screen.** Open it in a browser or simulator and take screenshots. If the live product will not open or sits behind a sign-in, look for a way to run it on this computer with sample data (the README and the project's agent instructions usually say how) before giving up. If you cannot run it at all, say so in the first line, work from the code, and say at the end that nothing was seen. A page that shows but does not react is not running: press one control and see it respond before judging how anything behaves (a development server often works only at the exact address it printed when it started). If the request names something the screen does not have ("the filters" on a page with none), say so in one line and work on what is there.
2. **Read the project's own rules.** AGENTS.md or CLAUDE.md, PRODUCT.md and DESIGN.md come before your taste (in a long file, read the general rules and search for the screen's name; you do not need every section), and so do the notes written in the code of the screen you are working on. Read those notes before you judge or change it. The person outranks their own notes: when they ask for a change, or start a step from the worksheet, that is the decision, even if an older note says otherwise. Say in one line which note you are changing, make the change, and update the note so the code and its notes still agree. Stop only when the request rests on something that turned out not to be true (the thing you said was broken is not broken): say so, and offer what is actually worth doing instead. Where the project has a colour, size or spacing value, use it. Keen never authorizes a commit, merge or deploy.
3. **Ask once, then go.** If something must be decided by the person, ask every such question together before you start, then finish without stopping. A job that only reports asks at most one question. A job that edits says what it will do in five lines or fewer (skip this when the change is one or two lines) and starts.
4. **Stay inside the target.** Change the screen or component they named. List anything you noticed elsewhere at the end. Do not fix it. A part this screen shares with other screens (a card, a header, a shared style) is inside the target only when the change is right everywhere that part appears; check those places, or leave it and list it.
5. **Never remove something a person can do.** Hiding, moving or merging a control is design work. Deleting a capability needs a yes first.
6. **Leave nothing worse.** After an edit, compare the after with the before as a stranger would, at both sizes. Anything that got worse is fixed or undone before you report. The report never lists damage you could see and chose to ship.
7. **Do not manufacture work.** When the screen already does what the job is for, say so in the first line, fix only what is actually off, and report a small change as a small change.
8. **One outcome.** A request may need several jobs; run them in order and report once at the end, before and after across the whole change. If the job turns out to be the wrong one (asked to polish a screen whose structure is the problem), stop, say so in two lines and name the job that fits. That is the whole reply: no report and no Keen page, only the two lines and the command for the right job. Do this before starting anything up.

## The report

Every job ends with this, in this order.

```text
What happened: <one or two sentences>
What it means: <what is different for the people using the product>

<What the job found or changed, in the form its own file asks for: a critique's problems, an audit's table, an edit's before and after. Leave this out when the two lines above say it all.>

What you need to do: <"Nothing", or "Pick a next step" followed by the next steps below>
Proof: <what to look at: the page, the screenshots, the numbers>

Details
<files and lines changed, commands run, values used>

Not checked: <what you could not see or test>
```

Leave out nothing from "Not checked". A report that claims more than was tested is worse than a short one.

A short report is a good report. When a screen does its job, say so and list only what you found. Do not stretch one small finding to the length of a page in trouble.

### Writing the report

The reader runs the product and may never have opened its code. Write for them, then check the draft against these before sending it.

- **No commands, file names, code or settings names above the Details line**, with one exception: the commands offered as next steps. Say what you did in ordinary words: "I ran the product on this computer with its built-in sample data", not the command that did it. The command goes under Details.
- **Use the words on the screen.** Call things what the product calls them ("the Needs you list"), not what the code calls them.
- **A number comes with what it means, and with what it is a number of.** "61 of 95 buttons are smaller than a fingertip can hit reliably" before "under 44 points". Say which things they are when that changes how much it matters: twelve footer links a few points short is not the same finding as the main button being too small.
- **When a technical term has to appear, teach it once, in one sentence, the first time.** "Contrast is how much the text stands out from what is behind it; 4.5 to 1 is the level the accessibility standard asks for." After that, use it freely. Never stack two unexplained terms in one sentence.
- **Details are for the person who wants them.** Keep them complete and exact, and put them where they can be skipped: collapsed if the page can collapse, last if it cannot.
- **Short.** If a sentence would survive being cut, cut it.

### Next steps

When there is something to do next, do not hand over one command as a line of text. Offer up to three next steps, chosen for this screen from what you found, and list them in the order they should run.

For each: the command, one plain line on what it will do, and one on why it ranks where it does. Mark the most valuable one as the suggestion. If it is not first in the list, say in one line what has to come before it and why.

When two or more belong together, say in one line why they run in the order listed. The order that wastes the least work is: remove (`distill`), arrange (`layout`), reword (`words`), then style (`type`, `colour`, `bolder` or `quieter`), then make it hold up (`harden`, `adapt` or `native`, `optimize`), and `polish` last, because every earlier job changes what there is to polish. `extract` runs after the look is settled. `create` comes before all of them: it sets the direction they refine. Next steps the person starts from the page run one at a time, with a page after each; a sequence you composed yourself for one request runs straight through and reports once (rule 8).

Look past Keen too. When what you found is not a design problem (a slow screen, a number that looks wrong, pages that duplicate each other), offer the Agent Kit command that handles it as a next step, in the same list, if it appears in this tool's list of commands (if you cannot see that list, offer it and say which kit it needs): `/motion` for movement, `/engineer` for speed and code problems, `/database` for wrong or slow data.

The person never has to type any of this. The Keen page below turns each next step into something they pick and start.

## The Keen page

Every job that has something to show or a next step ends on the Keen page: one live page the person keeps open beside the conversation, served on this computer by `scripts/worksheet.mjs`. Each finished job adds a page: one headline, the screenshots with each problem marked, and what can run next. The person picks next steps and presses Start; you hear about it, do the work, and add the next page.

A job that changes nothing visible and has no next step reports in text only.

- **Show the result on the live page, inside the tool the person is already using**, in your own browser panel. Open it for them. Do not ask them to open anything.
- **Never hand over a file.** Do not write an HTML file, a report file or a page file into the project, and do not give the person a path to find. A screen that `create` builds is the work itself and belongs in the project.
- **Look at the page yourself before you say it is ready**, and confirm Start is there.
- **Keep listening.** Whenever you are not working, you are waiting on the page (`worksheet.mjs wait`, in the background). If you stop, the page says "Your agent is not listening", which is true and is your fault.
- **If the tool cannot keep a command running or has no browser**, say the live page is not possible here and why, and put the next steps in the reply, each command on its own line.

Read [references/page.md](references/page.md) before the first page of a conversation: the commands, the loop, what a page holds for each kind of job, the word limits the program enforces, and where the page opens in each tool. When the choice is between built versions of the same thing, read [references/workspace.md](references/workspace.md) too. To put another skill's evidence on the page, read [references/evidence.md](references/evidence.md).

## Measuring

Any job that states a number about the screen gets it from Keen's instruments. A number that was not measured is not reported. A colour value, a contrast ratio or a scale that goes into a file comes from `colour.mjs`, never from memory: models misremember colour arithmetic with confidence.

| Instrument | What it answers |
|---|---|
| `scripts/measure.mjs` | Can everyone use the screen: text contrast, controls too small to press or with no name, the heading outline, sideways scrolling, how many text sizes, colours and corner shapes are in use |
| `scripts/fingerprint.mjs` | Whose screen is it: type, colour, form and arrangement, and the default choices most generated interfaces share |
| `scripts/colour.mjs` | Colour arithmetic in the terminal: contrast, the nearest passing colour, even ramps, colour-blind merges, every colour in the source |
| `scripts/stress.mjs` | What breaks when the screen's text is swapped for worst-case text |
| `scripts/phone.mjs` | What makes a website feel like a website on a phone |

Read [references/measuring.md](references/measuring.md) before the first measurement of a conversation: how each is run, the three things that change the answers, what the answers mean, and how to capture before and after. Run only the instruments the job's file asks for.

## Sources

Keen's jobs are written from published standards and platform guidance, named in each job file: the Web Content Accessibility Guidelines 2.2, Apple's Human Interface Guidelines, Material Design, Jakob Nielsen's ten usability heuristics, Google's Core Web Vitals, the Gestalt principles of grouping, Nielsen's response-time limits, the CSS Color, Values and Units, Media Queries and Overscroll Behavior specifications, and Machado, Oliveira and Fernandes's model of colour-blindness (2009). The creative kernel and its craft cards draw on design research (on design fixation, analogy and parallel prototyping), on the typographic and graphic design canon (Bringhurst, Müller-Brockmann, Gerstner, Albers, Tufte, Bertin) and on primary technical sources (OKLab, CSS Fonts and Text Level 4); each card names its own.

Other files in the skill folder: agents, jobs, references, scripts, tests. Browse them at https://github.com/AtlasScope/agent-kit/tree/main/plugin/skills/keen

Source: https://www.atlasscope.dev/skills/keen
