Skip to content

export_kit

Export a board as files for your repo - the design system with its install command, DIRECTION.md, BUILD-PROMPT.md, DESIGN.md, REVIEW.md, Cursor rules, Copilot instructions, AGENTS.md and CLAUDE.md sections, tokens and more. Page scoped by default.

Plan Quota Changes data Hints
Free: 10 formats. Pro: all 20 None Returns text; your agent writes the files. It may save a fresh reconcile for a direction that changed, and with system it makes one install link per direction (made once, then reused)
Name Type Required Limits and default What it does
canvasId string Yes 1 to 100 characters The board
formats enum[] Yes 1 to 20, see below Which files
directionId string No 1 to 100 characters One kept direction. Default: all kept directions
pages string[] No 1 to 5, each up to 80 characters Route names or globs: "pricing page", "/launch", "app/pricing/**"
scope enum No page (default), system page: applies only to the pages, inherits your system. system: the direction becomes your system
file string or string[] No 1 to 20 paths, each up to 300 characters Only these files, by path from an earlier export: one path, or the list a later call names
made object No colors 1 to 12 { name, hex }, fonts { display?, text?, label?, figure?, displayWeight? }, logo up to 300 characters, motion { what, easing?, durationMs? } Slide, post, logo and brand boards: what the placed sheet was made with, read from its HTML, so the kit describes what was built

Formats: design_md, brief, direction_md, build_prompt, stitch_md, and the design system formats system, system_css, heroui_theme, daisyui_theme, system_sheet (Free) · review, cursor_rules, copilot, agents_md, claude_md, tokens, tailwind, figjam_spec, html_board, wireframe_html (Pro). Paths and contents: Export formats.

The five design system formats write one token set, solved in light and dark with every text pair at 4.5:1 or more and borders, focus ring and charts at 3:1 or more, as kit/system.json (a shadcn theme), kit/system.css, kit/heroui-theme.css, kit/daisyui-theme.css and kit/system-sheet.html. Their scope follows your board’s intake: when your product has its own design system (context.hasSystem: true), they are page overrides on a data-wild-page wrapper; otherwise the full system. A scope you pass wins: system gives the full system, page the page overrides.

Format system also answers an install link per exported direction, in install:

{ "directionId": "bd-mob5pq35", "slug": "spa-like-cereal-box", "url": "https://gobanana.fun/r/<token>/system.json", "command": "npx shadcn@latest add https://gobanana.fun/r/<token>/system.json", "nextStepsUrl": "https://gobanana.fun/en/next/<token>" }

The command installs the theme, the fonts (full system only) and DESIGN.md, DIRECTION.md and BUILD-PROMPT.md in design/explorations/<slug>/. Anyone with the link can install it, on every plan; it is worked out from the board each time it is fetched and stops working when the board is deleted. The nextStepsUrl is the next steps page (in Arabic when the board’s first language is Arabic). Guide: Design system and install.

Slide, social post, logo and brand identity boards. These boards make fixed artboards, not an app, so format system writes a brand kit instead of a theme: kit/brand-kit.json with the picked direction’s named colours, its faces (the Arabic ones only when the board’s languages include Arabic), logo lockups, clear space, smallest size, misuse notes and applications, and that direction’s sources only. No install link is made for it. system_css, heroui_theme and daisyui_theme are app themes, so these boards skip them (slide and post boards skip system_sheet too) and the reply says why (“Skipped system_css: this board makes posts, not an app, so there is no app theme. Ask for format system: it is the brand kit (brand-kit.json).”); asked alone, that line is the whole reply. With no directionId, these boards export the picked direction only (the one rate_directions picked), never every kept direction; with none picked, the kept directions as on any board. On a logo or brand identity board, system_sheet is the brand sheet: one page (kit/system-sheet.html, no images or scripts) with the kit’s colours and their text pairs, its faces, lockups, clear space, misuse, applications, motion and source links.

The kit describes what was made. Pass made, read from the placed sheet’s HTML: every colour it uses by the name it shows ({ "name": "Rain blue", "hex": "#1283ea" }), the faces it loads (display, text, label, figure and the display weight drawn), the drawn mark in one line, and the motion render as made (what moves, its entrance easing, its length in ms). The kit, DESIGN.md, DIRECTION.md and BUILD-PROMPT.md then name those colours (up to 12, none a must-keep rules out), faces, mark and move. Without made the reply says so, and the kit reads the hero’s tokens: 5 colours at most, the named swatches on the board (in that direction’s section or in no section), else the direction’s ship colours, leaving out the tokens’ primary when it is only the accent’s lighter text shade; the hero’s label and figure faces are named beside the pair. Its first lockup is the direction’s own, read from its words (a must-keep, the skeleton, the layout, a board note or the prompt, such as “Arabic over English plate”), then the mark alone; with no lockup named, the plain set (horizontal, stacked, mark only). With two or more languages in context.languages it adds a line to set both at the same optical weight and height. Its colours have plain names (“Saffron orange”, “Navy blue”, “Cobalt blue” for a dark but vivid blue, “Gold”; a swatch keeps the name written on the board), the white or off white the tokens use is named too, near twins come out once, and a colour a must-keep rules out (“no brown-on-beige”) is left out. The lockup is read from what was made: made.logo, the must-keeps, the placed drafts’ notes and then the direction’s words, never the hero’s craft notes or the titles of the references a draft was built from; with none named on a logo or brand sheet it says “Lockup: see the system sheet” (a logo board: “the logo sheet”) with the link of the build titled as the system, logo or brand sheet (else the first build placed), never the last application placed, and a logo board adds the direction’s own plan for the drawing. On a slide board the user’s logo goes on the title and closing slides only, never on every slide. Clear space comes from a clear space stated in what was made, never the hero’s margin, applications from the brief’s own surfaces (a cup, a bag, a storefront sign, a carton, an invoice) before the generic ones, and the misuse list never bans a move the direction makes (a name rotated 180, a stretched word) or the emboss, deboss, letterpress or foil it names. Every must-keep reaches the kit: a “no” one (“no gold”, “no house icon”) is a misuse line and a DESIGN.md Don’t, the rest (“lowercase wordmark”) a “Never break a must-keep” line and a Do, and BUILD-PROMPT.md’s Done when says “Every must-keep holds”; brand-kit.json also lists mustKeep. brand-kit.json carries motion (easing { enter, exit, standard, overshoot? }, durations { fast, med, slow } in ms, stagger in ms, a signature move and, with made.motion, the render’s durationMs), one of three fixed sets picked by the direction’s traits (calm, lively or steady), each on the easings the motion render uses (enter cubic-bezier(0, 0, 0.3, 1); a lively brand’s overshoot only on one element); a logo’s move builds the mark the way it is drawn and a deck’s builds wait for the presenter, and made.motion replaces the move with the render’s own. DESIGN.md says the same in a Motion section (never in its front matter, which declares omitted for spacing, rounded and components instead), and DIRECTION.md’s Motion line names the same move. On an Arabic first board the Arabic faces come first (DESIGN.md’s front matter typography, its Typography section and brand-kit.json’s fonts, with lead: "arabic"), figures are set in the Arabic display face, and clear space is “the height of the Arabic wordmark’s teeth (or x-height)”, never capital letters. On these boards DIRECTION.md says “Deliverable: slides at 1920x1080” (no platform, no platform defaults) and points at REVIEW.md only when review is in the same call; every file uses the artboard’s own text floor (slides 24px; posts 47px, Arabic 50px, nothing under 42px as seen 368 wide in the Artifact; logo and brand sheets 18px), one font link with every face at 400 and 700, sources numbered from 1, and the Steal line drops a colour the hero does not show or a must-keep rules out. “Mark only” is listed on logo and brand sheets, never on slides or posts.

design_md and build_prompt are brand shaped on these boards too. DESIGN.md holds the overview, the named colours with their text pairs at 4.5:1 or more, the type pair (Latin, plus Arabic when the board sets it, with one Google Fonts link), the marks and lockups with clear space and smallest size, the applications, the artboard size and text floor, do’s and don’ts and the direction’s own sources: no components, states, grid or targets. BUILD-PROMPT.md asks for the artboards (1920x1080 for slides, logo sheets and brand artboards, 1080x1350 for posts, one file per artboard), the direction, lockups, palette, type pair, applications and references, and ends with a Done when for a sheet: nothing clipped, the named lockup in the named colours, every text pair at 4.5:1 or more, and each source linked. A brand identity is a set, never one crowded page: its applications list the system sheet (marks and lockups, palette, type pair) first, then one artboard per application, the brief’s own surfaces first (3 to 5 unless the brief names a count), and a package (a box, bag, can, bottle, jar, tin or pouch) is built as a 3D object in code and shown as a still from a 3/4 view. The other formats are the same as on any board.

{
"name": "export_kit",
"arguments": {
"canvasId": "c3f1a0d2-6b1e-4d8a-9f4b-0a1b2c3d4e5f",
"directionId": "bd-mob5pq35",
"pages": ["/launch"],
"scope": "page",
"formats": ["direction_md", "build_prompt", "review", "cursor_rules", "agents_md"]
}
}

The first text block is a summary; then one text block per file with its name, type and path:

Exported 5 files from "Coffee launch page": DIRECTION.md, BUILD-PROMPT.md, REVIEW.md, gobanana-spa-like-cereal-box.mdc, AGENTS.md.
Scope: one wild page. These files sit on top of the project's own design system and do not replace it or its DESIGN.md.
Write each file below to its path in the user's project. AGENTS.md and CLAUDE.md are sections between gobanana:<slug> markers: replace the marked block if it exists, else append it. Keep the source links.
File: DIRECTION.md (text/markdown)
path: design/explorations/spa-like-cereal-box/DIRECTION.md
# Wild direction: Coffee launch page
> **Scope: one wild page, not the product design system.** Applies only to: /launch.
…

On Free, the free formats export and the rest are listed with the upgrade message in the same answer: “These formats need Pro: review, cursor_rules, agents_md. Upgrade: …”. If every requested format is Pro, the answer is the message alone.

structuredContent: { canvasId, scope, systemScope?, install?, files: [{ name, mime, path, content, append? }], blocked, calls?, note? }. append: true marks AGENTS.md and CLAUDE.md: merge by markers, never overwrite.

Inline files stop at about 20,000 characters. The rest come in the fewest later calls, each named in the summary and in calls as { file, size }: - call 2: file: ["design/explorations/x/REVIEW.md","AGENTS.md"] (9,120 characters). Send the same arguments plus that file list. A file over the cap on its own gets a call of its own and comes whole.

With a directionId, the files speak for that direction only: its hero’s colours (the same as its tokens), its own notes and sections, and body text at 16px (17px in Arabic).

Once reconcile_direction has read the hero, the type scale is the hero’s own craftSpec.typeScale (“30/22/16/14”: display, headline, body at 16px or more, labels at 14px or more), never the platform’s default, and the Imagery line is the hero’s imagery reading (“From the hero: photo: …”), never the direction’s style words. Drafts and roughs are never listed as references, so their placement notes never become a “What to steal” line; a kept draft with an artifactUrl is named with its interactive version.

Message Fix
“These formats need Pro: …” Upgrade, or use the free formats
“This canvas has no direction with that id. Call get_canvas to see the direction ids.” Use a kept direction’s id
“pages takes 1 to 5 route names or globs, each up to 80 characters…” Fewer, shorter pages
“scope must be “page” (one wild page, the default) or “system” (the whole design system).” Pick one

Guide: Hand off to your coding agent.