Generator Guidelines: How to Build a Good Generator

Atomm
Atomm·Follow
388
0
1
Published 2026/11/02

1. Before You Start

An Atomm generator is a parametric creative tool that runs on the platform: users tweak parameters in the browser, get a design, and export a fabricable file (SVG, PNG, GLB, PDF) in one click — ready for cutting, engraving, or 3D printing.

This guide answers three questions in order: how to pick a topic, how to build and publish through the platform workflow, and how to use AI to shorten the cycle.

Atomm Creative Tools gallery

Two main references: the developer platform docs are the authoritative source for every technical detail; the community blog More Real Projects on Atomm covers the values the platform champions.

2. Topic Selection: The First and Most Important Step

Whether a generator is worth building is largely decided at topic-selection time. Two hard rules:

Principle 1: Don't duplicate an existing generator

Before writing any code, walk the entire generator gallery (https://www.atomm.com/creativetools) and try every tool to learn what it does.

Duplication isn't about names or themes colliding — it's about core functionality overlapping. If an existing generator already does it, there is no need to build it again. Themes can be similar, but functionality must add something: an alphabet box and a number box are new tools; a different pattern library is not.

Examples of duplicated generator functionality

Principle 2: Avoid low-value pseudo-generators

Don't build these kinds:

Examples of low-value pseudo-generators
  1. Pure template libraries — a fixed set of patterns for users to pick from, no parametric generation logic, nothing for the user to change;
  2. Extremely low customizability — only color, font, and text options, with the core output completely fixed;
  3. Weak functionality, low extensibility — doesn't solve a real making need, and the range of possible outputs is narrow;
  4. Layout / typography generators — long-term platform data shows these get the worst experience and the worst numbers.

What makes a good topic

The bar mirrors what the community expects of a good project: real results, real process, every project distinct (see the community blog). In generator terms:

Genuinely useful — it helps users make something real they can fabricate and use. Deeply customizable — changing a parameter really changes the result, in an intuitive way. Room to grow — new parameters, templates, and outputs can keep coming.

Reference: what good generators look like

Feature-rich isn't parameter stuffing — it means every reasonable idea has a parameter to tweak. Four official generators each represent one shape; try each one before you start:

Frame Generator — parametric: photo size, frame shape, corner radius, and back stand all open, one-click 2D/3D switch. Table Lamp Generator — 3D: starts from templates, deep customization of size, material, and pattern, with a lit 3D preview.

Pop-up Card Generator — cutting craft: red lines cut, blue dashes fold at a glance; pop-up text, depth, and colors all open. Layered Mandala Generator — algorithmic: a prompt plus a layer slider produces multi-layer works, with edge width, rib width, and material still adjustable.

Frame and table lamp generator examples
Pop-up card and layered mandala generator examples

Topic self-check

Run through this before you start; check every box:

  • I have tried every existing tool in the gallery — none of them covers my core functionality
  • Users can adjust at least one set of parameters that genuinely affect the output
  • The output has a clear use (fabricable, printable, installable)
  • I can say in one sentence why users would pick mine over an existing one
  • The direction can grow — it is not a one-shot deal

3. Development Flow at a Glance

Four steps, no command-line tools to install:

  1. Create the generator in the Developer Console and get its runtime identifier;
  2. Add one line of SDK and integrate platform capabilities as needed (export, toasts, i18n…);
  3. Run your local server and preview live in the online DevTool;
  4. Package, upload, submit for review — published automatically once approved.

Any stack works: as long as it outputs static web files, the platform doesn't constrain how you build.

Atomm generator development workflow

4. Follow the Docs Step by Step

Step 1: Create the generator in the Developer Console

Open dev.atomm.com, go to the Developer Console, and click Create Application. Give your generator a runtime identifier: it starts with a lowercase letter, contains only lowercase letters, digits, and hyphens, and cannot be changed after creation — it becomes part of the live subdomain and access path. The card title users see is configured separately, later.

Create an application in the Developer Console

Step 2: Add the platform SDK

Add one script line for platform-sdk.js. Once loaded, it handshakes with the platform and injects the global atomm object — every platform capability comes from there. Any stack that outputs static web files works. See the Quickstart and the atomm object docs.

Step 3: Integrate platform capabilities

Export is the only mandatory one: place an export-button placeholder in the page and register an export hook that returns { filename, blob }; any file format is supported. See the Export docs for the details.

Every capability in the DevTool integration assistant has a "Copy integration prompt" button — hand it straight to your AI.

One red line: a submission without an export hook is rejected outright. Every generator gets the export button; without the hook, users who click it only get "the app provides no download method."

Other capabilities are optional: toasts, 17-language localization, user login. See the atomm object docs.

Step 4: Local debugging with the online DevTool

Run your local server (any port), then build the preview URL from your generator name:

https://www.atomm.com/creativetools/community/generator/<generator-name>?local=http://localhost:5173/

The left side is a live preview of your generator in the real platform environment; on the right, Simulator switches the preview language to verify localization, and Integration assistant shows the SDK handshake status and lists every platform capability.

Only localhost / 127.0.0.1 can be loaded into the preview — the HTTPS page blocks other HTTP addresses. Dev preview is free, with all capabilities enabled by default; you can also open it from the "Local debugging" card on the app detail page.

Local preview and integration assistant

Step 5: Build the UI on the design system

The platform's design system comes in two parts. design.md is the whole spec in one file: semantic tokens, type sizes, radii, spacing, and component specs, with a contract for AI at the top and a self-check at the end (https://dev.atomm.com/design.md).

The five layout templates

Each layout ships a skeleton (structure + full stylesheet) and a runnable version (with example behavior). Quick guide — start from the one closest to your generator's shape:

LayoutStructureFits
Layout 1 · paramsCanvas + 320px params railNothing to pick or generate — values only
Layout 2 · templates320px templates rail + canvas + params railThe left side just browses and picks templates
Layout 3 · generate320px generate rail (docked) + canvas + params railStarts from an input (prompt / style / image), then tune
Layout 4 · floating360px floating generate rail, no params railPick a style, run once in a dialog, nothing to tune after
Layout 5 · multi64px tool rail + 320px panel + canvas + params railThe left side does several jobs: generate, templates, import…
Five generator interface layout templates

The spec has three layers with different demands: the skeleton must match (layouts, region widths, control specs, accessibility contract); the skin is replaceable by default (colors and type can become your brand, but only token values change, never token names); behavior is entirely yours (what it generates, which parameters it exposes, what Generate produces — the spec says nothing).

A few hard platform constraints — violating them fails review outright: export must go through the platform button (data-atomm-export-button + export hook); don't build your own download button. The top bar belongs to the platform — don't rebuild or imitate it.

Render only inside the region the platform allocates; exported files must be 1:1 real size in mm, with cut-line colors following the SVG export color spec.

Interaction design

Meeting the spec is the passing grade; how it feels decides whether users stay. Users will run the same generator dozens of times in an afternoon, one parameter at a time — the interface must survive that: every change shows immediately, controls stay put, numbers stay readable.

The rules are few: parameters change the canvas instantly — never make users click "confirm". Long operations show progress and can be cancelled; a frozen page loses the user. Group parameters by purpose; the defaults should land on a finished piece, not a blank canvas.

Mistakes can be undone; error messages speak plainly and say what to do next. Keyboard operable, focus visible — a hard review requirement; for 3D previews, also see the 3D preview overview.

Localization

The platform UI speaks 17 languages; your generator follows the platform. One step: before the first render, await atomm.app.getLocale() to get the locale code (zh / en / ja…), build your copy with it, then mount the app — the default language never flashes.

API details in the atomm object · Language docs. Verify in the DevTool Simulator by switching languages; the localization card in the integration assistant has a one-click copy integration prompt to hand straight to your AI.

Step 6: Submit for review and publish

  1. Package: build your static files (entry page with the SDK included) into a single zip, 50MB max. ⚠️ Confirm the entry page still contains platform-sdk.js before packaging — some build setups drop the script in production builds: fine in local preview, export broken after publishing.
  2. Listing details: card title, short description, cover image. Upload a 4:3 cover only — the 1:1 square on Studio is auto center-cropped from it; keep the subject away from the edges.
Generator listing details and cover image setup
  1. Upload the artifact: upload the zip to the code artifact card.
Upload a generator code artifact
  1. Submit for review: listing info and the artifact go together as one change; nothing can change while under review; the result arrives by in-app message.
Submit a generator for review
  1. Auto-publish: once approved it goes live at https://www.atomm.com/creativetools/community/generator/{code}, open directly from Creative Tools.

5. Build It Fast with AI Coding Tools

The platform docs are designed for AI collaboration (see Working with AI: LLMs.txt and Skills). The core idea: don't relay platform requirements to your AI one paragraph at a time — let the AI read the docs itself.

LLMs.txt: let the AI read the platform docs

llms.txt is a community convention for docs written to be read by large language models. The developer platform serves two routes: llms.txt is an index of every doc, ~750 tokens, easiest on context; llms-full.txt concatenates all English docs into one file, ~30k tokens, everything in one fetch.

Also, appending .md to any docs URL returns that page as plain Markdown, e.g. https://dev.atomm.com/docs/quickstart.md.

How you hand it over depends on your tool: if the AI can fetch URLs itself (Claude Code, Cursor…), give it llms.txt and let it pull only what it needs; to give everything at once and avoid round trips, hand over llms-full.txt; for one chapter only, give that page's .md URL.

Example prompt:

Read https://dev.atomm.com/llms.txt first, then wire up the export flow for this
generator the way the atomm platform requires: place the platform export button
and register the export hook.

Skills: hand the review bar straight to the AI

The platform publishes two single-file specs written for coding agents — no background, just what to build and what gets rejected:

FileWhat it coversWhen to hand it over
design.mdThe whole design system: semantic tokens, typography, component baselines, plus the agent contract and self-checkWhenever the AI writes generator UI
3d-preview-skill.mdthree.js 3D preview requirements: architecture, interaction, render quality, acceptance checklistWhen the generator has a 3D preview

Key rules: design.md must reach the AI together with the code — fetch the template for your layout before writing any UI, and build on top of it. If the AI can fetch, design.md alone is enough; if not, paste design.md plus the matching skeleton into the chat — without the template the AI will stop and ask, not invent one.

Fetch one template, not all five — they share one stylesheet; fetching all is pure waste. And never substitute screenshots for templates: a screenshot has looks but no numbers, so the AI guesses — differently every time.

Wiring it into different tools

Claude Code: keep the skill file in the project's skills directory (e.g. .claude/skills/atomm-3d-preview/SKILL.md); the agent loads it when the task calls for it.

Codex: keep the file in the repo (e.g. docs/design.md) and write in the root AGENTS.md to read design.md first and fetch the matching layout template — AGENTS.md is Codex's CLAUDE.md, the rules stay with the project; when Codex can run commands, give it the llms.txt URL the same way.

Cursor / Copilot etc.: keep the file in the repo and @-reference it in chat; for one-off tasks, paste the whole file into the conversation.

6. FAQ

Do I need to install a CLI?
No. Integration is one script line; debugging happens in the browser via the online DevTool.

Which stacks are supported?
Anything that outputs deployable static web files.

What address should my local server use?
Only localhost / 127.0.0.1 works; non-localhost HTTP addresses are blocked by the browser — use localhost or enable HTTPS locally.

The panel says "Integration incomplete"?
The page failed to load platform-sdk.js: check the script tag and that your server is reachable, then reload; the notice clears itself once the handshake succeeds.

Can the generator code change?
No — it is the runtime identifier, fixed at creation. The title can be changed later.

What happens without export?
Users clicking export get "the app provides no download method", and the submission is rejected. Register the export hook and test the export in the local preview.


Contents
1. Before You Start
2. Topic Selection: The First and Most Important Step
3. Development Flow at a Glance
4. Follow the Docs Step by Step
5. Build It Fast with AI Coding Tools
6. FAQ
gift