OpenParable
Skip to content
← Back to skills

~test

Testing & Quality

~test is an Agent Skill for testing & quality published in the hellowind777/helloagents repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

为指定模块或最近变更编写完整测试(~test 命令)

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/hellowind777/helloagents/blob/HEAD/skills/commands/test/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/test-fbeb78ae, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Trigger: ~test [scope]

流程

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