Pantogen

Example Routines

Real routines that progressively introduce spec features. Each adds one new concept.

ExampleJSONPreviewEvents
Daily Affirmation
Single screen with a message.
+ title, button

You've got this.

Take a breath. Today is a new opportunity.

Let's go
{"timestamp":"...","event_type":"open_app","screen":"Affirm"}
{"timestamp":"...","event_type":"button_press","screen":"Affirm","label_of_button_pressed":"Let's go","outcome":{"type":"continue_to_screen","target":"Affirm","target_type":"screen"}}
Quick Journal
Capture a thought before it's gone.
+ text_area

What's on your mind?

Just write...
Done
{"timestamp":"...","event_type":"open_app","screen":"Write"}
{"timestamp":"...","event_type":"button_press","screen":"Write","label_of_button_pressed":"Done","outcome":{"type":"continue_to_screen","target":"__end__","target_type":"screen"},"text_area_values":{"thought":"Need to call mom..."}}
Daily Standup
Async standup check-in.
+ multiple screens

What did you do yesterday?

Shipped feature X, reviewed PRs...
Next
{"timestamp":"...","event_type":"open_app","screen":"Yesterday"}
{"timestamp":"...","event_type":"button_press","screen":"Yesterday","label_of_button_pressed":"Next","outcome":{"type":"continue_to_screen","target":"Today","target_type":"screen"},"text_area_values":{"yesterday":"Shipped auth flow"}}
{"timestamp":"...","event_type":"button_press","screen":"Today","label_of_button_pressed":"Next","outcome":{"type":"continue_to_screen","target":"Blockers","target_type":"screen"},"text_area_values":{"today":"API integration"}}
{"timestamp":"...","event_type":"button_press","screen":"Blockers","label_of_button_pressed":"Submit","outcome":{"type":"continue_to_screen","target":"__end__","target_type":"screen"},"text_area_values":{"blockers":"None"}}
Meeting Prep
Pre-meeting checklist.
+ list

Before the Meeting

  • Review the agenda
  • Prepare your questions
  • Close distractions
  • Get water
Ready
{"timestamp":"...","event_type":"open_app","screen":"Prep"}
{"timestamp":"...","event_type":"button_press","screen":"Prep","label_of_button_pressed":"Ready","outcome":{"type":"continue_to_screen","target":"Notes","target_type":"screen"}}
{"timestamp":"...","event_type":"button_press","screen":"Notes","label_of_button_pressed":"Done","outcome":{"type":"continue_to_screen","target":"__end__","target_type":"screen"},"text_area_values":{"notes":"Action: follow up with design"}}
Pomodoro
25-minute focus session.
+ timer, auto_advance

Focus Time

25 minutes. No distractions.

Skip
{"timestamp":"...","event_type":"open_app","screen":"Focus"}
{"timestamp":"...","event_type":"auto_advance","screen":"Focus","progress_indicator":"focus_timer"}
{"timestamp":"...","event_type":"auto_advance","screen":"Break","progress_indicator":"break_timer"}
Box Breathing
4-4-4-4 breathing exercise.
+ stepper, segment_group

Box Breathing

Done
{"timestamp":"...","event_type":"open_app","screen":"Breathe"}
{"timestamp":"...","event_type":"auto_advance","screen":"Breathe","progress_indicator":"breathing"}
HIIT Workout
Tabata intervals with pause control.
+ pause/resume

Tabata HIIT

20s work, 10s rest. 4 rounds.

DonePause/Resume
{"timestamp":"...","event_type":"open_app","screen":"Workout"}
{"timestamp":"...","event_type":"button_press","screen":"Workout","label_of_button_pressed":"Pause","outcome":{"type":"pause_progress","target":"hiit","target_type":"progress_indicator"}}
{"timestamp":"...","event_type":"button_press","screen":"Workout","label_of_button_pressed":"Resume","outcome":{"type":"resume_progress","target":"hiit","target_type":"progress_indicator"}}
{"timestamp":"...","event_type":"auto_advance","screen":"Workout","progress_indicator":"hiit"}