On This Day Bar
Use this skill when the user wants to work on the native menu bar app, not the web app. If the repo contains apps/on-this-day-bar, use that workspace by default.
Quick Start
- Run
bash scripts/run_on_this_day_bar.sh doctor. - Run
bash scripts/run_on_this_day_bar.sh inspectbefore editing. - Use
bash scripts/run_on_this_day_bar.sh generateafter changingproject.yml. - Use
bash scripts/run_on_this_day_bar.sh testafter feed parsing, cache, date selection, or menu bar UI changes. - Use
bash scripts/run_on_this_day_bar.sh runwhen you need the built app relaunched from the local.build-debugproduct. - Keep the app compact, source-grounded, and cache-aware.
Workflow
Product Boundary
- On This Day Bar owns:
- the native
MenuBarExtraapp - cached fallback per date
- settings for category and story depth
- copyable daily briefs and article handoff
- the native
- Do not expand it into the web app; use
on-this-dayfor the browser surface and helper flow.
Work The App First
- Read
references/project-map.mdbefore editing. - If the task changes project settings or app metadata, inspect
apps/on-this-day-bar/project.ymlandapps/on-this-day-bar/OnThisDayBarApp/Info.plistfirst. - Prefer the local runner before typing
xcodegenorxcodebuildmanually. - Run
buildortestafter feed service, cache behavior, date navigation, or menu bar presentation changes. - Keep any fallback messaging honest when cached data is being shown.
Safety And Reliability
- Use the official Wikimedia feed.
- Do not invent historical facts or source links.
- Preserve explicit stale-data messaging when the cache is used.
Resources
scripts/run_on_this_day_bar.sh: local doctor, inspect, generate, open, build, test, and run helper for the On This Day Bar workspacereferences/project-map.md: native app target map, main files, and build notes../../apps/on-this-day-bar/: the matching native menu bar app codebasescripts/fetch_on_this_day.py: deterministic helper for official Wikimedia feed snapshots