AgentSkillsCN

test-plan

根据验收标准制定功能级测试计划,并将其添加到功能规格中。

SKILL.md
--- frontmatter
name: test-plan
description: Create a feature-level test plan from acceptance criteria and add it to the feature spec.
  1. Read AGENTS.md, codex.toml (if present), and the target feature spec spec/features/F-XXXX-*.md.
  2. Convert acceptance criteria into a test matrix:
    • Unit tests (fast, isolated)
    • Integration tests (component boundaries)
    • End-to-end / scenario tests (happy path + key edge cases)
    • Negative/error cases (validation, permissions, timeouts, etc.)
  3. Decide what to mock vs run for real (with rationale).
  4. Update the feature spec “Test plan” section with:
    • Test cases mapped to ACs
    • Test data/fixtures needed
    • Any required test hooks/utilities
  5. End by recommending write-tests.