Flight Scout
Use this skill for the bundled apps/flight-scout workspace. If the repo contains that app, use it by default.
Quick Start
- Run
bash scripts/run_flight_scout.sh doctor. - Run
bash scripts/run_flight_scout.sh inspectbefore editing. - Use
bash scripts/run_flight_scout.sh generateafter changingproject.yml. - Use
bash scripts/run_flight_scout.sh opento open the Xcode project. - Use
bash scripts/run_flight_scout.sh typecheckfor a fast source-level sanity pass across the app and shared framework. - Use
bash scripts/run_flight_scout.sh buildfor a plain build check. - Use
bash scripts/run_flight_scout.sh testafter model, service, or UI changes. - Use
bash scripts/run_flight_scout.sh runwhen you need the menu bar app relaunched from.build-debug.
Workflow
Before Editing
- Read
references/project-map.mdfor the target layout and validation path. - If the task changes project settings or app metadata, inspect
project.ymlandFlightScoutApp/Info.plistfirst. - Keep Flight Scout menu-bar-first and compact. The board can be richer, but the status item and popover should stay the default path.
- Treat
VibeWidgetCoreas a shared framework target inside this workspace; do not rename or delete it without updating the scheme and imports. - Keep source coverage honest: route scores, advisory data, and price signals should reflect real inputs and clearly show freshness or fallback states.
Validation
- Prefer the runner script over manual
xcodegenorxcodebuildcommands. - If
doctorreports Xcode is not ready, stop and use the exact fix it prints. - Run
typecheckafter changes to the shared framework or app sources when you want the fastest local sanity pass. - Run
buildortestafter changes to models, ranking, route resolution, risk feed parsing, persistence, or menu bar and board UI. - Run
runafter changes that affect the menu bar panel, board window, or app lifecycle.
Example Prompts
Use $flight-scout to inspect the Flight Scout workspace, regenerate the project if needed, and run the app checks.Use $flight-scout to tighten the route ranking flow and validate the Flight Scout tests.Use $flight-scout to update the menu bar and board UI without breaking the travel-risk scoring pipeline.
Resources
scripts/run_flight_scout.sh: local doctor, inspect, generate, open, typecheck, build, test, and run helper forapps/flight-scout.references/project-map.md: target map, main files, shared framework target, and validation notes.