Home
cd ../playbooks
Creative & DesignIntermediate

UX Copy Audit & Refactoring System

Turn a CLAUDE.md style guide into an enforced standard across an entire product's content — bulk audits, diff-reviewed refactoring, and zero-risk read-only consistency reports across hundreds of files at once.

15 minutes
By Yuval KeshtcherSource
#ux-writing#content-audit#style-guide#content-design#claude-code-basics#content-ops#consistency

Your style guide says 'active voice, no click-here links, sentence case' and half your product still breaks all three rules — because enforcing a style guide by hand across 300 content files means reading all 300 files, and nobody has time for that.

Who it's for: UX writers who currently depend on developers for routine content changes, content designers wanting to enforce a style guide at scale instead of one file at a time, teams doing a pre-launch content audit across hundreds of strings, UX writers hesitant about AI editing production copy who want a zero-risk starting point, content teams tired of inconsistent terminology creeping back in after every review

Example

"Audit our /docs folder for tone violations" → A read-only markdown report flagging every file that breaks the CLAUDE.md style guide, with no files touched — then, once trust is built, a diff-reviewed refactor pass that fixes header capitalization and passive voice across the whole folder, approved change by change rather than blindly applied

CLAUDE.md Template

New here? 3-minute setup guide → | Already set up? Copy the template below.

# UX Copy Audit & Refactoring System

## Your Role

You are a content-systems tool for UX writers, not a one-off drafting assistant. Instead of copy-pasting text into a chat window one string at a time, you work directly against the project's actual files — auditing hundreds of strings for consistency, refactoring copy to match house style, and generating read-only reports, all governed by one style guide file you read before touching anything.

If you understand folders, files, and language, that's the whole prerequisite — no engineering background required. The shift this enables: from solving one copy problem at a time to building a repeatable quality process that scales across an entire product's content.

---

## Setup

### Install and authenticate

```bash
npm install -g @anthropic-ai/claude-code
```

Then run `claude` — this triggers browser login linking the terminal to your account.

### Navigate to your content

```bash
cd docs   # or whatever your actual content folder is called
```

Everything downstream works relative to wherever you're standing when you start.

---

## CLAUDE.md: The Master Style Guide

This is the system's brain. Before responding to any prompt, Claude reads this file — so voice, tone, formatting rules, and terminology standards get enforced automatically, without a manual correction cycle every single time.

Treat it exactly like a style guide you'd hand a freelancer on day one:

```markdown
# Content Style Guide

## Voice
[3-5 adjectives describing the brand personality, with do/don't examples]

## Tone Rules
- Active voice, [X]% of the time minimum
- Sentence case for all headings and buttons
- No exclamation points except in genuine celebration moments

## Terminology
- Always "sign in", never "log in" or "login" (as a verb)
- Always "workspace", never "project" or "team space"
- [Full list of approved/banned terms]

## Formatting
- Buttons: [Verb] [object], sentence case
- Error messages: [what failed]. [why]. [what to do].
- Never use "click here" as link text
```

Keep it specific and concrete — vague style guidance produces vague enforcement. "Be friendly" is not actionable; "use 'you' and 'your', avoid passive voice, keep sentences under 20 words" is.

---

## Three Core Workflows

### 1. Bulk Content Audit

Find a pattern across an entire content folder at once, instead of opening files one by one.

```
Scan the /docs folder. Find all links using generic text like "click here"
or "read more." List the file paths and suggest accessible alternatives
for each.
```

This is the workflow that actually justifies the switch from copy-pasting into a browser — finding every instance of a pattern across hundreds of files simultaneously, something no amount of manual review time makes practical.

### 2. Automated Copy Refactoring

Apply the style guide directly to a file and review the proposed change before it lands.

```
Read onboarding.md. Apply the rules from CLAUDE.md to fix header
capitalization and convert passive voice to active voice.
```

Claude shows a **diff view** of every proposed change before executing anything. Review it and approve with `Y` or reject with `N` — you stay the final decision-maker on every edit, not just the person who requested it.

### 3. Read-Only Consistency Report

For a zero-risk first pass — especially useful before trusting autonomous editing — ask for an audit with explicit instructions not to touch anything:

```
Read all files in the /emails folder. Check for tone violations against
CLAUDE.md. Do not edit the files. Just generate a markdown report listing
the issues.
```

Start here if the idea of an AI editing production copy files feels uncomfortable. Once the reports consistently match your own judgment, move to workflow 2 with confidence.

---

## Safety: Plan Mode vs. Normal Mode

| | Plan Mode | Normal Mode |
|---|-----------|--------------|
| Behavior | Proposes changes, waits for explicit approval | Executes directly |
| Safety | High | Lower |
| Speed | Slower, deliberate | Faster |
| Best for | Complex changes, first-time setup on a new project | Rapid iteration on a single file you're already watching closely |

**Always start in Plan Mode**, especially on a new project or a folder you haven't run this against before. Only move to Normal Mode once you've built confidence that the style guide is well-specified enough that Claude's proposed changes are consistently correct.

---

## The Skill Shift

The actual transition this enables isn't "writer who now uses a new tool" — it's writer who now designs quality-assurance systems. Instead of solving each copy problem individually, you build a repeatable process: a style guide file, a set of standard audit prompts, and a review habit that scales the same way whether the project has 20 content files or 2,000.

---

## Caveats

- **Data handling**: Claude Code processes files locally but sends text content to Anthropic's servers for processing. If working with enterprise or confidential copy, verify the account's data handling settings before running audits against sensitive material — the tool doesn't train on your content by default, but confirm this explicitly for anything sensitive.
- **Cost model differs from the chat app.** This runs on a per-token model rather than a flat subscription fee — typically pennies for a full day of audit work, but worth understanding before running it against a very large content folder.
- **This is not autocomplete.** Unlike a code-completion tool suggesting the next keystroke, this operates as an autonomous agent performing multi-file tasks independently — the diff-review step exists specifically because of that autonomy, not despite it.

---

## Rules

- Always read and apply `CLAUDE.md` before proposing any change — never freelance a style judgment the guide has already settled
- Start every new project in Plan Mode — earn the move to Normal Mode through demonstrated accuracy, don't default to it
- For read-only audits, state explicitly that files should not be edited — don't rely on the request's phrasing alone to prevent autonomous changes
- Review every diff before approving — bulk operations across many files raise the cost of a single bad automated judgment, not lower it
- Keep the style guide specific and concrete — vague voice guidance produces vague, inconsistent enforcement
README.md

What This Does

Shifts UX writing from copy-pasting text into a chat window, one string at a time, to running a style guide as an enforced standard across an entire project's files. A single CLAUDE.md file becomes the source of truth for voice, tone, terminology, and formatting — read automatically before every change — and three workflows (bulk audit, diff-reviewed refactor, read-only report) apply it at whatever scale the project actually needs, from one file to hundreds.


Quick Start

Step 1: Create a Project Folder

mkdir ux-copy-audit && cd ux-copy-audit

Step 2: Download the Template

Click Download above, then:

mv ~/Downloads/CLAUDE.md ./

Then edit the style guide sections to match your actual voice, tone, and terminology rules before running anything.

Step 3: Run an Audit

claude

Then ask: "Read all files in [folder] and check for style guide violations — don't edit anything, just report"


The Three Workflows

Workflow What it does Risk level
Bulk content audit Finds a pattern (e.g. "click here" links) across every file at once Read-only, zero risk
Automated refactoring Applies style guide rules directly, shows a diff, waits for Y/N approval per change Low — every change reviewed
Read-only consistency report Full tone/style check against CLAUDE.md, generates a report, touches nothing Zero risk

Start with the read-only report if the idea of AI editing production copy feels uncomfortable — move to refactoring only once the reports consistently match your own judgment.

Plan Mode vs. Normal Mode

Plan Mode Normal Mode
Behavior Proposes, waits for approval Executes directly
Best for New projects, complex changes Fast iteration once trust is built

Always start in Plan Mode.

Tips & Best Practices

  • Write a specific style guide, not a vague one. "Be friendly" enforces nothing. "Use 'you' and 'your', avoid passive voice, sentences under 20 words, never 'click here' as link text" is something Claude can actually check against.
  • Review every diff before approving a bulk refactor. The value of applying a style guide across 300 files at once is exactly why a single bad automated judgment is worth catching before it propagates — approve change by change, not in one blanket accept.
  • Read-only mode is the trust-building step, not a limitation. Ask explicitly for a report with no edits before ever letting the tool touch production copy — this is the fastest way to calibrate confidence in how well your style guide is specified.
  • State "do not edit the files" explicitly for audit-only requests. Don't rely on the request's general phrasing to prevent autonomous changes — say it directly.
  • This runs on a per-token cost model, not the chat app's flat fee. Typically pennies for a full day of audit work, but worth knowing before pointing it at a very large content folder for the first time.

Limitations

  • Data is processed locally but text content is sent to Anthropic's servers — verify your account's data handling settings before running this against confidential or enterprise-sensitive copy
  • This is a content-operations and consistency-enforcement tool, not a drafting or ideation tool — for actually writing new copy from scratch, pair it with a UX-writing craft playbook covering voice, patterns, and benchmarks
  • Best suited for projects with genuinely large content surfaces (dozens to hundreds of files) — the setup overhead isn't worth it for a five-page site you can review by hand in ten minutes

$Related Playbooks

Creative & Design

UX Writing Toolkit

Write and edit interface copy — buttons, errors, empty states, notifications — against research-backed benchmarks for sentence length, comprehension, and reading level, plus a tone framework that adapts to the user's emotional state.

5 minutes
Intermediate
Creative & Design

UI Designer

Extract design systems from reference UI images and generate implementation-ready design prompts — turn a screenshot into a consistent system you can build against.

15 minutes
Intermediate
Creative & Design

UX Copy Writer

Write or review UX microcopy including error messages, CTAs, tooltips, and empty states

10 minutes
Intermediate
Creative & Design

Accessibility Auditor

WCAG 2.1 AA accessibility audit for designs, prototypes, and web pages

10 minutes
Intermediate
Creative & Design

AI Presentation Generator

Generate complete presentations with AI - from outline to polished slides

10 minutes
Intermediate
Creative & Design

AI Design Director System

Replace expensive design agencies with an AI-powered design pipeline that learns your aesthetic preferences and produces premium designs on demand.

2 hours
Advanced
Creative & Design

Canvas Design

Create museum-quality visual art and design philosophy documents in PNG and PDF formats using Anthropic's canvas-design principles.

10 minutes
Advanced
Creative & Design

Design Critique Reviewer

Structured design feedback across usability, visual hierarchy, and consistency

10 minutes
Intermediate
Creative & Design

Design Handoff Generator

Generate comprehensive developer handoff documentation from design files

10 minutes
Intermediate
Creative & Design

Design System Manager

Audit, document, or extend a design system with component guidelines and tokens

10 minutes
Advanced
Creative & Design

Diagram & Flowchart Creator

Create professional diagrams using Mermaid, PlantUML, and other text-based diagram tools. Generate flowcharts, sequence diagrams, architecture diagrams, and more.

10 minutes
Advanced
Creative & Design

HTML to PowerPoint Converter

Convert HTML/Markdown to PowerPoint presentations using Marp

10 minutes
Advanced

Browse all Creative & Design playbooks →