~test

GitHub

为指定模块或最近变更编写完整测试。支持自动推导范围,遵循TDD规范生成边界用例,执行验证并报告覆盖率与遗漏,作为交付证据同步任务状态。

skills/commands/test/SKILL.md hellowind777/helloagents

Trigger Scenarios

需要为代码模块或最近变更编写单元测试 在Codex active goal下自动生成测试以验证交付物

Install

npx skills add hellowind777/helloagents --skill ~test -g -y
More Options

Non-standard path

npx skills add https://github.com/hellowind777/helloagents/tree/main/skills/commands/test -g -y

Use without installing

npx skills use hellowind777/helloagents@~test

指定 Agent (Claude Code)

npx skills add hellowind777/helloagents --skill ~test -a claude-code -g -y

安装 repo 全部 skill

npx skills add hellowind777/helloagents --all -g -y

预览 repo 内 skill

npx skills add hellowind777/helloagents --list

SKILL.md

Frontmatter
{
    "name": "~test",
    "policy": {
        "allow_implicit_invocation": false
    },
    "description": "为指定模块或最近变更编写完整测试(~test 命令)"
}

Trigger: ~test [scope]

流程

  1. 确定测试范围:
    • 无参数:为最近变更的文件编写测试
    • 指定文件/模块:为指定范围编写测试
    • Codex active goal 下无参数:从 tasks.md 未完成项、contract.jsonstate_path 推导本次测试范围
  2. 按 hello-* 技能查找路径读取 hello-test SKILL.md,按其 TDD 规范和边界用例要求编写测试
  3. 运行测试确认全部通过
  4. 同步直接相关的任务状态,报告覆盖情况和遗漏;测试通过只作为 goal 交付证据,不直接标记 goal complete

Version History

  • 79c0b48 Current 2026-08-20 08:25

Same Skill Collection

skills/commands/auto/SKILL.md
skills/commands/loop/SKILL.md
skills/hello-api/SKILL.md
skills/hello-data/SKILL.md
skills/hello-errors/SKILL.md
skills/hello-perf/SKILL.md
skills/hello-security/SKILL.md
skills/hello-test/SKILL.md
skills/hello-ui/SKILL.md
skills/hello-write/SKILL.md
skills/_meta/SKILL.md
skills/commands/ask/SKILL.md
skills/commands/clean/SKILL.md
skills/commands/commit/SKILL.md
skills/commands/help/SKILL.md
skills/commands/init/SKILL.md
skills/commands/plan/SKILL.md
skills/commands/prd/SKILL.md
skills/commands/qa/SKILL.md
skills/hello-arch/SKILL.md
skills/hello-debug/SKILL.md
skills/hello-reflect/SKILL.md
skills/hello-subagent/SKILL.md
skills/helloagents/SKILL.md
skills/qa-review/SKILL.md

Metadata

Files
0
Version
79c0b48
Hash
d8ddb0ff
Indexed
2026-08-20 08:25

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-29 02:40
浙ICP备14020137号-1 $Carte des visiteurs$