Direct Messages
Let two users hold a private conversation inside the app instead of leaving to email.
What it adds
One-to-one private threads with message history, per-conversation unread counts, and blocking.
What your agent is told to do
5
What your agent is told to do
5-
1
Build the conversation list, the thread view, and the unread badge. Keep the first version to one-to-one threads only and defer group conversations, reactions, threading, and file attachments rather than shipping all of them half-finished.
-
2
Reuse the app's existing Read and Unread State and Notification Center rather than inventing a second unread mechanism and a second alert path. A message notification should sit alongside every other notification the user gets.
-
3
Reuse the composer, mention handling, and rendering rules from Comments and Mentions instead of writing a second message editor with subtly different escaping.
-
4
Assign message ordering from the server, with a monotonic sequence per conversation, and use client timestamps only for display. Sorting by client clock produces conversations that read out of order.
-
5
Do not deliver a message to someone who has blocked the sender, and do not tell the sender they have been blocked. Accept the send, show it in their own thread, and stop it at delivery.
Edge cases it handles
8
Edge cases it handles
8- Device clocks disagree by minutes. Order messages by a server-assigned sequence within the conversation so a reply never appears above the message it answers.
- A user with the app open on a phone and a laptop must see the unread count drop on both when they read a thread on either. Read state belongs to the conversation and the user, not to a device.
- Blocking must stop delivery in both directions, hide the existing thread from the blocker's list, and survive the blocked user creating a new conversation to get around it.
- Loading older messages must keep the visible message under the user's eye in place. Anchoring to scroll offset instead of to a message will jump the view every time a page loads.
- When an account is deleted, decide explicitly whether the other participant keeps the history with an anonymised sender or loses the thread, and apply that consistently rather than leaving orphaned rows.
- A message sent while offline must be queued and shown as pending, then confirmed or clearly failed, never silently dropped.
- Private messages are a harassment vector. Provide a report action on a conversation that feeds the existing Content Reporting flow, and rate-limit new conversations started by new accounts.
- Message bodies must be escaped on output and links treated as untrusted. A pasted script in a private message is still a stored cross-site scripting hole.
Definition of done
9
Definition of done
9- Two users can hold a private thread with history that persists across sessions.
- Message order is determined by a server-assigned sequence and reads correctly regardless of device clocks.
- Unread counts are consistent across every device the user has open.
- Blocking stops delivery in both directions and cannot be circumvented by starting a new conversation.
- Paginating older messages preserves the reader's scroll position.
- Account deletion has a defined, consistently applied effect on existing threads.
- Conversations can be reported through the app's existing reporting flow.
- The feature matches the existing design system.
- No existing functionality is broken.
Related features
Voice Notes
Voice Notes
Say it instead of typing it, and attach the recording where the conversation is.
What it does
In-app recording of short audio notes attached to a record, comment, or message.
How it works
- 1 Add recording to the places where people already leave text, most likely alongside Comments and Mentions, so a voice note is another kind of comment rather than a separate feed nobody checks.
- 2 Store the recording through the app's existing file upload path so a voice note inherits the same retention and access rules as any other attachment on the record, and disappears with the record when it is deleted.
- 3 Show a live duration and a simple level meter while recording, and let the user review and discard before it is sent. Nobody should be committed to a recording the instant they stop.
Copy the prompt
No account needed
Add this feature to my app:
https://addthisfeature.com/x/voice-notes
Assign Ownership
Assign Ownership
Make it obvious who is responsible for each record.
What it does
An assignee on records, with a picker, notifications on change, and a history of who owned what.
How it works
- 1 Add a nullable assignee to the relevant records. Unassigned is a real, valid state — do not force a default owner just to avoid the null.
- 2 Restrict the picker to users who can actually access the item, and validate that server-side as well as filtering the list.
- 3 Notify the new assignee when they are assigned by someone else, and record every change with the actor and timestamp.
Copy the prompt
No account needed
Add this feature to my app:
https://addthisfeature.com/x/assign-ownership
Edit Conflict Detection
Edit Conflict Detection
Catch it when someone else saved the record while you were editing it.
What it does
Detects that a record changed underneath an open editor and gives the user a real choice about what to keep.
How it works
- 1 Give every editable record a version token — a counter or updated-at value — and send it back with the save. Compare it inside the same transaction as the write, not before it.
- 2 When the token does not match, reject the write and show a conflict screen: what the user typed, what is now stored, and which fields actually differ.
- 3 Offer three explicit outcomes — merge the non-overlapping fields, overwrite with the user's version, or discard the user's version and reload.
Copy the prompt
No account needed
Add this feature to my app:
https://addthisfeature.com/x/edit-conflict-detection
How it works
-
1
Copy the link
Grab the Markdown instruction URL for this feature.
-
2
Give it to your AI
Paste it into Claude Code, Cursor, v0, Lovable — whatever you build with.
-
3
It inspects, then implements
Your agent reads your existing app first, then adds the feature to fit it.
Works with your stack
These instructions are written to adapt. They tell the agent to detect your framework, match your existing design system, and reuse what you already have — rather than assuming a particular stack.
Need it tighter than that? Customize the feature and tell it exactly what you're running.