FILIS AI / EXAMPLE DISCOVERY PACKAGE

Idea. Structure.
Three ready documents.

Here is what the AI assistant produces: a complete three-document discovery package you can share with our team or any other development studio.

This is a prepared illustrative package for a fictional idea, not a personalized AI response to your request.

01 / PRODUCT BRIEF (PRD)

CoachSpace — a platform for independent coaches and clients

CoachSpace is a mobile and web workspace that brings weekly training plans, workout completion logs, and coach–client feedback into one place. The first release replaces scattered spreadsheets and chat threads with one repeatable loop: invite → assign plan → log workout → adjust. This is an illustrative example for a fictional product.

Target users & jobs to be done

  • Independent strength and conditioning coaches managing 10–60 active clients in parallel.
  • Invited coaching clients who use the product primarily on a smartphone in the gym or at home.
  • As a coach, I want to assign a weekly training plan in five minutes and see who completed sessions without digging through chat threads.
  • As a client, I want to open my phone during a workout, see today’s exercises, log completion, and leave a short note for my coach.

Problem & desired outcomes

Independent coaches currently deliver programs through spreadsheets, PDFs, and messaging apps. Clients lose track of the latest plan, skip logging, and coaches spend hours every week manually checking progress across fragmented chats.

  • Reduce weekly coach administration time by centralizing plan assignment and completion review.
  • Increase client workout logging consistency through a focused mobile check-in flow.
  • Maintain a single history of completed sessions and feedback for informed plan adjustments.

First-release MVP capabilities

  • Coach registration, basic profile setup, and client roster management.
  • Expiring single-use invite links that bind a client account to a specific coach.
  • Weekly plan builder: training days, exercise list, sets, reps, and coach notes.
  • Client ‘Today’s workout’ view: completion toggles, logged sets/weights, and session feedback note.
  • Coach overview dashboard showing completion statuses and per-client workout history.
  • User-controlled push or email reminders for scheduled workouts.

Out of scope

  • Medical advice, injury diagnostics, or automated training load prescriptions without coach review.
  • Custom video hosting and streaming library (external links or text cues suffice for V1).
  • Public coach discovery marketplace, client billing, or multi-branch gym chain management.

User journey

  1. Coach onboarding: account creation, email verification, and creation of a first weekly plan.
  2. Client invitation: generating a secure invite link, client sign-up, and data-processing consent.
  3. Daily value: the client opens the plan in the gym, logs completion, and leaves a short note.
  4. Retention loop: at week’s end, the coach reviews history and updates the next week’s plan.

User flow

  1. Coach: Sign in → Client list → ‘Invite client’ → Generate expiring invite token → Share link.
  2. Client: Open invite link → Validate token server-side → Sign up + consent → Weekly plan screen.
  3. Workout: Select day → Mark exercises complete → Add feedback note → Save → Coach dashboard updates.
  4. Edge cases: expired invite → prompt coach to resend; offline state → clear retry notice; unauthorized plan access → server 403 denial.

Success signals & assumptions

  • Percentage of invited clients who log their first workout within 7 days of sign-up.
  • Percentage of active clients logging at least 2 workouts per week over 4 consecutive weeks.
  • Active clients per coach with weekly plan updates performed inside the platform.
  • The first release serves independent coaches rather than multi-location gym franchises.
  • Clients have mobile connectivity in most gyms; full conflict-resolving offline sync is not required for V1.
  • Coach-to-client payments remain external in V1; in-app billing is scoped as a later phase.

02 / TECHNICAL RECOMMENDATION (ADR)

Recommended approach: FlutterFlow

Because the core daily workflow happens on a smartphone in the gym, FlutterFlow paired with a server-enforced backend (Firebase Auth, Firestore, and Cloud Functions / Cloud Run) provides the fastest path to iOS and Android while preserving an escape hatch into custom Dart code. Sensitive operations (invites, coach–client authorization) stay server-side.

Bubble, FlutterFlow & Custom code comparison

Bubble

Product fit: Covers both web portals and standard mobile apps via Bubble’s React Native Native Mobile Editor with a shared database, though it lacks source-code export and custom native module control.

Time to validate: Fast launch for web and standard React Native mobile pilots with Over-The-Air (OTA) updates.

Ownership & portability: Closed runtime with no independent source-code export.

Native & offline: True React Native UI and MMKV local storage plugins, but deep offline-first sync and custom Swift/Kotlin modules are limited.

Security: Relies on properly configured Privacy Rules and server-side Backend Workflows.

FlutterFlow

Product fit: Best fit for an iOS/Android client app with clean Flutter export, custom Dart actions, and AI workflows via FlutterFlow MCP.

Time to validate: Fast cross-platform mobile pilot with live testing and direct Firebase integration.

Ownership & portability: Exports clean Flutter/Dart source code to GitHub (subject to plan tier).

Native & offline: Native Flutter rendering, push notifications (FCM), Firestore local caching, and pub.dev packages.

Security: Authorization enforced by Firestore Security Rules and server-side token validation.

Custom code

Product fit: Maximum architectural, offline, and native-API control; fast with AI-driven development, though it requires engineering ownership.

Time to validate: Competitive with low-code via AI-driven workflows, especially when custom logic is required from day one.

Ownership & portability: Complete independence with zero visual-builder vendor lock-in.

Native & offline: Complete control over complex offline sync, background timers, and native hardware.

Security: Full architectural control with full engineering responsibility for every layer.

Architecture & technology stack

A Flutter client (built in FlutterFlow) uses Firebase Auth for identity, Firestore for structured plans and workout logs guarded by strict role and coachId–clientId Security Rules, and an isolated Cloud Run API for privileged actions such as invite issuance/redemption and scheduled reminder dispatch.

Client (Mobile + Web) — FlutterFlow / Flutter (Dart)

Single codebase for iOS, Android, and a coach web workspace with custom Dart extensibility.

Auth & Access Control — Firebase Auth + Custom Claims

Enforces coach/client roles in signed tokens rather than trusting client-side UI state.

Database — Cloud Firestore (europe-west1)

Fits hierarchical workout plans and logs with built-in caching and granular Security Rules.

Backend API — Cloud Run (Node.js / TypeScript)

Keeps invite tokens, relationship binding, and notifications server-side with Secret Manager.

Observability & Ops — Firebase Crashlytics + Cloud Logging

Separates mobile crash reporting from server logs while avoiding PII leakage.

Data model & roles (RBAC)

  • users/{uid}: profile, role (coach | client), timezone, notification preferences — readable/editable only by owner.
  • relationships/{coachId}_{clientId}: verified coach–client link — created exclusively server-side on invite redemption.
  • plans/{planId} and workoutLogs/{logId}: carry coachId and clientId; Firestore rules allow access strictly to linked participants.
  • invites/{tokenHash}: single-use hashed tokens with expiresAt — completely blocked from client reads.

Security controls & operations

  • Server-side authorization and automated Firestore Rules tests ensuring Client A can never read Client B’s records.
  • Health-data minimization: exclude medical diagnostics in V1, require explicit consent, and support account deletion.
  • Rate limiting on invite creation and auth endpoints, with all secrets stored in Google Secret Manager.
  • Separate staging and production Firebase projects for safe testing of rules and schema changes.
  • Automated daily Firestore backups, API error alerting, and handover documentation for client ownership.

Alternatives & change conditions

Viable alternative: Custom code. Full UI and offline-sync freedom (pure Flutter + custom backend) without FlutterFlow plan dependencies. Higher initial engineering effort and longer time to first user pilot.

Rejected option: Bubble. While Bubble now offers a React Native native mobile editor, CoachSpace prioritizes clean source-code portability (Flutter export), deeper mobile UX customization, and avoiding closed-runtime lock-in.

  • If full conflict-resolving offline sync or Apple Health / Garmin integrations become mandatory in V1, move directly to pure Flutter (Custom code).
  • If the product pivots to a B2B web CRM for gym chains without a dedicated mobile app, re-evaluate Bubble or a custom web stack.

03 / DELIVERY OUTLINE & RISKS

Delivery outline & risks

Discovery & validation

  • Validate the minimal exercise schema and logging fields with 3–5 real coaches before UI build.
  • Review clickable wireframes of the Weekly Plan and Active Workout screens for one-handed gym usability.
  • Technical spike: verify Firestore Security Rules and single-use invite redemption with test accounts.

Phase 1 · Architecture, data & invites

Establish the secure foundation: roles, data model, server-side invites, and staging/prod environments.

Deliverables

  • Configured Firebase projects, Firestore schema, and automated Security Rules tests.
  • Server-side invite creation and redemption endpoints on Cloud Run.
  • Coach and client authentication, onboarding, and consent screens.

Acceptance evidence (DoD)

  • Automated tests confirm strict data isolation across coaches and clients.
  • Test client joins via invite; reused or expired invite links are rejected server-side.

Phase 2 · Core MVP (plans & logging)

Deliver the end-to-end loop of coach plan assignment and client workout logging.

Deliverables

  • Coach weekly plan builder and client status roster.
  • Client mobile screens: weekly view, active workout logger, feedback note, and history.

Acceptance evidence (DoD)

  • End-to-end test: coach assigns plan → client logs completion → coach sees status and comment.

Phase 3 · Notifications, QA & release

Prepare the app for real iOS and Android users and complete full owner handover.

Deliverables

  • Timezone-aware push/email reminders with user opt-out controls.
  • Real-device QA across iOS/Android and TestFlight / Google Play Internal Testing builds.
  • Architecture, access, and release handover documentation.

Acceptance evidence (DoD)

  • Builds pass real-device checks with zero critical Crashlytics crashes.
  • Owner holds admin ownership of repositories, Firebase, Cloud Run, and store accounts.

Dependencies, risks & open decisions

  • Apple Developer Program and Google Play Console accounts registered to the product owner.
  • Final privacy policy, terms of use, and support contact (mandatory for store review).
  • Brand logo, app icon, UI copy, and sample real-world workout plans.

Security: Misconfigured database rules could expose one client’s workout logs or notes to another user. Mitigation: Default-deny all collections and enforce automated Firestore Rules emulator tests in CI.

Delivery: Apple App Store review may flag fitness-data disclosures or missing in-app account deletion. Mitigation: Include in-app account deletion and transparent consent in V1 and submit an early TestFlight build.

Product: An overly complex exercise logging screen reduces completion rates during workouts. Mitigation: Keep required inputs to one or two taps and usability-test the prototype before build.

  • Are native video demos needed in V1, or are external YouTube/Vimeo links sufficient?
  • Which progress fields (bodyweight, RPE, photos) are needed in V1 and what retention rules apply?
  • Is web access needed only for coaches, or also for clients?