Agent Skills
› keychat-io/keychat-app
› run
run
GitHub用于在设备或模拟器上运行 Keychat Flutter 应用。支持指定设备 ID,自动处理单/多设备场景,并可通过 -t 参数切换生产或不同开发环境的入口文件。
触发场景
用户请求启动 Keychat 应用
需要在特定设备上调试 App
需要切换不同的运行环境(如 dev1, prod)
安装
npx skills add keychat-io/keychat-app --skill run -g -y
SKILL.md
Frontmatter
{
"name": "run",
"description": "Run the Keychat app on a device or simulator",
"allowed-tools": "Bash(flutter *)",
"argument-hint": "[device-id]",
"disable-model-invocation": true
}
Run the Keychat app on a device or simulator.
Arguments
$ARGUMENTS- Optional: device ID to run on
Workflow
-
First list available devices:
flutter devices -
If
$ARGUMENTSis provided, run on that device:cd packages/app && flutter run -d $ARGUMENTS -
If no device specified:
- If only one device is available, use it
- If multiple devices, show the list and ask user to specify
Alternative entry points
The app has multiple entry points for different environments:
lib/main.dart- Productionlib/main_dev1.dart- Development 1lib/main_dev2.dart- Development 2lib/main_dev3.dart- Development 3
To run with a specific entry point:
cd packages/app && flutter run -d <device> -t lib/main_dev1.dart
版本历史
- 294d00d 当前 2026-07-05 10:51


