For agents
Your agent already knows shadcn/ui, so it can use Ballpoint on day one. What it doesn't know is the craft: why the pen draws the box, why there's one ink, when the red pen comes out. This teaches it.
Watch one draw
A real session, played back: Claude with the Ballpoint plugin, given one line. It reads the craft, looks the parts up, writes the page, puts its own work under the red pen, and builds it.
Set up your agent
The plugin: the skill, the MCP server and the four commands, in one line typed into Claude Code.
/plugin install ballpoint --marketplace useit015/ballpointBefore Claude Code 2.1.275, in two: /plugin marketplace add useit015/ballpoint, then /plugin install ballpoint@ballpoint.
Drawn by agents
Each screen is what Claude drew from the one line under it, with the skill and nothing else. Any change made by hand afterwards is listed under it. Every one passes the red pen, builds, and is a block you can add.
Four commands
Slash commands in the Claude Code plugin, and prompts on the MCP server for every other client. Each one ends the same way: the agent runs the red pen over what it wrote and fixes what it finds before it shows you.
/ballpoint:draw <screen>Draw a screen with Ballpoint, in the craft, and check it with the red pen.Draw $ARGUMENTS with Ballpoint. If the app has no components.json, or it has no @ballpoint registry, set Ballpoint up first: `npx shadcn@latest init https://ballpoint.st9wd.com/r/ballpoint.json` (React 19, Tailwind CSS 4). It writes the paper and ink tokens, the hand, and the stroke engine. Read the craft rules before writing anything: the `craft` resource or tool on the ballpoint MCP server, the Ballpoint skill's references/craft.md, or https://ballpoint.st9wd.com/llms-full.txt. They are short, and they are the difference between a drawn screen and shadcn in a handwriting font. Find the parts with `search_components` and read each one with `get_component` before using it (or the skill's references/components.md). They have shadcn/ui's names and props, plus pen settings, and many come with an example close to what you need: start from it. While you draw (the skill's "Designing on paper" has the why): - Decide the one thing to read first, the one action, and the one drawn moment only a pen could make (a taped note, a margin note, a hatched chart, a framed photo), chosen for what the screen is about. Use the page's width; don't shrink it to a small card in the middle. - Lay out a column you can read down; group with space before boxes. - Hierarchy is pressure, weight and space: text-ink, text-ink-2, text-ink-3; regular and font-bold only; skip a step in the type scale between levels. - Fewer boxes: space, then a Separator, then a Card. One lifted box per view, never more than two deep. - Let the pen draw the boxes. No border, rounded, shadow, ring or overflow-hidden on Ballpoint components; corners and weight are pen settings, one radius for the app. - Icons are InkIcon. The red pen only for something lost or wrong. - Real, plain copy in sentence case, with straight quotes. Buttons say what happens. - Keep the specials (Annotate, MarginNote, Scrawl) to the drawn moment, not sprinkled everywhere. Leave the drawing on auto so it goes in reading order. - Check it at 390px wide and by night. When it's written, run the red pen over every file you touched: the `critique` tool on the ballpoint MCP server, or the Ballpoint skill's craft rules read line by line. Fix every mark (✗). Read the notes (·) and keep a note's line only where it is what you meant. Then type-check and build. If you can open a browser, look at it in the light theme and the dark one.
/ballpoint:convertMove a shadcn/ui app over to Ballpoint: same names and props, so mostly a redraw.Move this app from shadcn/ui to Ballpoint. $ARGUMENTS Ballpoint has shadcn's component names and props, so most of this is a redraw, not a rewrite. Work on a clean git tree, and tell me what you'll overwrite before you do it. 1. If the app has no components.json, or it has no @ballpoint registry, set Ballpoint up first: `npx shadcn@latest init https://ballpoint.st9wd.com/r/ballpoint.json` (React 19, Tailwind CSS 4). It writes the paper and ink tokens, the hand, and the stroke engine. Init keeps the existing components.json and adds the @ballpoint namespace. 2. List components/ui. For each file with a Ballpoint item of the same name (`search_components` or https://ballpoint.st9wd.com/llms.txt), diff it against a stock shadcn one. Stock: replace it with `npx shadcn@latest add @ballpoint/<name> --overwrite`. Customised: show me the diff and ask. 3. Say which components have no Ballpoint counterpart, and leave them. 4. Through the app's own code: - icon-set imports (lucide-react and the like) become InkIcon from @ballpoint/ink-icons; get_component("ink-icons") lists the names, which follow lucide's where they can - border, rounded, shadow and ring classes on Ballpoint components come off and become pen settings (radius, variant="lifted", passes) - palette colours (text-gray-500, bg-blue-600, hex) become ink pressures: text-ink-2, text-ink-3, bg-paper - variant="destructive" stays only on things that delete, remove or revoke - animation libraries come out: the pen draws in on its own 5. When it's written, run the red pen over every file you touched: the `critique` tool on the ballpoint MCP server, or the Ballpoint skill's craft rules read line by line. Fix every mark (✗). Read the notes (·) and keep a note's line only where it is what you meant. Then type-check and build. If you can open a browser, look at it in the light theme and the dark one. Finish with a short list: what was redrawn, what was left as it was, and anything that needs my eye.
/ballpoint:look <description>Pick or make a look (ink, paper, ruling, hand, face) that passes WCAG AA, and install it.Give this app a Ballpoint look: $ARGUMENTS A look is a whole style, by day and by night: the ink, the paper, the correction pen, the ruling, the hand (how rough, how heavy, what corners) and the face. 1. Read the twelve ready-made looks (`list_looks` on the ballpoint MCP server, or https://ballpoint.st9wd.com/llms.txt). If one fits, use it. 2. If none does, make one with `make_look`: give it an ink and a paper, and a hand and a face if the description asks for them. It presses the ink only as hard as the paper needs to pass WCAG AA, by day and by night, and gives back the look's code, its contrast and a preview link. 3. Show me the preview link and the contrast, and say in a line why it fits. 4. Install it with the line `make_look` or `list_looks` gives (`npx shadcn@latest add https://ballpoint.st9wd.com/r/style/<code>.json`). It writes the tokens and the face; nothing in the components changes.
/ballpoint:critique [path]Read files against the craft rules and mark them up like a teacher's red pen.Critique $ARGUMENTS against Ballpoint's craft. Without a path, take the .tsx files changed on this branch (git diff against the base branch, plus anything uncommitted). Read each file, then run the `critique` tool on the ballpoint MCP server with the file's whole source as `code` (the text itself, not a path or a summary) and its path as `file`. Without the server, read the craft rules (the skill's references/craft.md) and go through the file yourself. Report it the way a teacher marks a page: the grade first, then each file with its marks (✗, corrections) and notes (·, in the margin), as file:line, what's wrong in a few words, and the fix. Don't restate the rules. Then offer to fix the marks. Don't change anything until I say.
The MCP server
At /mcp, over streamable HTTP. It only reads: nothing you send is kept, and the red pen runs on the code you pass it and nowhere else.
craft- The rules that make a screen look drawn: one ink, the pen draws the box, drawn icons, the red pen for mistakes, specials as seasoning, reading order. Read before building with Ballpoint.
search_components- Find Ballpoint components by what they're for ("date", "menu", "chat message", "signature"). Empty query lists all of them. Returns names to pass to get_component.
get_component- A component's docs: install line, usage, props, pen settings and the source of every example. Start from the example closest to what you're building.
get_example- One example's source, as it lands in an app. Example names are listed in get_component.
list_looks- The twelve ready-made looks: ink, paper, ruling, hand and face by day and night, each installed with one command and passing WCAG AA.
make_look- Make a look from an ink and a paper (and optionally a hand, a ruling and a face). The ink is pressed only as hard as the paper needs to pass WCAG AA, by day and by night. Returns the look's code, its contrast, an install line and a preview link.
critique- Read a TSX file against the craft and mark it up like a teacher's red pen: a grade, then corrections (✗) and margin notes (·) with line, column and the fix. Static: nothing is run.
install- How to set Ballpoint up in an app, and how to give the app's agent the Ballpoint skill.