AGENT SKILL

write-tests

Add focused tests for important project behavior.

License 许可
MIT
所属仓库
Zwin-ux/kit
最近更新
2026-11-02
Stars
★ 0
Forks
2

01 前言 Front Matter

name
write-tests
version
0.1.0
description
Add focused tests for important project behavior.
compatibility
[ "claude-code", "grok-build", "codex" ]

03 SKILL.md 正文

Instructions

  1. If .kit/completeness.json exists, test those testNext symbols first.
  2. Find the existing test runner and patterns in the repo.
  3. Choose the smallest behavior that matters to users or agents.
  4. Prefer tests for:
    • Core happy path
    • One important edge case
    • One failure or validation path
  5. Match local style. Do not introduce a new test framework unless none exists.
  6. Make tests deterministic. Avoid network and real clocks when possible.
  7. Run the tests and fix failures you introduce.
  8. Summarize what is covered and what is still untested.

04 同仓库更多 Skills