- The Ditto MCP server, preconfigured
- Session instructions that tell the agent to check Ditto styleguide rules and reuse existing text when writing user-facing text
- Skills:
/ditto-review: check the current diff’s user-facing strings against your styleguide rules and existing Ditto text; returns a fix-list./ditto-audit [path]: check the path for user-facing strings against your styleguide rules and existing Ditto text; returns a fix-list./ditto-spec-audit [component]: (for repos using Ditto specs) audit every instance of a specced component across the codebase against its spec’s rules./ditto-spec-component <component>: (for repos using Ditto specs) analyze a component, create or update its Ditto spec file (and specs for child components that lack one), and sync styleguide rules from the platform./ditto-spec-gaps [component]: (for repos using Ditto specs) find text patterns across component instances that should be styleguide rules but aren’t; create approved ones on the platform.
Install in Claude Code
Send each command as its own prompt:- Restart Claude Code and approve the ditto MCP server (if not approved already).
- Run
/mcp, select ditto, and choose Authenticate. A browser tab opens for you to log in to Ditto and approve access.
Claude Desktop
Click Customize:

https://github.com/dittowords/ditto-agent-setup:



Cursor
In Cursor Settings go to Plugins and pastehttps://github.com/dittowords/ditto-agent-setup in the “Search or Paste Link” input. Click on Ditto -> Add to Cursor.


Optional: set up Ditto Specs
Ditto Specs are*.ditto.md files that co-locate text rules with your components. Run /ditto-spec-setup and the agent will ask for confirmation, then install the specs CLI if missing, create dittospec.config.json and workspace.ditto.md, and scaffolds component spec files.
With specs in place /ditto-spec-audit, /ditto-spec-component, and /ditto-spec-gaps become usable.