DesignersDesign System ManagementMedium30 mins

MCP use case: Auditing your documentation in zeroheight (and making changes)

Score your zeroheight docs against the Design System Documentation Spec (Thanks to PJ Onori!), get a prioritized, page-by-page list of fixes, and push them straight into zeroheight as drafts

What it is

Pointing an AI audit at your live zeroheight styleguide and getting back a concrete, page-by-page list of what to change to make your docs machine-readable. It reads your docs through the zeroheight MCP and scores every page against PJ Onori’s Design System Documentation Spec (DSDS), pinned to version 0.20.1, so results are reproducible.

The important part: it never asks you to write DSDS YAML or JSON. Every finding is an authoring move you can make in the editor (turn this prose into a Level-column table; give these states names; add a “For Agents” tab), with the DSDS intent named and tagged by severity. You get a Markdown report to read and a paste-pack to copy the fixes from.

Then, if you’re an editor or admin, you don’t have to copy anything. Ask the agent to push the fixes and it makes them in zeroheight for you, saving each page’s changes to that page’s draft (and skipping any page a teammate already has a draft open on). You compare the drafts with the live pages, then publish them yourself or ask the agent to. Nothing goes live on its own.

Realistic scope: a full-styleguide health check, a focused pass on just Components, pre-launch QA before you publish a new system, or a recurring AI-readiness audit you re-run to track your score over time.

Benefits

The obvious win is a prioritized to-do list instead of a vague sense that “our docs could be better.” It works blockers first, P1 to P3, so you work top-down and stop when your budget runs out. But the deeper benefit is that this is the groundwork that makes every other AI workflow actually work. All the other use cases degrade quietly when the docs are sparse. Fix the docs once, and every downstream tool gets sharper.

And because each finding is grounded in your pages (eg. “standardize this the way your Color page already does it”) it reads as cleanup, not a rewrite. The score gives you a number to show stakeholders and to watch climb.

The fixes also don’t have to wait for someone with a free afternoon. They’re already written from your own content, so applying them is mostly mechanical: a prose rule becomes a row in a guidelines table, a missing For Agents tab gets added, a hard-coded hex value becomes a live token. With write access the agent does that part, and your team spends its time reviewing drafts instead of retyping tables.

Pitfalls

The audit itself only reads your styleguide. Pushing the fixes needs write access: an editor or admin account, connected by login. A personal MCP URL is read-only, so without a login connection you paste the fixes in yourself. A few more:

  • Paste mechanics. If you’re pasting rather than pushing, zeroheight ignores raw Markdown on paste, so use the paste-pack (it puts rich text/html on the clipboard) and create containers (a new tab, callouts, Do/Don’t blocks) in the UI before pasting the body in.
  • Some fixes change a page’s structure. Adding a For Agents tab to a page that has no tabs means putting the existing content into a tab as well, so the agent asks before doing that (or adds For Agents as a section at the bottom of the page instead).
  • It won’t write over someone else’s draft. If a teammate already has a draft open on a page, the agent skips that page and tells you who’s editing it.
  • Honest scoring. Beautiful prose with no structure scores low.
  • Pinned spec. It audits against DSDS 0.20.1, a draft that moves. We’ll update the plugin when PJ updates the spec, but we might be slightly behind if we don’t notice a change.
  • Data control. Your docs are read through your own MCP connection under your credentials, but anything in your prompts still goes to the LLM provider under their policies.

What you'll need

  • A zeroheight styleguide with Remote MCP enabled (available on plans with API access). For the audit on its own, your personal MCP server URL from zeroheight.com/settings/user/mcp is enough.
  • To push the fixes as well: MCP access via login with write access switched on (an admin does this under Your organization → MCP), an editor or admin account, and https://mcp.zeroheight.com/mcp as your MCP URL instead of the personal one.
  • Claude Code or Claude Cowork with the zeroheight-audit-docs plugin installed (version 0.20.2 or later to push fixes), or GitHub Copilot in VS Code using the prompt files in the same repo.
  • A published styleguide you want to audit

How to set this up

  1. Install the plugin.
    1. Desktop (Cowork): Plugins panel → Manage Plugins → Add → Marketplace → Add from repository → zeroheight-demos/zeroheight-audit-docs → Install.
    2. Terminal: /plugin marketplace add zeroheight-demos/zeroheight-audit-docs then /plugin install zeroheight-audit-docs@zeroheight-dsds.

    Already have it? Update to 0.20.2 to get pushing: /plugin marketplace update zeroheight-dsds and then update the plugin (or refresh the marketplace in the Plugins panel).

  2. Connect your workspace. When prompted, paste your zeroheight MCP URL: your personal URL if you only want the audit, or https://mcp.zeroheight.com/mcp if you want to push fixes too (sign in to zeroheight when asked, and in Claude Code run /mcp and authenticate if you aren’t prompted). Test it by asking the AI to “list the top-level pages in our zeroheight styleguide”. Real titles back means you’re connected.
  3. Run the audit. /audit-docs, or scope it: /audit-docs just Components. Confirm the scope when asked.
  4. Push the fixes. When the report’s ready, the agent offers to push them. Say yes, or run /push-fixes (or /push-fixes just P1). It lists the pages and changes it’s about to make, then saves each page’s fixes to its draft.
  5. Review and publish. Compare each draft with the live page in zeroheight (or ask the agent to show you the changes), then publish. Not connected by login? Work the report top-down instead, copying segments from the paste-pack into the editor and creating any containers first.

Try it

Sample prompt

/audit-docs Button

Then, once the report’s ready: Push the fixes for Button into zeroheight as drafts, and show me what changed.

What good looks like

A Markdown report that leads with blocker counts and the share you can fix yourself, then per-page findings tables (check · rating · who · severity · the move), ready-to-paste snippets including a drafted “For Agents” tab, and a coverage appendix, paired with a paste-pack.html full of Copy buttons.

With write access, the next thing you see is a list of the pages and changes the agent is about to push, then a draft on each of those pages with the fixes already in, and the report marking what was pushed. Either way, your DSDS score climbs, and the docs stop tripping up every AI tool that reads them.