Agent Skills
› keychat-io/keychat-app
› test
test
GitHub用于执行 Keychat 项目的测试任务。支持运行全部、仅 Flutter、仅 Dart 或指定文件的测试,并根据参数自动选择命令,最后清晰报告测试结果。
触发场景
需要运行项目单元测试时
用户询问测试执行情况或请求执行特定测试文件时
安装
npx skills add keychat-io/keychat-app --skill test -g -y
SKILL.md
Frontmatter
{
"name": "test",
"description": "Run tests for Keychat packages",
"allowed-tools": "Bash(melos *), Bash(flutter test *)",
"argument-hint": "[test-file|package]",
"disable-model-invocation": true
}
Run tests for the Keychat project.
Arguments
$ARGUMENTS- Optional: specific test file path or package name
Test Commands
Run all tests
melos run test:all
Run Flutter tests only
melos run test:flutter
Run Dart tests only
melos run test:dart
Run a specific test file
cd packages/app
flutter test $ARGUMENTS
Workflow
- If no arguments provided, run
melos run test:all - If a file path is provided (ends with
.dart), run that specific test - Report test results clearly, including any failures
版本历史
- 294d00d 当前 2026-07-05 10:51


