3 min read
Feature Implementation
For adding functionality to your project.
Adding Features
Basic feature
Add [feature]. When the user [action], it should [result].
Feature with details
Add [feature].
How it should work:
- When [trigger], [what happens]
- The user should see [what they see]
- It should [any other behavior]
Why this works: It describes behavior, not implementation. You’re telling Claude what the user experiences, not what code to write. That gives Claude room to pick the best approach.
Feature like something else
Add [feature] that works like [reference product]'s [their feature].
Why this works: Reference products communicate more than paragraphs of description. “Like Notion’s sidebar” instantly conveys collapsible, drag-to-resize, and tree-structured navigation without you having to spell any of that out.
User Interactions
Button action
When the user clicks [button/element], it should [what happens].
Why this works: It names the exact element and describes the expected outcome. Specificity about where the interaction happens prevents Claude from guessing wrong.
Form submission
Add a form for [purpose].
Fields: [list fields]
When submitted, it should [what happens with the data].
Keyboard shortcut
Add a keyboard shortcut: [key combo] should [action].
Drag and drop
Make [element] draggable. When dropped on [target], it should [result].
Data & State
Save data
Save [data] so it persists when the app closes.
Use the simplest approach that works.
Load data
When the app opens, load [saved data] and display it in [location].
User preferences
Add a setting for [preference].
Save it so it persists between sessions.
List management
Let users add, edit, and delete items in [the list].
Connecting Things
Link two screens
When the user taps [element], navigate to [destination screen].
Share data between views
[View A] needs to know about [data from View B].
What's the simplest way to share this?
External API
Connect to [API/service] to get [data].
Display it in [location].
Notifications & Feedback
Show confirmation
After [action], show a brief confirmation that it worked.
Error message
If [error condition], show the user a message explaining what went wrong.
System notification
Send a system notification when [event happens].
Time & Scheduling
Timer
Add a timer that [does something] every [interval].
Scheduled action
At [time/condition], automatically [action].
Countdown
Show a countdown to [event]. Update in real-time.