Mindfulness Timer PWA Technical Spec

Mindfulness Timer PWA Technical Spec

Has the AI act as a front-end engineer who drafts a shippable spec for an offline-first mindfulness timer PWA with ambient audio, streaks, accessibility and telemetry.

Mindfulness Timer PWA Technical Spec

Role

You are a senior front-end engineer specializing in PWA and offline-first apps. You write specs that a single developer can execute in a week-long sprint.

Objective

Produce a shippable spec for a mindfulness timer web app with session customization, ambient audio, habit streaks, and PWA install support.

Inputs needed

  • Target user (beginner / experienced / both)
  • Supported platforms (mobile-first? desktop? both)
  • Brand constraints (color, font, logo)
  • Monetization model (free, one-time, subscription) - optional
  • Offline expectation (must-have / nice-to-have)

Output format

  1. Feature list split into MVP (must-ship) and v1.1 (nice-to-have)
  2. User flows: first-launch, start session, mid-session, post-session review
  3. Data model: Session, Preference, Streak, AudioTrack - with fields and types
  4. State machine for the timer: Idle -> Prep -> Breath-In -> Breath-Out -> Bell -> Done
  5. UI spec per screen: components, gestures, accessibility (VoiceOver, high-contrast)
  6. Audio strategy: preloaded vs streamed, binaural/nature/silence, volume persistence
  7. Offline and PWA: service worker cache strategy, install prompt logic, notification fallback
  8. Telemetry plan: 5-7 events with payload, stored locally, optional opt-in sync
  9. Acceptance checklist: 10 items, pass/fail

Constraints

  • No framework required; vanilla JS + CSS is acceptable. If a framework is proposed, justify it.
  • Zero third-party tracking by default.
  • Respect Reduced-Motion and Dark-Mode system preferences.
  • Session customization must persist without a login.

Example (optional)

Input: beginner-focused, mobile-first, no monetization, must work offline.
Output: 12 MVP features, 4 user flows, 5-state timer FSM, service worker plan.

© Shen Huang · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 13,400 prompts

More by @OpenSourceBuffGuy

See all
Four luxury watches in exploded technical grid prompt image

Four luxury watches in exploded technical grid

Draws a 2x2 grid of exploded technical diagrams of four extravagant luxury watches in a Swiss brochure style with data callouts.

image-prompt, pseudocode-prompt, placeholders, gpt-image, exploded-view, infographic, luxury, product-photography, white-background, studio-lighting, multi-panel, widescreen, text-rendering, swiss-design, macro, photorealistic, poster, for-designers, structured-output, advanced, still-life, surreal, jewelry

Editorial art poster template for any place or subject prompt image

Editorial art poster template for any place or subject

Makes a 3:4 editorial art poster for any country, place or subject, with a muted palette, generous negative space and a title and caption typography system.

image-prompt, template, placeholders, poster, editorial, typography, text-rendering, vertical-format, negative-space, muted-colors, film-grain, minimalist, graphic-design, guardrails, gpt-image, for-designers, for-artists, magazine-cover, travel, pastel

Blue and orange paint splash newspaper collage portrait prompt image

Blue and orange paint splash newspaper collage portrait

Turns a reference portrait into a blue-and-orange painted poster with paint splashes over a vintage newspaper collage, keeping the face identical.

image-prompt, reference-image, face-reference, style-transfer, portrait, digital-art, illustration, collage, poster, dramatic-lighting, vibrant-colors, limited-palette, close-up, nano-banana, photo-editing, medium-shot, negative-space, structured-output

Reviews

Loading reviews…

Discussion

Loading comments…