Agent Skills
› keychat-io/keychat-app
› run
run
GitHub在设备或模拟器上运行 Keychat Flutter 应用。支持指定设备 ID,自动处理设备列表选择,并提供多种入口点(生产及多个开发环境)以适配不同部署场景。
触发场景
用户请求启动或运行 Keychat 应用
需要指定特定设备进行调试或测试
需要切换不同的应用入口环境
安装
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


