agentleFS
vecartiervecartier/draftboard/skills/build/SKILL.md

build

Skill0 starsChanged 2 days agoMITView on GitHub

Builds a Draftboard board into working code in the current project, screen by screen, matching its layout, copy and flows. Use when the user types /draftboard:build, pastes a Draftboard board link and asks to build it, or asks to implement, build or code a Draftboard board or wireframe (by name or link).

179 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use backprop, finances and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • JuliusBrusseeSkill

    backprop

    Bug → spec protocol. When a bug is found or a test fails, trace the cause, decide whether a new §V invariant would catch recurrence, append to §B. This is the one non-obvious thing SDD does that plan-then-execute doesn't. Triggers on test failure, bug report, post-mortem, or explicit user ask.

    Also in 4 projects that use this

  • GerardoRdz96Skill

    finances

    Use when Gera talks about his money — logging an expense ("I spent X on Y"), checking where he stands this pay-period, closing a period, planning debt payoff, onboarding his financial picture, or asking for budgeting/finance opinions. Servy's financial brain. Triggers — "I spent", "log this expense", "where am I this period", "close the period", "how's my budget", "debt plan", "should I pay off", "finances onboard", "/finances".

    Also in 3 projects that use this

  • uac-opsSkill

    secure

    Threat-model the product, run an OWASP-style pass, and lock down secrets before going live. Use when COMPANY.md Stage is secure, or the user says "security review", "is this secure", "threat model", "secrets", "auth review", or "OWASP".

    Also in 3 projects that use this

  • cpiprintSkill

    favicon

    Generate favicons from a source image

    Also in 3 projects that use this

  • madeehahassanSkill

    Go-Live

    Pre-launch checklist. Use before making any app public, sharing a link externally, or announcing a product launch. Adapts to Claude Code, claude.ai, and Cowork.

    Also in 3 projects that use this

  • ORBWEVASkill

    retention

    Customer retention and lifecycle skill. Use when user needs lifecycle email sequences, NPS/CSAT survey design, cohort analysis, or churn reduction strategies. Triggers on "retention", "lifecycle email", "NPS", "CSAT", "customer success", "onboarding emails", "win-back", or /retain commands.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 166 edited versions we read keep these.

  • 3

    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:

    Look at the project before writing anything: its framework, routing, component library, styling (tokens, Tailwind, CSS modules), icon set, …

    line 23
  2. Distinctive:

    If the project is empty or has no UI yet, ask once which stack to use, and suggest the obvious one for the board's devices (SwiftUI for …

    line 32
  3. Distinctive:

    Never change the board while building.

    line 40

“Common” is measured: kept by at least 6 in 10 of the 166 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

Build from a Draftboard board

The board is in $ARGUMENTS: a link, or a board's name ("build my Checkout board"). For a name, find it with the Artifact tool, action: "list": a board's title is its name, and its files (scope: "files") include draftboard.js; if several fit, ask which in one line. With nothing given, use the board made or opened most recently in this conversation, or ask which board in one short question.

1. Read the board

A board artifact keeps a readable copy of itself for Claude. Read it with the ArtifactData tool on the board's URL:

  1. action: "list", collection: "board". Find the document whose id starts with handoff. and has no ~ (for example handoff.<board id>). If there is none, the board has never been opened and edited: ask the user to open it once, and stop.
  2. That document has name, updated, outline (a readable summary: each frame with its device, size and system bar, then its contents in reading order), parts, json and png. The full hand-off JSON (format draftboard.handoff/1) is its json followed by the json of the documents handoff.<board id>~1 … ~<parts-1>, joined in order. It has frames with their children (positions in points, relative to each frame), text, components, Lucide icon names, colours, flows between frames, loose notes, and open comments.
  3. See the board: Artifact tool, action: "read", the board's url, path: png.assetId. Look at it before you write code.

The copy updates a few seconds after each edit, and the picture every couple of minutes. Notes and open comments are requirements from the user, so treat them as part of the spec. Rough ink is intent, not pixels.

2. Fit it to the project

Look at the project before writing anything: its framework, routing, component library, styling (tokens, Tailwind, CSS modules), icon set, and how existing screens are built. Then map the board onto it:

  • each frame becomes a screen, route or view, named after the frame;
  • each flow becomes navigation between those screens;
  • Draftboard components (navigation bar, tab bar, buttons, lists, fields) become the project's own components where they exist;
  • Lucide icons become the project's icon set, by the closest match;
  • positions describe layout intent: build with the project's layout system (stacks, flex, grid, safe areas), not absolute coordinates;
  • copy is used word for word.

If the project is empty or has no UI yet, ask once which stack to use, and suggest the obvious one for the board's devices (SwiftUI for iPhone frames, React for web).

Tell the user the plan in a few lines (screens, where they go, anything you'll reuse), and continue without waiting unless something is genuinely ambiguous.

3. Build

Build one screen at a time, in flow order. After each, run the project's typecheck or build. When the project can run (a dev server, a simulator), open the screen and compare it with the board's picture, and fix clear mismatches in layout, spacing and copy before moving on.

Never change the board while building. If the board and the project disagree (a component that doesn't exist, a flow to a screen that isn't drawn), follow the board where you can and list the gap at the end.

4. Report

Reply with what you built (screens and where they live), how to see it, and any gaps or guesses, each in one line.

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.