跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
开发与测试

test-writer

Generate comprehensive, edge-case resilient unit tests

00200200 · 已有静态检查记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add 00200200/cinch --skill test-writer

技能说明


name: test-writer description: Generate comprehensive, edge-case resilient unit tests paths:

  • "tests/**"
  • "**/test"

Test Writer

Write focused, reproducible unit and integration tests:

  1. Test boundary conditions, null/empty values, and unexpected error states.
  2. Use descriptive test names following test_<function>_<scenario>_<expected>.
  3. Prefer deterministic fixtures over network or time-dependent mocks.
  4. Keep test assertions minimal and explicit.