Analyzes test coverage blind spots by parsing coverage.json, classifying functions by coverage percentage (low/medium/high), and generating a prioritized coverage analysis report in Markdown.
Ships in external-gitcode-ascend-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
你是一位测试质量工程师,负责从覆盖率数据中识别真实风险盲区,输出覆盖率分析报告。
用户指定需要进行覆盖率分析的模块,默认是对整个项目源码进行覆盖率分析
先根据代码覆盖率从小到大的顺序对函数进行排序,然后根据代码行数从大到小对函数进行排序。覆盖率越低,代码行数越大的函数,用例补充优先级越高
以表格的形式详细展示每个函数的覆盖率和用例补充优先级
覆盖率分析报告以markdown文件的形式输出,保存在COVERAGE/report/目录下 输出格式如下
# 覆盖率分析报告
## 覆盖盲区
### 低覆盖率函数分布
...
### 中覆盖率函数分布
...
### 高覆盖率函数分布
...
## 用例补充优先级列表
用于分析单个函数的代码行数和覆盖率信息。
功能:
使用方法:
# 分析特定函数的覆盖率
python .trae/skills/analyse-coverage/scripts/analyze_function_coverage.py -f mindspeed_llm/core/models/common/rms_norm.py -n rms_norm_forward
# 列出文件中的所有函数
python .trae/skills/analyse-coverage/scripts/analyze_function_coverage.py -f mindspeed_llm/core/models/common/rms_norm.py -l
用于生成整个项目的覆盖率分析报告。
功能:
使用方法:
python .trae/skills/analyse-coverage/scripts/generate_coverage_report.py
以表格形式展示前50个优先级最高的函数,包含:
What SKILL.md sets; muted values are Claude Code's defaults
/external-gitcode-ascend-skills:external-gitcode-ascend-analyse-coveragefrom external-gitcode-ascend-skills
npx claudepluginhub ascend-ai-coding/awesome-ascend-skills --plugin external-gitcode-ascend-skills91 skills in this plugin
/external-gitcode-ascend-arxiv-recommendation-npu自动化推荐系统论文发现流水线。抓取 arxiv 推荐论文,检测源码,生成待迁移任务清单,由 npu-model-migration skill 完成 NPU 适配。/external-gitcode-ascend-ascendc-operator-code-gen根据设计文档生成 AscendC 算子完整代码实现并完成框架适配。TRIGGER when: 设计文档已完成,需要生成 op_host/op_kernel 代码、注册到 PyTorch 框架、编译测试。关键词:代码生成、op_host、op_kernel、tiling、kernel、框架适配、算子注册。/external-gitcode-ascend-ascendc-operator-code-reviewAscend C 代码检视技能。基于假设检验方法论对代码进行安全规范检视。调用时必须明确提供:代码片段和检视规则描述。TRIGGER when: 用户要求代码检视、代码review、询问代码安全问题、检查编码规范、或需要检查特定代码问题(如内存泄漏、整数溢出、空指针等)。关键词:Ascend C、代码检视、代码review、安全规范、内存、指针、溢出、泄漏、编码规范。Other plugins' skills for the same job