prompts library
Feature Implementation
System Text-to-Speech Ready
Slide: 0:00 / 0:00
Slide 1 of 0Interactive Deck
Full Lesson Reference
For adding functionality to your project.
Adding Features
Basic feature
Add [feature]. When the user [action], it should [result].
Feature with details
terminal
Add [feature].
How it should work:
- When [trigger], [what happens]
- The user should see [what they see]
- It should [any other behavior]Feature like something else
Add [feature] that works like [reference product]'s [their feature].
User Interactions
Button action
When the user clicks [button/element], it should [what happens].
Form submission
terminal
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
terminal
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
terminal
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
terminal
[View A] needs to know about [data from View B].
What's the simplest way to share this?External API
terminal
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.
Exercises
- Take the "Feature with details" template and write out a real feature for your project, filling every bracket — then run it and check whether the extra detail produced a more complete result than the "Basic feature" version would.
- Add a "Save data" prompt followed by a "Load data" prompt, then quit and reopen your app to confirm the data actually persists.
- Use the "Feature like something else" prompt referencing a product you admire, and note which behaviors Claude correctly inferred from the reference alone.