create-dart-bg-activity
Installation
SKILL.md
Create Dart Background Activity Process
Workflow
-
Check repo and environment first.
- If the repo uses FVM, run Dart and Flutter commands through
fvm. - Prefer a checked-in executable entrypoint path such as
daemon/bin/<service_name>orbin/<service_name>.
- If the repo uses FVM, run Dart and Flutter commands through
-
Define the background process shape.
- Choose a stable launchd
Label, for examplecom.example.sync_agent. - Decide whether the process is:
- a pure Dart CLI launched with
dart run - an AOT-compiled Dart executable
- a wrapper script that resolves the Dart SDK and then
execs the real process
- a pure Dart CLI launched with
- Prefer an AOT executable or a checked-in launcher script over
/bin/zsh -lc ....
- Choose a stable launchd