agentleFS
namedtoasternamedtoaster/The-Last-Mile/skills/feature-demo/SKILL.md

feature-demo

Skill39 starsChanged 23 days agoMITView on GitHub

Build a tap-through demo of a feature so the person can see it before it ships, instead of reading a spec about it. Enumerates the feature's real states, draws them in the app's own colours and fonts, publishes a clickable walkthrough, and annotates each step with the decision behind it. Use when a feature has states nobody can reach by tapping around, when a spec conversation has stalled, when asking for a product decision, or when the person says they cannot picture it.

3 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

7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Do NOT use it to claim something works.

    line 27
  2. Distinctive:

    Not the happy path. Read the state machine, the card's state union, the hook, and write down every state it can actually be in.

    line 35
  3. Distinctive:

    If a state has no design yet, that is the finding.

    line 44
  4. Very specific:

    Run reference-hunt, or search Mobbin directly if it is connected.

    line 49
  5. Very specific:

    Read the real token file (constants/colors.ts, constants/tokens.ts, the theme, whatever the project calls it) and use those exact values in …

    line 55
  6. Distinctive:

    Not a slideshow. The buttons inside the phone should move the flow the way the real ones do, so the person discovers the sequence by …

    line 64
  7. Distinctive:

    The real components, rendered: If the project has a component preview harness (react-native-web plus esbuild plus a headless browser), …

    line 91

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

Feature demo

A spec gets skimmed. A demo gets opinions.

The point of this skill is not presentation. It is that a tap-through surfaces the product questions prose hides, and it surfaces them before the feature is finished rather than after it ships. The feature this skill came from had its copy rewritten, a missing screen discovered, and a whole class of user found unhandled, all in the twenty minutes after the first demo went up, and none of it had come out of two rounds of reading the spec.

Use it when:

  • A feature has states nobody can reach by tapping around (day seven of a seven day flow, the empty state, the error, the second time somebody does it).
  • You are about to ask for a product decision. A demo gets a real answer; a paragraph of options gets "sounds good".
  • The person says they cannot picture it, or a spec conversation has stalled.
  • You want feedback on copy. Copy read inside a phone frame gets judged like copy. Copy in a bulleted list gets skimmed.

Do NOT use it to claim something works. A demo shows intent. Seeing the real thing on a real device is a different job, and see-it-work is the skill for it. Say which one you did.

The method

1. List the real states first, from the code

Not the happy path. Read the state machine, the card's state union, the hook, and write down every state it can actually be in. The states that teach you something are the awkward ones:

  • the second time, and the tenth
  • somebody who already has the thing the feature offers
  • somebody the reward or the offer does not apply to
  • the state after the person declines

If a state has no design yet, that is the finding. Put it in the demo as a gap rather than quietly skipping it.

2. Get references before drawing anything

Run reference-hunt, or search Mobbin directly if it is connected. Design invented from scratch reads as invented, and the person will say so. Note which parts came from a real screen and which are yours, and say so when you hand it over.

3. Use the app's own palette and fonts

Read the real token file (constants/colors.ts, constants/tokens.ts, the theme, whatever the project calls it) and use those exact values in the demo. A demo in generic greys gets feedback about the greys. A demo in the app's actual sage and cream gets feedback about the feature.

Pull the real font too. If the app uses a Google font, the demo can link it.

4. Draw a phone, make it tappable

Not a slideshow. The buttons inside the phone should move the flow the way the real ones do, so the person discovers the sequence by pressing things. Add a numbered step list beside it for jumping around.

Number the steps only if the feature genuinely IS a sequence. If the states are alternatives rather than steps, label them instead.

5. Annotate the decisions, not the UI

Under the phone, one short note per step saying the thing a screenshot cannot: why this card retires itself after six showings, why the permission ask sits here rather than in onboarding, what is claimed at which moment. This is what turns a demo into a design review. Without it the person can only react to how it looks.

6. Publish it and hand over the link

An artifact, or whatever the host offers. One link, and say in one line what you want them to look at.

Two ways to build it, and when each is right

Hand written HTML. Fastest, works anywhere, no build step. You redraw the component in HTML and CSS using the app's tokens. The risk is drift: it is a drawing of the component, not the component, so it can show something the code does not do. Right for a flow across many screens, for states that do not exist yet, and for anything you want to tap through.

The real components, rendered. If the project has a component preview harness (react-native-web plus esbuild plus a headless browser), point it at the actual components and screenshot them. Higher fidelity, and it cannot drift because it IS the code. Right for reviewing a single card's states and its copy. See references/preview-harness.md.

Doing both is normal: the real components for proof the card looks right, the hand written tap-through for the flow between them.

Traps

See references/traps.md for the full list with symptoms. The ones that cost the most time:

  • A modal renders into a portal and your screenshot comes back blank. The content is in the DOM and not in the capture. Give the component a preview-only prop that renders it inline.
  • Headless Chrome does not advance animation. Fine for static cards. For a mid-animation frame you need a real browser driver with real waits.
  • Copy that reads fine in a spec reads robotic in a phone frame. This is the demo doing its job. Expect to rewrite copy after the first look, and check your own house style has not been over-applied: a rule against dashes is not a rule against apostrophes.
  • A label that works on a button does not work in a sentence. "Log breakfast" as a button, "Seven days of log breakfast" in a sentence. Give each item both forms.

Finishing

Hand over the link and say three things:

  1. What you want them to look at.
  2. Which parts are referenced from real apps and which are your own.
  3. That this is a demo, not proof it works, and what the real thing still needs before anyone can trust it.

Then expect changes. A demo that comes back with no feedback usually means it was too polished to argue with, or it only showed the happy path.

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.