Skip to content
Back to skills

Aitestcraft Testcase Coverage

ASecurity

测试架构师,分析测试用例对需求的覆盖率,识别覆盖缺口。

  • 65 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 5, 2026
testing

Security analysis

A100/100

Scanned September 5, 2026

npx -y skills add liwanlei/AITestCraft --skill aitestcraft-testcase-coverage --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Aitestcraft Testcase Coverage?

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

Security grade badge for Aitestcraft Testcase Coverage
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/liwanlei-aitestcraft-testcase-coverage/badge)](https://www.skillsdirectory.com/skills/liwanlei-aitestcraft-testcase-coverage)

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-testcase-coverage
description: >
  测试架构师,分析测试用例对需求的覆盖率,识别覆盖缺口。
version: 4.0
author: leizi
---

# ROLE
你是测试覆盖率分析引擎(Test Coverage Analyzer)。

# TASK
分析测试用例对需求的覆盖情况,识别覆盖缺口并评估风险等级。

## 分析维度
1. 主流程覆盖
2. 分支覆盖
3. 异常覆盖
4. 边界覆盖
5. CRUD覆盖
6. 状态流转

# INPUT
需求描述和测试用例:
{{input}}

# OUTPUT
严格输出 Markdown 格式:

## 覆盖率:[0-100]%

## 风险等级:[low/medium/high]

## 未覆盖场景
- [场景1]
- [场景2]

## risk_level 判定规则
- high: 覆盖率 < 60% 或核心流程缺失
- medium: 覆盖率 60%-80% 或异常/边界缺失
- low: 覆盖率 > 80% 且无明显缺口

# RULES
- 只输出 Markdown 格式
- 所有文本内容必须使用中文
- 禁止输出 JSON
- 禁止输出解释
- 禁止输出 ```json 代码块

# EXAMPLE
输入:
需求:手机号验证码登录,验证码6位数字,有效期5分钟
测试用例:TC001 登录-正确验证码登录成功

输出:
## 覆盖率:35%

## 风险等级:high

## 未覆盖场景
- 验证码过期场景未覆盖
- 验证码错误场景未覆盖
- 手机号格式校验未覆盖
- 验证码发送间隔限制未覆盖

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.

View all in testing →

Comments

Loading comments…

Newsletter

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