AgentSkillsCN

ac-expander

根据用户提示关键词和任务类型,自动选择最适合的专门代理。当将工作路由给编码员、测试员、评审员、研究、重构、文档或清理代理时使用。

SKILL.md
--- frontmatter
name: ac-expander
description: Turn vague Acceptance Criteria into measurable checks and test assertions
version: 0.1.0
tags: [requirements, testing]
triggers:
  - acceptance criteria
  - refine criteria
  - measurable

Acceptance Criteria Expander

Purpose

Rewrite ambiguous AC into specific, testable checks and edge cases.

Behavior

  1. For each AC, create measurable statements with inputs/outputs.
  2. Add 2–4 edge cases (bounds, invalid, error paths).
  3. Suggest test names that map 1:1 to checks.

Guardrails

  • Preserve original intent; show original text and revised version.
  • Keep each AC concise (≤3 lines each).

Integration

  • Project Manager agent; /lazy create-feature refinement step.

Example Prompt

Make these AC measurable and propose matching tests.