content-md 0.0.0-stage → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/guide/SKILL.md ADDED
@@ -0,0 +1,272 @@
1
+ ---
2
+ name: content-md
3
+ description: Write, review or rewrite product microcopy (buttons, errors, empty states, dialogs, onboarding, permissions, paywalls, checkout, settings, forms, KYC, consent, referrals, AI chat UI) using patterns from 7,000+ labeled real-app examples and 15 public style guides.
4
+ ---
5
+
6
+ # UX writing from shipped-copy patterns
7
+
8
+ These rules come from a labeled set of shipped interface copy. Each piece was labeled for pattern, element, intent, tone and a 1 to 3 quality score. Every rule below is backed by examples that scored 3, and every "not this" by examples that scored 1. They were then checked against 15 public style guides (Apple HIG, Atlassian, Baymard, Carbon, GOV.UK, Microsoft HAX, Intuit, Mailchimp, Material, Microsoft, NN/g, Google PAIR, Polaris, Salesforce). Where a guide adds something screenshots can't show, it's cited in [brackets].
9
+
10
+ ## How to work
11
+
12
+ 1. **Name the pattern and the element.** Which situation is this (see the playbooks below)? Which piece are you writing: headline, body, primary button, secondary button, label, placeholder, helper text, inline error, toast, legal line, badge?
13
+ 2. **Name the one job of each piece.** Inform, explain why, instruct, reassure, warn, confirm an action, recover from an error, ask for a permission, celebrate or sell. If a piece has no job, cut it.
14
+ 3. **Write the button first.** It is the decision. The headline and body exist to make the button obvious.
15
+ 4. **Check against the universal rules, then the pattern's playbook.**
16
+ **Use only the facts you were given.** Never invent prices, plans, discounts, counts, features, timings or behavior. If a line would help but needs a fact you don't have, leave it out of the copy and suggest it after, as a note ("If the link is public, add..."). Placeholders like [X]% inside the copy count as inventing.
17
+ **Keep what already works.** When rewriting, change only what breaks a rule. Don't rewrite a clear line for style.
18
+ 5. **When reviewing,** quote the original, name the rule it breaks, and give the rewrite. When writing from scratch, give 2 or 3 options with a one-line reason each, and recommend one.
19
+ 6. If the project's shared folder has example copy, use it as evidence for the case at hand, and cite the product when you quote one.
20
+
21
+ ## Universal rules
22
+
23
+ - **Buttons are verb + object, matching the headline's noun.** "Track new bill", "Delete event", "Explore courses". Avoid "Continue", "OK", "Yes" or "Next" when a specific verb fits. "Continue" was the most common button in the data and is rarely the best one.
24
+ - **Both buttons in a pair name their outcome.** "Keep event" / "Delete event", "Stay here" / "Leave without saving". If the action itself is cancelling something, never label the safe option "Cancel".
25
+ - **The body never repeats the headline.** It adds what the headline can't: why, what's lost, what happens next, or how to fix it.
26
+ - **Be specific: name the thing, the value, the count, the time.** "Date updated to Tomorrow 17:00", "Uploading 2 of 3", "may take up to 2 hours", "7 meetings and 20 messages left this month".
27
+ - **Tell people what happens next,** especially after money, orders and irreversible actions.
28
+ - **Don't blame the user.** Avoid "invalid", "illegal", "you forgot", "you didn't"; describe the field or the fix instead [GOV.UK, NN/g, Polaris]. **Don't joke about their loss.** Humor works in empty states and celebrations. It fails in errors, payments and deletion ("Maybe we didn't pay a bill..." in a payments app).
29
+ - **No "Oops", "Hmm" or exclamation marks when something failed.** Save one exclamation mark for real wins [Polaris, Carbon, Material].
30
+ - **Apologize only for serious problems the product caused,** never in validation errors. Use "please" only when the person is inconvenienced [GOV.UK, Salesforce, Microsoft].
31
+ - **Cut filler:** "successfully", "please note that", "to get started", "it looks like", "simply", "just", "easy", "No worries!" Also vague padding ("all in one place", "a great way to"). **Don't repeat a phrase across elements** on one screen: if the body says it's permanent, the inline error doesn't need to, and two labels shouldn't both start "To confirm".
32
+ - **Name the specific object.** "Delete {project}?" beats "Delete this project permanently?". Use the item's real name or a placeholder for it in headlines and buttons.
33
+ - **No jargon or error codes.** Log codes in the back end; write the effect in words [GOV.UK, NN/g, Carbon].
34
+ - **Use sentence case,** and keep casing the same within a product. Mixed "Reset All" / "Reset all" on one screen reads as a bug.
35
+ - **Address the user as "you".** Use "we" when the product takes responsibility ("something went wrong on our end"). Copy written in the user's own voice ("I understand my subscription starts today") is for consent and prompt chips only.
36
+ - **Use numerals** ("3 messages", "Step 2 of 6") and **one term per concept** across the product [Material, Mailchimp, Microsoft].
37
+ - **Link text says where it goes.** Never "Click here"; at most one "Learn more" per screen [Apple, Mailchimp, Polaris].
38
+ - **Inclusive, plain language:** singular "they", no "guys", "turn off" not "disable", "allowlist" not "whitelist", people-first disability language [Mailchimp, Polaris, Microsoft].
39
+ - **Proofread.** Typos ("Lets add some services"), missing articles ("By placing order") and broken templates ("New The Rare Occasions show") were the most common reasons for a score of 1.
40
+
41
+ ## What screenshots can't show (from the public guides)
42
+
43
+ The harvest shows words, not timing or behavior. When writing or reviewing, also specify these:
44
+ - **Validate when the person leaves a field,** clear the error as soon as it's fixed, and never clear what they typed, including card details after a payment error [NN/g, Baymard, GOV.UK].
45
+ - **Put the error next to the field and keep it visible until fixed.** A summary at the top is extra, not a replacement [Apple, NN/g, Polaris, GOV.UK].
46
+ - **Don't signal errors with color alone.** Prefix "Error:" when there's no icon [NN/g, Salesforce, GOV.UK].
47
+ - **Keep labels; placeholders are only hints.** Never put required rules or formats only in a placeholder or tooltip. Mark optional fields "(optional)" [Baymard, NN/g, Polaris, GOV.UK].
48
+ - **Match intrusiveness to impact.** No modal for a small error. Don't use an auto-dismissing toast for an error people must act on [NN/g, Salesforce].
49
+ - **Confirm only actions that destroy work, cost money or can't be undone.** For everything else, act and offer Undo [NN/g, Intuit, Microsoft, Apple].
50
+ - **Ask for permissions when the feature is first used,** not at launch [Apple, NN/g].
51
+ - **Don't show "No results" or an empty state while content is still loading** [NN/g].
52
+ - **Offline: don't alert at launch.** Show cached content with a quiet label, say changes will sync, and don't offer "Try again" when it will certainly fail [Apple, Intuit, Material].
53
+ - **Keep sensitive data out of push notifications,** with a generic body for hidden previews [Apple, Intuit].
54
+ - **Failed sign-in: don't say which of email or password was wrong** unless rate limiting is in place [GOV.UK, Baymard].
55
+
56
+ ## Defaults where sources disagree
57
+
58
+ | Question | Default |
59
+ |---|---|
60
+ | "We" in errors | Only when the product caused the problem. |
61
+ | Button casing | Sentence case, unless the platform's own style is title case. |
62
+ | Pre-permission button (before the iOS system prompt) | On iOS follow Apple: "Continue" or "Next", never "Allow". On web, use an outcome verb ("Turn on notifications"). |
63
+ | Decline label | "No thanks", unless you will genuinely ask again later; then "Not now" or "Maybe later". |
64
+ | Safe button in a dialog | Name the safe outcome ("Keep project", "Keep subscription") whenever the action destroys, cancels or costs something. Plain "Cancel" only in neutral dialogs. |
65
+ | Required fields | Mark optional ones; add asterisks only on long forms. |
66
+ | Sign-in wording | Pick one pair ("Log in / Sign up" or "Sign in / Sign up") and keep it everywhere. |
67
+
68
+ ## Pattern playbooks
69
+
70
+ ### Empty state
71
+ Treat the absence as a start. Say what will appear here and why it's useful, then give one action.
72
+ - Do: "You haven't enrolled in any courses (yet)" / "Explore courses" (Coursera). "We'll automatically save your viewed cars here to make it easier to find deals you've seen before." (Skyscanner). "Choose the accounts you can't miss out on" (Instagram).
73
+ - Where saving happens by gesture, teach it and name the icon: "Tap the heart icon when viewing hotel details to save to your Wishlists." (IHG). On web tools, the headline can be the next step: "Add filters to start building your list" (HubSpot).
74
+ - Not this: "You don't have any bills" with no reason to add one. A literal zero ("There are 0 items on wish list.").
75
+
76
+ ### Error (inline and page)
77
+ Lead with what happened in plain words, then the fix. Inline errors give the fix, not the verdict.
78
+ - Do: "Try using the format yourname@email.com" (HBO Max). "That username is already taken. Try another one or use one of these available options." (Microsoft). "We couldn't save your integration. Please try saving again." (Typeform). "Sorry, something went wrong on our end." (Remote).
79
+ - Payment failures: answer "was I charged?" ("If money was deducted from card (**2652), refund will be initiated within 24 hours", Zomato), give the likely cause without blame ("may have been declined by your bank or card issuer", Kraken), and offer another route, not just retry ("Try another card").
80
+ - Form-error banners: count and locate ("1 error — please review the highlighted fields above.", Cloudflare). Each listed item states the rule, and an example of a valid value helps.
81
+ - Error titles are 3 to 4 words in past tense ("Upload failed") [Atlassian]. For an empty field, write the instruction using the field's words ("Enter your first name") [GOV.UK]. Tell "incomplete" apart from "not valid" [Baymard]. If you don't know the cause, don't invent one. After repeated failures, offer a contact route [NN/g]. Unusual but possibly valid input gets a warning, not a block [Baymard].
82
+ - Not this: "This email is invalid." "The email you entered is not a valid email." A raw exception or error ID as the message. "Something went wrong" with nothing after it. "Done" as the button after a failure.
83
+
84
+ ### Toast / snackbar
85
+ Name the object and the new state in a few words. Offer "Undo" for anything destructive.
86
+ - Do: "Wednesday has been removed from My List." (Netflix). "Medical insurance saved" (Zocdoc).
87
+ - Add the consequence when there is one: "Please allow a few minutes for the changes to take effect." (HubSpot). Error toasts state the limit: "Video size must be less than 15MB" (Posh).
88
+ - At most one action, two words max, usually "Undo"; never "Dismiss" or "Cancel" [Carbon, Material]. No links in toasts.
89
+ - Not this: "Success" as a title. "You have successfully updated the listing". Raw error codes. A toast that repeats a modal shown at the same time.
90
+
91
+ ### Confirmation dialog
92
+ Headline is the action as a question ("Delete event?"). Body says what is lost or when it takes effect. Buttons repeat the verb and object.
93
+ - Do: "Drafts do not save images and videos." (Reddit). "This will take effect at the end of your final billing period." (Netflix). "Keep event" / "Delete event" (LinkedIn).
94
+ - Cancel sheets for rides or bookings can ask for a reason instead of "are you sure", with a safe button that says what staying means ("Wait for driver", Freenow). Subscription cancel sheets lead with the loss and its timing ("Your benefits will end today", talabat; "Lose access to 6 saved ideas", Deepstash). Remove-member dialogs say what access goes and how to undo it ("...will need to be reinvited", Whop).
95
+ - Don't make the destructive button the default. Where closing might lose work, save a draft and say so ("Your recent edits are saved as a draft...", Lindy) [NN/g].
96
+ - Not this: a bare "Are you sure?" that doesn't name the thing. "Are you sure you want to delete this transaction?" is fine when it names the object; don't rewrite it just to drop "Are you sure". A bare "Confirm". A button that names a different noun than the headline ("user" vs "team member"). Title "Delete gift" with a button "Yes, remove". "CONTINUE" as the destructive button.
97
+
98
+ ### Account or workspace deletion
99
+ Offer the alternative first if one exists, then list what's lost in concrete nouns, then add friction that matches the stakes.
100
+ - Do: "Downgrade to free instead" (Dovetail). "Any Railcards you've bought" + "We can't get them back." (Trainline). Flag billing traps: "your subscription will stay active". For workspaces: typed confirmation ("Type DELETE WORKSPACE to confirm."), a first-person checkbox, and a button that names the workspace.
101
+ - Pause instead of delete: name the alternative ("How about a pause instead?", Hinge), say what is hidden and what still works ("You can still chat with your current matches."), and head off surprises: time limits, billing ("Your subscription won't be paused automatically..."), and the timeline to permanent deletion.
102
+ - Word choice: "Delete" destroys, "Remove" takes something out of a context, "Move to trash" when it's recoverable [Carbon]. Say "permanently" when it can't be undone [Microsoft, GOV.UK].
103
+ - Give a restore deadline when one exists ("This project can be restored until 2024-09-24", GitLab). When leaving a team, say what happens to the user's work ("Everything you have created will remain accessible to the rest of the team.", Todoist).
104
+ - Not this: a vague "All your data will be deleted" with no list. Jokes ("Danger, Will Robinson!").
105
+
106
+ ### Onboarding
107
+ Welcome: a 3 to 5 word promise, "Get started", "I already have an account". Goal questions: the question, one line on why you ask or that it can be changed, then verb-first options plus an escape.
108
+ - Do: "Tell us where you want to go so we can help you get there." (Tonal). "We'll personalize recommendations based on your goals." (Calm). "You can always update your answers." (Blinkist). Options like "Something else" (Yazio).
109
+ - Naming steps (team, workspace): the question, where the name is used, and that it can change ("Your team name creates a unique domain..." + "Don't worry – you can change this later.", Cloudflare). Use a specific button ("Create team").
110
+ - Feature slides: name a limitation and its reason, or define a new term inline. Keep "Skip". One concept per card, and prefer tips in context over a launch tour [NN/g, Apple]. When a familiar product changes, stay practical rather than "Exciting news!" [NN/g].
111
+ - Not this: the brand name as the headline. Slogans ("Simple. Secure. Personal."). "Science based approach" as a promise.
112
+
113
+ ### Permission request (before the system prompt)
114
+ Lead with the benefit, not the permission. Put the permission word in the button. Name specific events. Add a short reassurance line. Use a soft decline.
115
+ - Do: "Keep up with your rewards" (Chick-fil-A) + "...when you've earned reward points and when rewards are about to expire." "helps us detect suspicious activity & protect your account." (GoPay). "Your location will never be shared." "Turn on notifications" / "No thanks" (or "Maybe later" only if you will ask again). Offer a smaller ask where possible ("Turn on mention notifications", "Only use approximate").
116
+ - Match reassurance to the specific fear: contacts ("we don't store any of your phone book data and we never contact anyone.", Polarsteps), location ("Your location will never be shared."). Let the decline finish the task another way ("Choose existing photo", Klarna; "Skip and find friends manually").
117
+ - No dark patterns: no "(Recommended)" on the allow option, no incentives for tracking [NN/g, Apple]. No "better experience"; name the benefit [NN/g, PAIR].
118
+ - Write the iOS purpose string as carefully as the screen: "To search by image, Klarna needs to access your camera."
119
+ - Not this: "Don't miss out!". Lists that end in "and more". Purpose strings like "App needs your permission to access the PhotoLibrary". Gating signup on a permission. When already denied, don't re-ask; link to settings ("Go to settings").
120
+
121
+ ### Loading and progress
122
+ Name the real task, give a count or a time if you have one, and say whether it's safe to leave.
123
+ - Do: "Assessing your eligibility..." (Afterpay). "Uploading 2 of 3" (Savee). "Keep this window open so your bulk import can continue uninterrupted." (PandaDoc). "Please don't leave the page until it's done. Or cancel anytime." (Savee).
124
+ - Payment waits: pair "don't close" with a time limit ("it can take up to 60 seconds to process your order.", H&M), or let people leave and say how they'll hear ("You can close or leave this page. We will send you an email...", Garmin).
125
+ - Long AI generation: a step checklist with real counts and time ("Identified 50 relevant papers using search", "0:27 elapsed (5 minutes estimated)", Elicit). Use the wait for a useful tip ("Fundraisers shared on the first day are 3x more likely to receive donations.", GoFundMe).
126
+ - Not this: a bare "Preparing...". "This should only take a moment." when you don't know. Playful filler that says nothing ("Baking fresh ideas..."). A prohibition with no reason ("Do not refresh the page."). A "Close" button next to "keep this tab open".
127
+
128
+ ### Search with no results
129
+ Use the headline for the fix or the reason. Name the filters and offer to clear them. Suggest a concrete search.
130
+ - Do: "Tweak your search" (Pinterest). "None of your files or folders matched this search" (Google Drive). "Remove price" / "Clear all filters". "Try searching for a topic like `gratitude`" (Calm). "Search completed tasks" (Todoist).
131
+ - Repeat the query back. Handle typos with "Showing results for" or "Did you mean", never "You misspelled" [NN/g, Material, PAIR].
132
+ - On maps, the fix is a gesture: "Try zooming in or out, panning to a new location, or adjusting any of your selected filters." (Strava). Explain hidden rules: "Results only show locations that have times available and your vaccine(s) in stock." (CVS). Use domain fixes: "Try searching by city instead of train station" (TravelPerk).
133
+ - Not this: "No results found" alone. An apology with no next step ("Sorry, there are no cafes in this area."). "All results for '{query}'" above zero results.
134
+
135
+ ### Offline
136
+ Don't blame, say what still works, and link to the fix, not just "Retry".
137
+ - Do: "You seem to be offline" (GoPay) + "Please check your WiFi or internet connection in Settings and try again." + "View settings". "We're having trouble connecting" (MyDyson).
138
+ - Where the product works offline, frame it as a feature: "Available offline" (Headspace), or list what still works (Apple Maps). On web, keep the failure inside the panel that failed and announce recovery ("Back online", Revolut Business).
139
+ - Not this: "Network Error". Showing the same offline message twice (screen and toast). Telling users to "verify organizational policy". An offline screen with only a close button.
140
+
141
+ ### Push notification
142
+ Title says what happened; body says what's next or what to do. One idea per notification.
143
+ - Do: "Your Gopuff order is packed! A driver will pick it up shortly." "Please go to the Pickup area." (Chick-fil-A). "{name} joined less than a mile from you." (Nextdoor).
144
+ - Only for timely, useful events, not promotions; batch bursts into one summary. Don't repeat the app name [NN/g, Apple]. Keep security alerts calm [Intuit].
145
+ - Live status (Live Activities, delivery widgets): time first ("Arriving in 5 mins"), then the next step ("Driver is here" / "Leaving in 5 min", Lyft).
146
+ - Notification settings: each toggle names the exact trigger ("Know when your saved items drop in price", Shop) and, ideally, how often ("A few alerts a week.", NYT). Offer a gentler off switch ("Pause all notifications").
147
+ - Not this: countdown pressure on payments ("Pay now", "ends in 59:08"). Upsell countdowns inside a status card. Taglines as toggle descriptions. Templates that break grammar when filled.
148
+
149
+ ### Success
150
+ Confirm the outcome, then say what happens next with a number. Don't upsell on the same screen unless it's relevant.
151
+ - For a completed order or service: the reference number, what happens next and when, and how to get help [GOV.UK]. Frequent successes get minimal delight [Atlassian].
152
+ - Do: "Payments to UK banks are normally instant, but may take up to 2 hours." (Starling). "...will be reflected in your balance within 24 hours." (Apple Wallet). "Done" is a fine closing button.
153
+ - Orders: make the arrival time the headline ("Arriving in 8 minutes", Blinkit) and explain gaps ("We'll assign a delivery partner as soon as your order is packed").
154
+ - Bookings: give an exact cancellation cutoff with time zone ("You can cancel for free before Mar 17 at 11:00 AM (attraction time zone)", Booking.com), and say which reference number to use. Say "submitted", not "confirmed", while pending.
155
+ - Web setup complete: the button names a destination ("Continue to dashboard").
156
+ - Not this: two reference numbers with no hint which matters. Leaked templates ("{Occasions: Birthday}"). "Back" as the primary button.
157
+
158
+ ### Paywall / upsell
159
+ State the trial, the price after it, and how to cancel, in one line near the button. Make badges say who a plan is for.
160
+ - Do: "Free until Mar 18, then $179.95/year + applicable taxes." (pliability). "Cancel anytime in the App Store" (Duolingo). "You can cancel anytime during your trial." under the button (Linktree). "2-6 MEMBERS" (Duolingo).
161
+ - Limit-reached modals: name the exact limit and plan ("You can only have one project on the Free plan", Maze), offer a free way out ("Or archive a project to create a new one."), and let the decline say what you keep ("Continue With Free Plan"). Loss framing from the user's own usage works ("0 / 5 shared lists", Superlist).
162
+ - Name every fee and what it's for, and make plan differences explicit [NN/g]. No confirmshaming on the decline ("No, I don't want to save money") [Intuit, Material].
163
+ - Comparison rows: verb-led outcomes with numbers ("Get alerts for wrong turns", AllTrails).
164
+ - Not this: "TRY FOR $0.00" hiding the real price. Bare comparatives ("More messages", "More uploads"). Unexplained branded feature names. Grammar slips ("Everything what is included...", "Continue with 3 days trial"). Unrounded prices.
165
+
166
+ ### Sign-up and login
167
+ Show password rules up front in one line; when one fails, name that rule. Offer a way forward when the email exists. Offer passwordless login in the user's words.
168
+ - Do: "8+ characters, one number, and one capital letter" (Air). "Passwords should have at least 10 characters." (Mural). "Email me a login link" (GetYourGuide). "Forgot password?" (pick one form and keep it).
169
+ - Offer "Show password" and "Forgot password?". Let people see value before a login wall [NN/g].
170
+ - Verify-code screens: give a way out at every stuck point: wrong address ("Send to a different email", Cleo), resend cooldown in the sentence ("request another code in 27 seconds", Booking.com), a fallback ("Log in with password"), and a specific spam hint ("Check your spam and promotions").
171
+ - Negative password rules need examples: "No sequences (abc, 123)" (7shifts).
172
+ - Not this: "Make sure it's strong!" as a rule. A headline that says "Change" with a button that says "Reset". Rule lists that switch grammar line to line. Listing every rule only after failure. "An account with this email already exists." with no "Log in instead". "Next" on the final login step. "LOGIN" as a verb (it's "Log in").
173
+
174
+ ### Tooltip / coachmark
175
+ Gesture + payoff, in one short line. Step counter "2 of 3". Dismiss a standalone tip with "Got it"; in a multi-step flow use "Next", and the last step says "Finish" or "Done".
176
+ - Do: "Swipe up to see more videos" (Uber Eats). "Use two fingers to pan." (Weavy).
177
+ - Title with the benefit, not the feature name ("See who's calling with Knock Knock", not "New Tab View") [Atlassian]. Header up to about 60 characters, body up to about 130, no links; skip the tooltip if it only repeats the label [Intuit, NN/g].
178
+ - Setting tooltips explain both sides of the toggle: "See your friend's video before you pick up. And, let people you call see your video before they answer." (Google Meet).
179
+ - "Feature moved" callouts say where it went, and the button goes there: "now just a click away – right in your navbar." + "Open cookbooks" (Kitchen Stories).
180
+ - Not this: marketing openers ("Experience the power of...", "Easily add..."). A body that restates the headline.
181
+
182
+ ### Checkout
183
+ Put the amount in the pay button. Legal lines name the button and the consequence. Add trust and timing lines near the button.
184
+ - Do: "Pay $69" (SuperHi). "By clicking Buy now, you agree to Patreon's Gift Terms..." "You'll be charged when your items ship" (Faire). "Your information is secure and encrypted" (TikTok). "All tips go directly to your courier – we don't take any cut" (Keeta).
185
+ - Buttons name the next step ("Continue to payment"), and the last one is explicit ("Place order") [Baymard]. Say "Security code", not "CVV". Show delivery as a date range. Confirm what a promo code changed ("15% off applied"). Never add new fees at the review step. "Continue as guest" uses the word guest; third-party pay buttons name the provider [Baymard].
186
+ - Address forms: put constraints and reasons next to the fields before anyone types ("We don't ship to P.O. Boxes...", Thrive Market; "Your ZIP Code is used to calculate applicable sales tax.", Vinted; "We'll only use this to contact you about a delivery.", Deliveroo).
187
+ - Subscriptions: separate today's charge from the recurring one, with dates ("Today: 1 month for $0.00" / "Starting Dec 19, 2024...", Spotify). Consent lines name the button, the recurrence and where to cancel ("By selecting 'Pay now', I understand... I can cancel anytime by going to my Billing page", Mailchimp).
188
+ - Not this: a placeholder that repeats the label ("Enter your Card Number"). "Click here for instructions." Terms that never say how to cancel. Hiding SMS consent inside order terms. A button whose text turns into "Loading...".
189
+
190
+ ### AI chat interface
191
+ This covers the product's own copy around the assistant, not the generated answers. Disclaimers add an action. Placeholders teach an input or shortcut. Limit messages are short, numeric and state the consequence. Prompt chips are verb-led or in the user's voice, never mixed on one screen.
192
+ - Do: "Le Chat can make mistakes. Check answers." "Type, talk, or share a photo" (Google). "Type / for quick access" (Mistral). "You've reached your search limit. Add more credits to keep going." (Workable). "When your limit is reached, Fin will stop replying to conversations. These conversations will be routed to your teammates." (Intercom).
193
+ - Side panels inside another product: say what the assistant can see ("Ask about the selected account", Rox; a "Current file" chip). Show agent progress plainly ("Ran 2 actions", "Thought for 36s") and pre-warn long runs ("This can take up to a minute.", Zapier).
194
+ - Feedback: use reasons specific to the product ("Wrong sources", Perplexity), keep the list short, and say where feedback goes ("Your feedback will be shared with the agent creator.", Langdock).
195
+ - Set expectations up front: what it can do, its main limits, and that it can be wrong [HAX, PAIR]. When it can't help, say what's missing and give a way forward ("This topic isn't in your knowledge base yet", ManyChat) [PAIR]. Label AI-generated content and let people edit, revert and dismiss it [Carbon, HAX]. Lead with the benefit, not the technology ("Introducing Grok 4.1" is the anti-pattern) [PAIR].
196
+ - Assistant onboarding: admit limits and name the handoff to a human ("AI assistants know a lot, but they can't do everything... Mo can redirect you to our medical or support team", Alan).
197
+ - Not this: "It looks like you've exhausted all your credits. No worries!" Long hedged disclaimers. A greeting that uses the user's full name or email address. Twenty feedback reasons.
198
+
199
+ ### Settings and preferences
200
+ Each toggle label says what it controls; the helper line says what changes when it's on, in plain words.
201
+ - Do: "Keep data stored only on your device" (Wispr Flow). "When enabled, you won't be suggested as a friend to other members who have your email or phone number in their contacts." (Future Pro).
202
+ - Group by what people are trying to do, not by system. Section titles are short nouns ("Display", "Privacy").
203
+ - Not this: internal jargon as labels ("Chart Drawings Sync Mode", "Sync RPE with Health"). One-word labels with no object ("Character"). Consent or tracking switches buried in a long list in Title Case.
204
+
205
+ ### Menus and navigation
206
+ Labels are short verbs or nouns that match what the next screen is called. Order by risk.
207
+ - Do: put destructive items last and in red, with the reversible option above them ("Archive" above "Delete"; "Move to Trash" when it can be recovered).
208
+ - Use an ellipsis only when the item asks for more input ("Rename...", "Move file to..."), and do it consistently.
209
+ - Not this: "Delete account" styled like every other item. Two items with different names that open the same screen.
210
+
211
+ ### Forms (general)
212
+ Labels are nouns, helper text answers the question people would ask, and optional fields say so.
213
+ - Do: explain locked fields and how to change them ("Your last name needs to match your legal name. To update your legal name, contact Support.", Cash App). Mark optional fields and show an example in the placeholder ("Instructions (optional)", Manus). Say why a field exists when it's not obvious ("For personal trip receipts only", Freenow).
214
+ - Not this: helper text longer than the field needs. Jargon labels ("Workspace slug") with no explanation.
215
+
216
+ ### Identity verification (KYC)
217
+ Say why you're asking, what to have ready, and how long it takes. Give instructions for the moment people are most likely to fail.
218
+ - Do: "Stay on the page. Don't switch tabs or apps until your selfie is uploaded, even if it takes a little longer. Otherwise, you'll have to start over." (Wise). Name accepted documents and photo rules (lighting, no glare). Give a time after submitting.
219
+ - Be consistent: guides disagree on glasses (Chime says remove them, Nutmeg and Revolut allow them). Pick one rule and state it.
220
+ - Not this: "Submit Report" on a selfie step. "15 Minute(s)". Grammar errors on a trust-critical screen.
221
+
222
+ ### Invite and share
223
+ Say what the invitee gets, what access the link grants, and offer a way to skip.
224
+ - Do: "Anyone with WhatsApp can use this link to join this call. Only share it with people you trust." (WhatsApp). Skip options that sound neutral: "I'll do this later" (Dub), "Continue without inviting" (Pin).
225
+ - Not this: wordy invite explanations. Hiding that a link is public.
226
+
227
+ ### Referral and rewards
228
+ Lead with what both sides get, in amounts, and state when the reward arrives.
229
+ - Do: "$10 for you, $10 for a friend" (Instacart). "Earn $60, give $20" (Klarna). Name the trigger: "Get two $10 coupons - one after a friend's 1st order ships, one after the 2nd." (Yami).
230
+ - Not this: a deadline sentence that's cut off ("Your friends have 30 days to"). Stacked countdowns and urgency on a referral page.
231
+
232
+ ### Rating and review prompts
233
+ Ask about something specific, and make the follow-up fit the rating given.
234
+ - Do: "What did you love about it?" (Ahead). Tell people what makes a review useful: "Helpful reviews mention specific items and describe their quality and taste." (DoorDash). Change the follow-up for low scores (Tabby). Put the extra in the button when there is one ("Submit (With Tip)", Shopee).
235
+ - Not this: "Rate us 5 stars" (review gating, also against store rules). Asking "what did you love" after a 1-star rating.
236
+
237
+ ### Subscription management
238
+ Show plan, price, renewal date and where billing is managed. At the point of change, say what's lost and when.
239
+ - Do: "If you cancel your subscription, you will lose access to your favorites and see ads again." (DailyArt). "Changing your plan will immediately end your trial and your card will be charged." (Kajabi). Say when billing is elsewhere ("Subscribed via App Store", Yazio). Warn before a service gap ("Auto reload is disabled. You could experience potential API interruptions when you use up your credits.", Claude).
240
+ - State the charge rule plainly: "Cancel anytime before your next billing date and you won't be charged." (Rivian). Retention offers ask a question and keep the exit visible ("Would 50% off help?" / "Continue with cancellation", Headspace), with the price shown, not hidden.
241
+ - Not this: "Contact us to cancel." "1 seats". "Keep your membership active to keep your benefits coming." Outdated store names ("iTunes").
242
+
243
+ ### Help and support
244
+ Let people describe the problem in their own words, and give an exact path when you point somewhere.
245
+ - Do: show an example query in search ("Type something like, "question about a charge"", Amazon). Write topic labels as the user's question (Chime, Lloyds). Give the exact menu path plus a fallback contact (Beli).
246
+ - Not this: vague actions ("File a report"). Labels in internal terms ("Issue adjusting vocals").
247
+
248
+ ### Updates and maintenance
249
+ Say what's happening, how long it takes, what still works, and what people should do meanwhile.
250
+ - Do: "The update may take 10 to 40 minutes. Let your Inspire 3 charge during the update." (Fitbit). Say what's broken and what still works (Uniswap).
251
+ - Not this: cheerful announcements with no time or impact ("We're upgrading your workspace!").
252
+
253
+ ### Consent and privacy
254
+ Say what each choice does, give accept and decline equal weight, and keep marketing separate from what's required.
255
+ - Do: show what happens if enabled and if disabled (Frame.io). Prepare people for the system prompt: "After you click 'Continue' you'll be able to grant or deny permission for us to use your IDFA." (adidas).
256
+ - Not this: accept-only banners (Mailchimp). Hiding tracking behind a friendly label ("Tailor your app experience", Affirm). Bundling marketing into "Agree to all" (foodpanda).
257
+
258
+ ### Email
259
+ Subject lines name the content; the body gives one action.
260
+ - Do: "Vercel December Product Update". Dunning: "Just letting you know that we're having trouble completing your most recent payment." then one button to update the card (Churnkey). Welcome emails can be warm when the brand is ("Wow. Look at us. Together at last.", Patreon).
261
+ - Not this: "Welcome Email" as a subject. Several competing buttons.
262
+
263
+ ## Review checklist
264
+ For each piece of copy, answer:
265
+ 1. What is its one job, and does it do it?
266
+ 2. Does the button say what will happen?
267
+ 3. Does the body add something the headline doesn't?
268
+ 4. Is there a specific noun, number or time where a vague word sits now?
269
+ 5. Is the next step clear after the action?
270
+ 6. Is the tone right for the stakes (no jokes about loss, money or errors)?
271
+ 7. Casing, grammar, and the same terms used everywhere?
272
+ 8. Does it still work without color, as a screen reader would read it, and with the behaviors in "What screenshots can't show"?
@@ -0,0 +1,235 @@
1
+ ## Pattern index
2
+
3
+ Pick the rules that fit this moment (usually two or three) and name them in your `<pattern_notes>`. Each rule has a counter-example to avoid. The "do" lines only illustrate the rule; they are not product lines to copy.
4
+
5
+ ### User needs and information architecture
6
+ - Use the reader’s task as the heading. Avoid: "Card administration"
7
+ - Put the answer before process history. Avoid: "As part of our annual licensing cycle, we are contacting you about your permit."
8
+ - Name navigation for the destination. Avoid: "Financial centre"
9
+ - Use distinct labels for distinct destinations. Avoid: "Payments / Manage payments"
10
+ - Keep the same name across channels. Avoid: "Email: Open your case. Dashboard: Requests."
11
+ - Put the exception beside the rule it changes. Avoid: "Change your appointment online. See terms for exceptions."
12
+ - Route people by their situation. Avoid: "Existing services / New services"
13
+ - Use true prerequisites to qualify a call to action. Avoid: "Get started, followed by an address rejection after account creation"
14
+ - Order steps by what people need to do. Avoid: "Portal → Documentation → Service management"
15
+ - Separate the task from necessary background. Avoid: "Read six paragraphs of coverage information before finding the claim form."
16
+
17
+ ### Buttons, links, and action labels
18
+ - Name the action the control performs. Avoid: "Click here"
19
+ - Include the object when context is missing. Avoid: "Delete"
20
+ - Use the same action label at handoffs. Avoid: "Choose a plan → Configure entitlement"
21
+ - Distinguish a step from a commitment. Avoid: "Continue → Continue"
22
+ - Make destructive actions explicit. Avoid: "Yes"
23
+ - Use specific dismissal actions. Avoid: "Cancel / OK"
24
+ - Name external destinations when it matters. Avoid: "Track"
25
+ - Make link text identify the target. Avoid: "Read more"
26
+ - Name repeated row actions accessibly. Avoid: "Change, repeated for every row without context"
27
+ - Explain a blocked action near the control. Avoid: "Greyed-out switch with no explanation"
28
+ - Use action labels consistently with component behavior. Avoid: "Button labeled View billing history that silently changes a setting"
29
+
30
+ ### Forms and questions
31
+ - Use a persistent visible label. Avoid: "Email address appears only as placeholder text"
32
+ - Name what the value represents. Avoid: "Full name"
33
+ - Put constraints before entry. Avoid: "Password, then a length rule after submission"
34
+ - Explain why sensitive information is needed. Avoid: "Phone number required."
35
+ - Distinguish optional fields in a consistent way. Avoid: "Apartment/unit* with no explanation of the asterisk"
36
+ - Ask a meaningful question for a choice. Avoid: "Account type: A / B"
37
+ - Make choices distinguishable. Avoid: "Use existing / New"
38
+ - Accept familiar formats when supported. Avoid: "Phone number invalid because it contains spaces"
39
+ - Give units and relevant limits. Avoid: "Weight"
40
+ - Distinguish unknown from empty when the workflow supports it. Avoid: "Force an invented date in a required field"
41
+ - Offer reuse of data entered in the same process where applicable. Avoid: "Make the user type the same address twice"
42
+ - Keep existing input during correction. Avoid: "Start the entire application again."
43
+
44
+ ### Validation, errors, and recovery
45
+ - Say what needs fixing. Avoid: "Invalid input."
46
+ - Adapt the error to the specific problem. Avoid: "Address error, for a real address outside the service area"
47
+ - Identify the item when more than one could fail. Avoid: "Duplicate found."
48
+ - Provide a safe correction. Avoid: "Incorrect formatting."
49
+ - Keep the summary and inline error consistent. Avoid: "Summary: Invalid address. Field: Missing data."
50
+ - Link errors to the fields that need attention. Avoid: "There are 4 errors, with no locations"
51
+ - Distinguish product failure from a bad answer. Avoid: "Enter a valid address, when the address service is down"
52
+ - Avoid errors before people can finish an answer. Avoid: "Show Invalid email as soon as the user types a single letter."
53
+ - Keep diagnostic details secondary. Avoid: "HTTP 503 U482"
54
+ - Report what happened to work after a failure. Avoid: "Something went wrong."
55
+ - Describe partial failure item by item. Avoid: "Import failed."
56
+ - Make retry safe for irreversible actions. Avoid: "Payment failed. Pay again."
57
+ - Use a recovery action you can actually offer. Avoid: "Refresh the page, when access is restricted"
58
+
59
+ ### Search, filters, and empty states
60
+ - Show the scope of search. Avoid: "Search anything"
61
+ - Distinguish search suggestions from results. Avoid: "Put suggestions in the result list without a label."
62
+ - Show what caused zero results. Avoid: "No data."
63
+ - Answer an empty first-use state with a first action. Avoid: "Nothing here!"
64
+ - Recognize a completed queue. Avoid: "No submissions."
65
+ - Distinguish a genuinely empty collection from a restricted view. Avoid: "This folder is empty."
66
+ - Offer a recovery matched to the query. Avoid: "Try another search."
67
+ - Offer relevant alternatives after a failed search. Avoid: "Unrelated bestsellers, presented as matches"
68
+ - Show the selected filter and its effect. Avoid: "12 results, with the filters hidden"
69
+ - Report explicit sort or scope changes. Avoid: "Resort the list without identifying the new order."
70
+
71
+ ### Loading, background work, and status
72
+ - Name the task underway when a wait needs a label. Avoid: "Loading…"
73
+ - Separate receipt from completion. Avoid: "Done, while files are still processing"
74
+ - Show measured progress when it exists. Avoid: "75% based on elapsed time alone"
75
+ - Expose uncertainty instead of guessing a countdown. Avoid: "Almost done, repeated for 20 minutes"
76
+ - Explain whether users can leave. Avoid: "Please wait, when leaving is safe"
77
+ - Distinguish queued from running. Avoid: "Exporting, while the job is queued"
78
+ - Distinguish last known status from a live reading. Avoid: "Up to date, while disconnected"
79
+ - Give successful and failed subsets. Avoid: "Done."
80
+ - Distinguish a cancellation request from completion. Avoid: "Run canceled, before it has stopped"
81
+ - Name the event completed at a handoff. Avoid: "Transfer complete, when receipt is unverified"
82
+ - Tell users what an estimate depends on. Avoid: "Arrives Friday, before the carrier confirms"
83
+
84
+ ### Confirmation, review, and destructive actions
85
+ - Give people a chance to correct important details. Avoid: "Submit immediately after the final field."
86
+ - Name the thing being changed at review. Avoid: "Edit"
87
+ - Confirm the state that actually changed. Avoid: "Application approved, before review"
88
+ - Tell users what happens next. Avoid: "All set!"
89
+ - Confirm scope in mass actions. Avoid: "Archive selected, when it affects all matches"
90
+ - State irreversible consequences before commitment. Avoid: "Are you sure?"
91
+ - Reserve interruptions for meaningful consequences. Avoid: "Ask for confirmation after every reversible list action."
92
+ - Offer undo when genuinely supported. Avoid: "Deleted forever, when Trash can restore it"
93
+ - Explain what recovery leaves behind. Avoid: "Restore everything."
94
+ - Distinguish date of request from date of effect. Avoid: "Canceled, with no explanation of remaining access"
95
+
96
+ ### Onboarding, permissions, and accounts
97
+ - Introduce a feature when it becomes relevant. Avoid: "Ask for camera access on first launch."
98
+ - Name the benefit and scope of a permission. Avoid: "Enable all permissions for the best experience."
99
+ - Make a viable fallback visible. Avoid: "Allow location to continue, when manual lookup exists"
100
+ - Explain what setup data changes. Avoid: "Tell us about yourself."
101
+ - Use sample data openly. Avoid: "Show fictional revenue as if it belongs to the customer."
102
+ - Show what can wait. Avoid: "Require teammate invitations before a solo user can enter."
103
+ - Describe the immediate next step after sign-up. Avoid: "Welcome aboard!"
104
+ - Name the destination of a verification step. Avoid: "Enter your verification code, with no destination"
105
+ - Provide a recovery path for expired codes. Avoid: "Code rejected."
106
+ - Distinguish account and workspace. Avoid: "Wrong account."
107
+ - Explain what expires in a session timeout. Avoid: "Session timed out, after losing unsaved data"
108
+ - Protect account privacy in recovery. Avoid: "This email is registered, exposed to any unauthenticated visitor"
109
+
110
+ ### Checkout, billing, and subscription
111
+ - Make guest checkout discoverable where offered. Avoid: "Hide guest checkout under Create account."
112
+ - Show timing as the user experiences it. Avoid: "Standard, 3–5 business days, with dispatch timing hidden"
113
+ - Show unavoidable cost before commitment. Avoid: "£32 until the final confirmation screen"
114
+ - Name the charging unit. Avoid: "From £12, without the unit"
115
+ - Distinguish billed amount from normalized price. Avoid: "£10/month, charged £120 today"
116
+ - Put renewal terms beside the trial action. Avoid: "Start free, with renewal timing buried"
117
+ - Explain what will happen today during a plan change. Avoid: "Upgrade for £18, with proration undisclosed"
118
+ - Show the amount and payee at authorization. Avoid: "Continue"
119
+ - Explain an authorization hold. Avoid: "You were charged £50, when it’s a hold"
120
+ - Distinguish refund states. Avoid: "Money back in your account, before receipt is known"
121
+ - Explain why a discount did not apply. Avoid: "Coupon invalid."
122
+ - State outcomes after cancellation. Avoid: "We’ll miss you!"
123
+ - Make declining a paid add-on straightforward. Avoid: "Protect my order / I don’t care if my order is lost"
124
+
125
+ ### Privacy, consent, sharing, and trust
126
+ - Name the optional purpose. Avoid: "Accept to improve your experience."
127
+ - Make consent choices readable and actionable. Avoid: "Accept all / Manage, with reject buried"
128
+ - Ask separately about distinct optional uses. Avoid: "I agree to all updates and data uses."
129
+ - Explain how to withdraw a choice. Avoid: "You can manage your preferences, without a route"
130
+ - Name recipients and their access. Avoid: "Share with Alex."
131
+ - Differentiate public visibility from access by invitation. Avoid: "Link sharing is on."
132
+ - Explain inherited or changed access. Avoid: "Access managed."
133
+ - Show when access expires. Avoid: "Temporary access."
134
+ - Clarify signing versus agreeing to receive contact. Avoid: "One required checkbox covers both agreement and marketing."
135
+ - State what verification proves. Avoid: "Verified person, for email verification alone"
136
+ - Say who can see a report. Avoid: "Report anonymously, when identifying details are attached"
137
+ - State what a privacy deletion actually removes. Avoid: "Erase everything, when records are retained"
138
+
139
+ ### Accessibility and inclusive content
140
+ - Keep visible and accessible control names aligned. Avoid: "Visible: Search invoices. Accessible: Submit query."
141
+ - Make an icon button’s accessible name action-specific. Avoid: "X"
142
+ - Give status information in text. Avoid: "Red dot alone"
143
+ - Avoid instructions based on color or orientation alone. Avoid: "Select the green button on the right."
144
+ - Use text for informative visuals. Avoid: "Alt text: photo123.jpg"
145
+ - Leave decorative images silent. Avoid: "Alt text: Blue squiggle"
146
+ - Announce meaningful status changes without moving focus. Avoid: "Force focus into search results after every update."
147
+ - Use headings that express structure. Avoid: "Style two paragraphs bold and rely on visual weight alone."
148
+ - Give recorded media equivalent access as applicable. Avoid: "Captions display speech only while an alarm prompts action."
149
+ - Use examples that represent real variation. Avoid: "Assume everyone has one first name and one last name."
150
+ - Avoid unnecessary identity information. Avoid: "What is your marital status? for a basic support request"
151
+ - Support accessible authentication. Avoid: "Require memorizing a code and block paste without an accessible route."
152
+
153
+ ### Voice, plain language, and localization
154
+ - Put the responsible actor in the sentence. Avoid: "Payment review is being undertaken."
155
+ - Use the term people recognize. Avoid: "Initiate card reissuance."
156
+ - Define a necessary specialist term in place. Avoid: "Available balance, with no definition where confusion matters"
157
+ - Avoid idioms in consequential instructions. Avoid: "Get it over the line before the weekend."
158
+ - Match tone to stakes. Avoid: "Whoopsie! Your work vanished."
159
+ - Celebrate the user’s actual achievement. Avoid: "You’re fluent now!"
160
+ - Keep phrases whole for translation. Avoid: "Concatenate Send a + reminder + to + name."
161
+ - Use real plural forms. Avoid: "1 day(s) left"
162
+ - Disambiguate dates and time zones. Avoid: "06/13 at 4, for an international audience"
163
+ - Show the relevant currency. Avoid: "$50, in a cross-border checkout with no currency label"
164
+ - Accommodate localization in names and instructions. Avoid: "Only letters A–Z allowed, when the service can accept other scripts"
165
+
166
+ ### Notifications, alerts, and multi-channel messages
167
+ - Say who or what a notification concerns. Avoid: "New activity"
168
+ - Put the action or impact early. Avoid: "Application update, with the action near the bottom"
169
+ - Use channel-appropriate detail. Avoid: "Put sensitive appointment details on a lock-screen preview."
170
+ - Distinguish critical alerts from routine updates. Avoid: "Use the same urgent warning treatment for a new feature."
171
+ - Explain notification frequency at subscription. Avoid: "Stay in the loop."
172
+ - State what preferences change. Avoid: "Silence notifications."
173
+ - Carry context into the link destination. Avoid: "Open the generic dashboard."
174
+ - Clarify who acts next in an escalation. Avoid: "Escalated."
175
+ - Honor the action after unsubscribe. Avoid: "You’re off the list, while multiple lists keep sending."
176
+
177
+ ### AI assistants and automation
178
+ - State what the feature can do. Avoid: "Handle your entire inbox."
179
+ - Name the inputs and access boundary. Avoid: "We understand your context."
180
+ - Set expectations for capability. Avoid: "Accurate summaries of any document."
181
+ - Distinguish an inference from a cited fact. Avoid: "Delayed shipments caused the 5% drop, without evidence."
182
+ - Ask for a consequential missing detail. Avoid: "Pick a recipient based on an ambiguous name."
183
+ - Preview external actions before approval. Avoid: "Allow assistant to continue?"
184
+ - Distinguish preview, test, and live actions. Avoid: "Try it, when the button sends a real email"
185
+ - Explain what happened in a partial run. Avoid: "Automation failed."
186
+ - Give meaningful stop and recovery states. Avoid: "Stopped, while it’s still sending"
187
+ - Give the user a way to correct or dismiss an output. Avoid: "Change the record automatically with no correction path."
188
+ - Explain where memory applies. Avoid: "Make it forget everything."
189
+
190
+ ### Research, content operations, and handoff
191
+ - Write for a verified user task. Avoid: "Stakeholders want a friendlier maintenance page."
192
+ - Record the exact state that triggers copy. Avoid: "Generic payment failure"
193
+ - Test comprehension with a decision question. Avoid: "Ask whether the copy sounds friendly."
194
+ - Inspect real workflows and exceptions. Avoid: "Approve a single modal in isolation."
195
+ - Use a vocabulary map tied to product states. Avoid: "Use received and approved interchangeably."
196
+ - Keep product facts linked to owners. Avoid: "Reuse last year’s timing estimate because the wording still looks good."
197
+ - Plan for measurement beyond clicks. Avoid: "Judge warnings by click-through alone."
198
+ - Give translators context and variable definitions. Avoid: "Send untranslated strings or variables in isolation."
199
+ - Write variants for certainty and scope. Avoid: "One “Saved” string for all save states"
200
+ - Keep examples and observed product copy traceable. Avoid: "Promote a polished sample to a benchmark because a brand shipped it."
201
+
202
+ ### Finance, merchant operations, and logistics
203
+ - Identify whose transaction stage a status describes. Avoid: "They’ve received your money, while the bank is still processing it"
204
+ - Distinguish balance from immediate spendability. Avoid: "Your money: £420"
205
+ - Show the payment and fulfillment states separately. Avoid: "Order pending"
206
+ - Explain why an operation is unavailable. Avoid: "Editing disabled."
207
+ - Distinguish label creation from carrier possession. Avoid: "Shipped, immediately after printing a label"
208
+ - Distinguish event history from prediction. Avoid: "Your parcel is out for delivery Friday, when the last scan was at the depot"
209
+ - Localize exception handling to the affected unit. Avoid: "Your order is delayed."
210
+
211
+ ### Healthcare, government, and sensitive services
212
+ - Name the provenance of a result. Avoid: "Your results, for a view with limited coverage"
213
+ - Separate missing information from a negative outcome. Avoid: "No issues found, when a result is missing"
214
+ - State when a professional owns the next decision. Avoid: "Everything looks fine, when the product has no verified assessment"
215
+ - Distinguish eligibility guidance from a decision. Avoid: "You qualify, at the end of an informal checker"
216
+ - State the effect of decision status. Avoid: "Your benefit is approved, at the upload receipt"
217
+ - Give usable evidence instructions. Avoid: "Submit appropriate supporting evidence."
218
+ - Make an assisted route findable. Avoid: "Applications must be completed online, when assisted submission exists"
219
+
220
+ ### Marketplaces, travel, and customer disputes
221
+ - Name the responsible actor. Avoid: "Your reservation was canceled, without saying by whom"
222
+ - Distinguish contacting the seller from opening a case. Avoid: "Contact support, when the form routes to the seller"
223
+ - Explain what each resolution changes. Avoid: "Resolve cancellation"
224
+ - Show whether a booking is usable. Avoid: "You’re booked, while seats are merely held"
225
+ - Name the scope of a booking change. Avoid: "Confirm cancellation?"
226
+ - Make handoffs usable. Avoid: "Track your driver, with no tracking information"
227
+
228
+ ### Learning, messaging, and creative tools
229
+ - Name the unit of progress. Avoid: "Level 7, when the metric counts days"
230
+ - Explain how a learning measure is calculated. Avoid: "You understand 72% of the course."
231
+ - Say which activity counts. Avoid: "Open the app to stay on track, when opening it doesn’t count"
232
+ - Distinguish sending, delivery, and reading. Avoid: "Seen, immediately after sending"
233
+ - Route to the right recovery mechanism. Avoid: "Restore design, as the answer to both problems"
234
+ - Keep prior revisions legible before restoration. Avoid: "Revert, without identifying the version"
235
+ - Explain what a restored object cannot bring back. Avoid: "Repository and access restored, when permissions must be reset"
@@ -0,0 +1,22 @@
1
+ ## Score before you return
2
+
3
+ Score every string with this rubric, rewrite anything that scores 1, and return nothing below 2. A string that breaks any universal rule scores 1, whatever else it does well. Any `block` from `lint_copy` is an automatic 1.
4
+
5
+ | score | meaning | test |
6
+ |---|---|---|
7
+ | 3 exemplary | would teach from it | does its one job; specific (a noun, number or time); states the consequence or next step; tone fits the stakes; nothing to cut |
8
+ | 2 solid | ships as is | clear and correct, but generic or missing one useful detail |
9
+ | 1 weak | must be rewritten | any of: vague, wordy, jargon, blames the user, misleading, dark pattern, grammar or template error, button that doesn't say what it does |
10
+
11
+ When reviewing, give each original string its score and the reason, then the rewrite.
12
+
13
+ Gather the facts first: the action, the object, numbers, dates, prices, limits, what is lost, what happens next. If one is missing, leave a clear {placeholder} or ask. Never invent prices, dates, policies or legal terms.
14
+
15
+ ## Stay close to the reference
16
+
17
+ Write every line from one reference: the closest shipped line for the same element, situation and job (use `find_reference`).
18
+ - **Name its shape** in a few words before writing, e.g. "Get + what + when" or "Name the thing + promise. What you can do."
19
+ - **Keep its opening move, order and sentence count,** and stay within about 30% of its length. Check with `compare_to_reference`.
20
+ - **Keep its words where your facts fit.** Change only what your facts force.
21
+ - **Never copy a claim you can't back,** and never copy the reference's product name, price or numbers.
22
+ - A line that drifts from its reference without a reason scores 1.
package/guide/rules.md ADDED
@@ -0,0 +1,31 @@
1
+ ## UX writing
2
+
3
+ When you write or review interface copy (buttons, errors, empty states, dialogs, onboarding, permissions, paywalls, checkout, notifications, tooltips, loading states, AI chat UI), including user-facing strings in code:
4
+
5
+ Write from the rules, the tone decision and the matching pattern rules. They carry the quality. References are evidence for the pattern, not a template to copy; in our tests they did not reliably raise quality, but state-check, patterns and correction examples did cut overclaiming.
6
+
7
+ 0. In a codebase, first learn the product. Call `read_product` once per session. If the repo has a saved product brief (a `content-md:product` block in AGENTS.md or CLAUDE.md), use it. Otherwise fill the slots it returns from the README and the product's own strings, check the industry it matched against the sample lines, and write a brief of at most six lines: what the product is, who uses it, the main job, its current voice (quote two or three of its lines), its words for its own things, and what is at stake. Ask the person only what you still can't answer and that would change the copy, at most two questions with options and a default (`ask_person` shows a form where the client supports it); otherwise state your assumption in one line. Save the result with `save_product_brief`. Write for that product and audience, reuse its words, and keep its voice unless asked to change it. When asked to improve existing copy without a named string, call `audit_copy` (with `path_filter` for one area) and work from the worst line down; leave lines it doesn't flag as they are.
8
+ 1. Call the `content-md` MCP tool `get_guide` with the pattern, and follow it. It ends with a pattern index: pick the two or three rules that fit this moment and name them in your notes.
9
+ 2. If the moment has stakes or feeling (an error, money, a deletion, a success), call `decide_tone` first with the facts of the moment. Use its two tone words and instruction, and avoid the tones it lists.
10
+ 3. Write every piece the screen needs. Do not drop the headline or a button.
11
+ 4. Optional: when you want evidence for a decision, or when copy describes progress or an outcome, call `find_reference` with its `role` (or `element`), the situation in a short clause that says what the line does for the person, and the `brief` of the moment. Pass the old line as `draft` when rewriting, and pass `state` (what the product's tool or API reports about the item) whenever copy describes progress or an outcome: it returns a correction example when the copy could claim more than that state supports. It returns up to 3 pairs (the brief a screen was built for, and the line it got), one weak counter-example and the tones to avoid, ready to read in its `xml` field. It often returns nothing: when no pair clears its quality floor, write from the rules and `decide_tone`, and do not hunt for a weaker one.
12
+ 5. If you used references, write a short `<pattern_notes>` before the copy: what the pairs share (structure, word count, what each part carries) and what the counter-example gets wrong. Then write from the pattern and the rules. Avoid reusing a reference's wording, and don't copy a claim you can't back. List what you BORROWED (structure, order, length) and what you CHANGED (facts, words, tone). Use `compare_to_reference` only if you chose to follow a reference's shape.
13
+ 6. State-check before you write: name the screen state (empty, loading, error, success, blocked, partial, first time, returning) and the one thing the person must be able to do next. Copy for the wrong state is wrong however well it reads.
14
+ 7. Promise audit, only when the copy describes progress, money, time or an outcome AND a claim in the draft goes beyond what the tool state says (if every claim is already stated, skip this step and leave the copy untouched): list every claim and promise in the draft and tag each as STATED (the tool state says it), IMPLIED (follows directly from it) or INVENTED (a time, step, reassurance or consequence the state does not give). Remove or hedge what is invented; leave every line that passes exactly as it is. Keep a reassurance the state supports ("your money is safe" when the state shows funds held), don't drop a specific the person needs (amounts, times, counts), and prefer a hedge to a deletion when part of a line is supported. Don't make the copy vaguer than the state allows. Also cut these tics: a reason or cause the facts do not give, a line that describes the screen ('shown when...') instead of the situation, a hint at an outcome nobody knows yet, and a hedge that adds no information.
15
+ 7b. In a codebase, for explanatory, help, policy or onboarding copy, back every promise or factual claim about how the product works (a time, a rule, a feature, what happens to someone's data or report) with a file and line in the repo or its data. Drop or soften any claim you can't back, and list what you dropped. A page that describes a feature the data doesn't have is worse than a shorter page.
16
+ 8. Run `lint_copy` on the draft; fix every `block` and `warn` or say why you kept it. Score each string 1 to 3 (see `get_guide`) and return nothing below 2.
17
+
18
+ Defaults, which also apply when the tools aren't available. They are defaults, not laws: break one when the moment calls for it and say why.
19
+ - Buttons are verb + object and match the headline's noun ("Delete event", not "OK"). Both buttons in a pair name their outcome.
20
+ - Prefer specifics to vague words: name the thing, the number, the time, the consequence. But a specific the person doesn't need to act is padding.
21
+ - When you cut, don't cut words that carry meaning: "permanently", "automatically", "not yet", "only", "unless", "now", "may" (when it's uncertain), "you can" (when it grants permission), "your" (when ownership matters), and a sorry or thanks where the product caused the trouble or the person did real work. If padding hides a missing fact, replace it with the fact; don't just delete it.
22
+ - When there is a next step, say what happens next, especially after money, orders and irreversible actions.
23
+ - The facts you're given are what is true, not a list to include. Pick the few the person needs to decide or act, and leave the rest out. When the person must choose, also keep what they're choosing for (the space freed, the money moved) and what to do (which option to pick, and how to tell). Always keep the outcome: what happened or didn't (nothing was booked, it wasn't added, it can't be undone). When something failed or went partly wrong, the title says so; don't lead with the part that worked. Each element carries something no other element on the screen says: the body doesn't repeat the headline, a badge or a button, and the headline doesn't repeat the button. Don't add reassurance, causes or extra states (what's still filled in, still safe, still saved) unless the person would otherwise worry about it and the facts say so; then one short clause is enough.
24
+ - Shape: one sentence is often enough, and three is rarely needed. When a body has two, give them different jobs and different lengths. An empty state leads with what the person gets or can do ("Add your first contact"), not "No contacts yet". Say what the screen offers, not where something will appear ("will show up here").
25
+ - Errors give the fix, not the verdict. Skip blame ("invalid"), codes and "Oops"; exclamation marks rarely suit a failure.
26
+ - Tone follows the moment. A real success can be warm, and can take an exclamation mark or a light line when the product's voice does. Keep it calm and exact where money, data or access is at stake.
27
+ - Cut filler: "successfully", "simply", "just", "please note", "it looks like".
28
+ - Sentence case. "You" for the person, "we" when the product takes responsibility.
29
+ - Avoid confirmshaming, hidden prices and fake urgency. Money copy states the amount, when it's charged, whether it recurs, and how to cancel.
30
+ - Never invent a source, person, outlet, date, case number or figure to use as an example. Use a real one from the repo's own data, or an obvious placeholder like "[Outlet] reported on [date]". A made-up citation with a real outlet's name reads as fact once it is screenshotted.
31
+ - When rewriting, keep the labels, buttons and titles that already work, word for word. Change a line only for a reason you can state (it is wrong for the state, unclear, or misses a fact).