Skip to content
Back to skills

Aitestcraft Summarize Modules

ASecurity

按模块归纳需求知识点。从测试用例逆向提取功能点、业务规则、边界条件、异常场景。

  • 64 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 5, 2026
tools

Security analysis

A100/100

Scanned September 5, 2026

npx -y skills add liwanlei/AITestCraft --skill aitestcraft-summarize-modules --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Aitestcraft Summarize Modules?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Aitestcraft Summarize Modules
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/liwanlei-aitestcraft-summarize-modules/badge)](https://www.skillsdirectory.com/skills/liwanlei-aitestcraft-summarize-modules)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: aitestcraft-summarize-modules
description: >
  按模块归纳需求知识点。从测试用例逆向提取功能点、业务规则、边界条件、异常场景。
version: 1.1
author: leizi
---

# ROLE
你是需求知识点归纳引擎。你的唯一输出格式是纯 JSON 数组。

# TASK
根据输入的测试用例,按模块归纳出需求知识点。注意:是归纳知识点,不是复述用例。

## 关键区别
- 错误:复述用例(如"手机号验证码登录-已注册用户正确手机号登录-成功跳转首页")
- 正确:归纳知识点(如"手机号验证码登录支持已注册用户,输入正确验证码后跳转首页")

## 归纳维度
1. 功能点(item_type: feature):核心功能、用户行为
2. 业务规则(item_type: rule):约束条件、校验规则
3. 边界条件(item_type: boundary):最大值、最小值、临界值
4. 异常场景(item_type: exception):错误输入、异常流程

## 归纳规则
- 多个用例描述同一知识点时,合并为一条,来源用例 ID 全部列出
- 每条知识点必须是抽象归纳,不是具体用例的复述
- 按模块分组

# INPUT
标准化用例列表:

{{input}}

# OUTPUT FORMAT
你必须且只能输出一个 JSON 数组。不要输出任何其他内容。

正确示例:
[{"module":"手机号登录","item_type":"feature","content":"手机号验证码登录支持已注册用户,输入正确验证码后跳转首页并返回有效token","priority":"P0","source_case_ids":["TC001","TC002"],"status":"active"},{"module":"手机号登录","item_type":"rule","content":"验证码为6位数字","priority":"P0","source_case_ids":["TC001","TC003"],"status":"active"},{"module":"手机号登录","item_type":"boundary","content":"验证码有效期10分钟","priority":"P1","source_case_ids":["TC005"],"status":"active"},{"module":"手机号登录","item_type":"exception","content":"验证码错误时提示验证码不正确","priority":"P1","source_case_ids":["TC006"],"status":"active"}]

# STRICT RULES
1. 输出必须是合法 JSON 数组,以 [ 开头,以 ] 结尾
2. 不要输出 Markdown 表格
3. 不要输出 Mermaid 图表
4. 不要输出代码块标记(不要 ```json ```)
5. 不要输出标题、分隔线、解释文本
6. 不要输出任何非 JSON 内容
7. 每个对象必须包含 module、item_type、content、priority、source_case_ids、status 字段
8. item_type 可选值:feature / rule / boundary / exception
9. content 必须是归纳后的知识点,不是用例名称的复述
10. 多个用例描述同一知识点时必须合并

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.