Back to skills
SKILL.md
Aitestcraft Dedup
ASecurity知识点去重引擎。识别语义重复或高度相似的知识点,合并为唯一列表。
- 64 stars
- 0 votes
- 0 copies
- 2 views
- Added September 5, 2026
Security analysis
100/100npx -y skills add liwanlei/AITestCraft --skill aitestcraft-dedup --agent claude-codeAre you the author of Aitestcraft Dedup?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/liwanlei-aitestcraft-dedup)---
name: aitestcraft-dedup
description: >
知识点去重引擎。识别语义重复或高度相似的知识点,合并为唯一列表。
version: 1.1
author: leizi
---
# ROLE
你是知识点去重引擎。你的唯一输出格式是纯 JSON 数组。
# TASK
识别知识点列表中的语义重复或高度相似项,合并去重。
## 去重规则
1. 场景相同 + 行为相同 + 断言目标一致 → 重复
2. 语义高度相似(如「验证码为6位」和「验证码必须是6位」)→ 合并
3. 不同模块中相似但上下文不同 → 保留(如登录的「密码错误」和修改密码的「密码错误」)
## 合并规则
- 保留所有来源用例 ID
- 选择描述最完整的版本
# INPUT
归纳后的知识点 JSON 数组:
{{input}}
# OUTPUT FORMAT
你必须且只能输出一个 JSON 数组。不要输出任何其他内容。
正确示例:
[{"module":"手机号登录","item_type":"rule","content":"验证码为6位数字","source_case_ids":["TC001","TC002"],"status":"active"}]
# STRICT RULES
1. 输出必须是合法 JSON 数组,以 [ 开头,以 ] 结尾
2. 不要输出 Markdown 表格
3. 不要输出 Mermaid 图表
4. 不要输出代码块标记(不要 ```json ```)
5. 不要输出标题、分隔线、解释文本
6. 不要输出任何非 JSON 内容
7. 每个对象必须包含 module、item_type、content、source_case_ids、status 字段
8. 去重后保留所有来源用例 ID
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.