test

GitHub

用于运行 Keychat 项目的测试。支持执行全部测试、仅 Flutter/Dart 测试或指定文件,根据参数自动选择命令并清晰报告结果。

.claude/skills/test/SKILL.md keychat-io/keychat-app

触发场景

用户要求运行项目测试 用户询问测试结果 用户指定测试文件或包名

安装

npx skills add keychat-io/keychat-app --skill test -g -y
更多选项

非标准路径

npx skills add https://github.com/keychat-io/keychat-app/tree/main/.claude/skills/test -g -y

不安装直接使用

npx skills use keychat-io/keychat-app@test

指定 Agent (Claude Code)

npx skills add keychat-io/keychat-app --skill test -a claude-code -g -y

安装 repo 全部 skill

npx skills add keychat-io/keychat-app --all -g -y

预览 repo 内 skill

npx skills add keychat-io/keychat-app --list

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

  1. If no arguments provided, run melos run test:all
  2. If a file path is provided (ends with .dart), run that specific test
  3. Report test results clearly, including any failures

版本历史

  • 294d00d 当前 2026-07-05 10:51

同 Skill 集合

.claude/skills/architecture/SKILL.md
.claude/skills/batch/SKILL.md
.claude/skills/bootstrap/SKILL.md
.claude/skills/flutter-check/SKILL.md
.claude/skills/generate/SKILL.md
.claude/skills/lint/SKILL.md
.claude/skills/pods/SKILL.md
.claude/skills/clean/SKILL.md
.claude/skills/run/SKILL.md
.claude/skills/rust-build/SKILL.md

元信息

文件数
0
版本
294d00d
Hash
2706ee2a
收录时间
2026-07-05 10:51

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-15 03:27
浙ICP备14020137号-1 $访客地图$