---
name: word-made
description: Build, edit and print documents on a Word Made server through its MCP tools (word-made). Use when asked to make or change a deck, one-pager, brochure, report, poster or any designed document, its copy or translations, its images or fonts, or its PDF; or when the user mentions Word Made, wordmade, a document id or a copy key such as p02/title.
---

# Word Made

Word Made is a document server built for agents. A document is code and data: pages are small Clojure
functions returning hiccup, the words live in copy files per language, the design (fonts, colours,
grid, components) lives in the document's own files. Every change is a version. People watch your
changes live in the web app and touch them up, and the server compiles pixel-exact PDFs.

You reach it through the `word-made` MCP tools. If they are missing, tell the user to connect the
server (see the Connect an agent page on the Word Made docs) instead of guessing.

## Before you start

1. `guide` with topic `overview`, then `layout`. Read `copy`, `assets`, `versions` or `recipes` when
   the task touches them. The guide is the source of truth; this skill is only the habits.
2. `list_docs` or `get_doc` to find the document. A user may give you an id (`sampledeck`), a page
   (`p02`) or a copy key (`p02/title`): those are exact references, use them.

## How to work

- **Look at every page you change.** `render_page` returns the picture. Text that overflows a box is
  not an error to the compiler; you only see it by looking. Look before and after.
- **Words go in copy, never in page code.** `set_copy` for words (every language the document has),
  `edit_file` / `write_file` for layout and code. Use the markup the guide describes (`**strong**`,
  `*em*`, `\n`), and `\*` for a literal asterisk.
- **Design is document data.** Fonts, colours, type styles and the grid live in `tokens.edn`,
  `fonts.edn` and `lib/`. Reuse the document's components before writing new ones; add new shared
  pieces to `lib/`.
- **Several related changes are one version**: `apply_ops` with a clear message. People read your
  messages in History.
- **Big or risky change: branch first** (`branch`, then pass `branch` on every change), show the user,
  then `merge`. `snapshot` versions that get sent to people. Nothing is ever lost: `restore` brings any
  version back as a new one.
- **Languages:** keep every language's keys in step. Text that must be identical everywhere (names,
  numbers, brands) can be linked with `link_copy`; `copy_status` shows what is stale after a change in
  one language.
- **Images and fonts:** upload with `upload_asset` / `add_font` (or the signed upload link they give
  for big files); frame images through the document's framing, not by cropping files.

## Before you say done

1. `check` (all pages, all languages). Fix every error and every missing key.
2. `render_page` the pages you touched, in each language when the words differ in length.
3. `build_pdf` when the user wants the file, and give them the link.
4. Tell the user the version you made (for example `genesis.42`) and what changed, in a sentence.

## When something is wrong

- A page error names the file and line: read that file, fix it, render again.
- If a person changed something while you worked, `history` and `diff` show it. Build on it; do not
  overwrite it.
- If you are unsure what the user means by "this" or "that box", ask them to right-click it in the
  app and paste the reference.
