AgentSkillsCN

spec-author

将模糊的需求转化为小而可测试的行为规范 + 验收标准 + 非目标事项。

SKILL.md
--- frontmatter
name: spec-author
description: Turn a vague request into a small, testable behavior spec + acceptance criteria + non-goals.

Output format

Produce:

  1. Problem statement (1-3 sentences)
  2. Acceptance criteria (checklist, observable behavior)
  3. Non-goals
  4. Constraints (perf, security, compatibility)
  5. Proposed tests (what to assert; prefer black-box)

Rules

  • Avoid implementation details.
  • Prefer precise wording (inputs/outputs, errors, edge cases).
  • If something is ambiguous, pick a reasonable default and record it as an explicit assumption.