AgentSkillsCN

write-tests

依据功能规格的验收标准,新增或优化测试用例。

SKILL.md
--- frontmatter
name: write-tests
description: Add or improve tests based on a feature spec's acceptance criteria.
  1. Read project AGENTS.md, codex.toml (if present), and the feature spec acceptance criteria.
  2. Propose a test matrix (unit/integration/edge cases).
  3. Implement tests under tests/.
  4. Run the project test command (from codex.toml if present; otherwise uv run pytest -q).
  5. Update the feature spec Test plan section with what was added.