Skip to content
Ballpoint

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.

/ballpoint:draw a sign-in page for a note-taking app called Margin: email and password, a magic-link option, and a link to sign up
2.5 minutes in real time
Waiting for the page…

Set up your agent

The plugin: the skill, the MCP server and the four commands, in one line typed into Claude Code.

bash
/plugin install ballpoint --marketplace useit015/ballpoint

Before Claude Code 2.1.275, in two: /plugin marketplace add useit015/ballpoint, then /plugin install ballpoint@ballpoint.

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.

  • Sign in
    "/ballpoint:draw a sign-in page for a note-taking app called Margin: email and password, a magic-link option, and a link to sign up"
    npx shadcn@latest add @ballpoint/sign-in-01

    As the agent wrote it: no changes by hand.

    Open it
  • Pricing
    "/ballpoint:draw a pricing page with three plans (Free, Pro at $8 a month, Team at $20 a seat) and a monthly/yearly switch"
    npx shadcn@latest add @ballpoint/pricing-01

    As the agent wrote it: no changes by hand.

    Open it
  • Settings
    "/ballpoint:draw an account settings page: a profile with an avatar, email notification switches, and a danger zone to delete the account"
    npx shadcn@latest add @ballpoint/settings-01

    As the agent wrote it: no changes by hand.

    Open it
  • Chat
    "/ballpoint:draw a chat screen where someone plans a weekend trip with an AI assistant, showing the steps the assistant took"
    npx shadcn@latest add @ballpoint/chat-01

    Changed by hand: The plan scrolls on its own, so it takes focus: without it, a keyboard can't scroll it (axe, scrollable-region-focusable).

    Open it
  • Dashboard
    "/ballpoint:draw a dashboard for a writing-habit app: the current streak, words written this week as a chart, a year of activity, and recent entries"
    npx shadcn@latest add @ballpoint/dashboard-01

    As the agent wrote it: no changes by hand.

    Open it
  • Onboarding
    "/ballpoint:draw a three-step onboarding for a recipe app: pick a diet, pick favourite cuisines, and set a weekly cooking goal"
    npx shadcn@latest add @ballpoint/onboarding-01

    As the agent wrote it: no changes by hand.

    Open it

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.

  • /ballpoint:convert Move a shadcn/ui app over to Ballpoint: same names and props, so mostly a redraw.

  • /ballpoint:look <description> Pick or make a look (ink, paper, ruling, hand, face) that passes WCAG AA, and install it.

  • /ballpoint:critique [path] Read files against the craft rules and mark them up like a teacher's red pen.

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.