CLAUDE.md (Claude Code), .cursorrules (Cursor), or similar.
Below are example instructions organized by tool.
Style guide rules
Theget_styleguide_rules tool lets your agent fetch your team’s content rules and apply them when writing UI text.
Generate UI with compliant text
Add this to your agent instructions to apply style guide rules whenever the agent creates new UI:get_styleguide_rules before writing any user-facing strings, and apply those rules to the text it generates.
Audit existing strings
You can also use the tool to check and fix text that already exists in your codebase:Text search and reuse
Thesearch_ditto_text tool lets your agent find and reuse strings that already exist in your Ditto projects.