Files
rag_agent/.github/AGENTS.md
2026-04-13 11:34:23 +08:00

25 lines
1.2 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 测试生成智能体约定
## 适用范围
- 本工作区包含基于 Tool Calling 与 Skill Calling 的测试内容生成链路。
- 当用户提出测试项分解、测试用例生成或预期成果生成需求时,必须触发 testing-orchestrator。
## 已注册技能
- identify-requirement-type将用户需求文本识别为明确的测试需求类型为后续测试项分解与测试用例生成提供分类依据。
- decompose-test-items按需求类型规则生成正常测试与异常测试测试项。
- generate-test-cases按测试项生成可执行测试用例至少 1 条/测试项。
- testing-orchestrator按标准顺序编排工具调用并输出结构化结果。
## 强制调用链
1. identify-requirement-type
2. decompose-test-items
3. generate-test-cases
4. build_expected_results
5. format_output
## 约束规则
- 除非用户明确要求只看中间步骤,否则禁止跳步。
- 每一步都必须显式接收上一步输出作为上下文输入。
- 若无法识别类型,必须输出未知类型及候选类型,并继续执行通用分解。
- 最终输出必须严格包含测试项、测试用例、预期成果三段,并按正常测试/异常测试分组。