audit_content
Evaluate content items like headings, prose, CTAs, and metrics against UX-writing heuristics. Get per-item verdicts, issues, and rewrite suggestions.
Instructions
Evaluate an array of content items (headings, prose, CTAs, labels, captions, metrics, outcomes) against UX-writing principles and deterministic heuristics. Returns a per-item verdict (pass/warn/fail) with matched principle ids, concrete issues grounded in principle text, a before→after rewrite suggestion, and an aggregate summary. Heuristics: metric items must carry a number+unit; cta/label must be action-led and ≤4 words; prose flags passive voice, jargon, and hedging; headings flag filler openers and buzzwords; captions flag duplication of any heading in the batch. Pure offline — no network or browser. Use this instead of evaluate_design when you need per-item content verdicts rather than the principle library.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goals | No | Optional content goals (e.g. ['clarity','conversion']); recorded for traceability. | |
| items | Yes | Array of content items to audit. | |
| system | No | Optional content-system id (e.g. 'ux-writing'); recorded for traceability. |