Prompt template

Sleep tracker prompt — copy, paste, build

A prompt for a native sleep tracker — bedtime + wake alarms, manual session logging, a sleep score, and a weekly trend view. Designed for clean dark-mode visuals.

The prompt

Build a native iOS and Android sleep tracker with: (1) a home screen showing last night's sleep duration, sleep score (0-100), and a "log new session" CTA, (2) a bedtime + wake alarm picker on the home screen with a "remind me to wind down" toggle, (3) a manual log screen for adding past sessions with start/end and quality (1-5 stars), (4) a weekly trend tab with a chart of duration and a chart of average score, (5) a settings screen with sleep goal in hours and quiet-hours configuration. Use Expo, React Navigation, twrnc for styling, AsyncStorage for sessions, and Expo Notifications for the wind-down reminder. Default to dark mode with deep navy and soft purple accents.

Variants

Lite

Build a sleep tracker with manual session logging, last-night summary, and a weekly chart. Skip alarms.

Pro

Build a sleep tracker with bedtime + wake alarms, manual session logging, sleep score, weekly + monthly trends, sleep-stage estimation placeholder, and HealthKit / Health Connect read-write sync.

What you get

  • Expo + React Native project ready for Snack live preview
  • Last-night summary with sleep score
  • Bedtime and wake alarm picker
  • Manual session logging
  • Weekly duration + score charts
  • Wind-down reminder via Expo Notifications

Screens included

  • Home
  • Log session
  • Trends
  • Settings

Why this prompt works in AppGenie

Sleep apps need restful visuals — dark mode, soft transitions, no jarring red badges. AppGenie's twrnc pipeline lets you specify the palette in plain language ("deep navy with soft purple accents") and patch it later without touching the alarm logic.

Related prompts

Sleep tracker prompt — FAQ

Does the prompt actually detect sleep stages?

No. Real sleep-stage detection requires HealthKit, Health Connect, or a wearable. The Pro variant scaffolds the integration as a placeholder so you can wire your data source post-generation.

Are bedtime alarms native iOS / Android alarms?

They are scheduled local notifications via Expo Notifications. True system-level alarm clock integration requires native modules, which can be added in a follow-up prompt.

Ready to ship a sleep tracker?

Paste this prompt into AppGenie. The diff-aware multi-agent pipeline produces a real Expo + React Native project you can preview live, iterate in chat, and own end-to-end.