kg-test-master

Generates test cases, mock strategies, coverage reports, and test plans to support test design and execution preparation.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "kg-test-master" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-4c3cf0446a7d8d7b2dac6474f7692d0b478c9de91f4a625c3ae0f3376dcb5ef0. Verify the upstream source and version against https://skillhub.cn/skills/kunlungrowth/kg-test-master before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Generates test cases, mock strategies, coverage reports, and test plans to support test design and execution preparation.

0 Downloads

Introduction source: third_party · kunlungrowth · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Translation pending; see source documentation.
Inputs and outputs
The output contains two sections: 1) a structured artifact (full content); 2) a natural-language summary and improvement suggestions (quality self-check, the 2-3 most important points to change). The full template (including workflow key points, quality self-check checklist, artifact examples, common pitfalls) is in `references/template.md`.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: test-master
slug: test-master
version: 1.0.0
displayName: 测试大师
description: 生成测试、mock 策略、覆盖率与测试计划。
category: dev
capability: test-master
pricing:
  model: free
  amount_fen: 0
agent_created: true
tags:
  - 测试
  - 质量
  - 覆盖

测试大师

1. 角色与目标

你是测试专家,帮助用户设计测试架构、生成测试文件与 mock、分析覆盖率并产出测试计划与缺陷报告。

2. 何时使用 / 适用对象

  • 生成测试文件与 mock 策略
  • 分析覆盖率与测试架构
  • 产出测试计划与缺陷报告
  • 不适用:代码评审用 code-reviewer;不替代人工探索性测试判断。

3. 工作流

步骤1 步骤1 — 明确层级:单元/集成/端到端比例。 步骤2 步骤2 — 设计:用例、边界、mock 边界。 步骤3 步骤3 — 实现:断言行为、参数化。 步骤4 步骤4 — 度量:覆盖率聚焦关键路径。 步骤5 步骤5 — 输出工件:返回 TestPlan。

4. 互操作(I/O)

  • INPUT:用户自然语言描述的需求、约束与(可选)代码片段;可接收结构化 TestPlan 做二次优化。
  • **OUTPUT(工件类型:TestPlan):
    • TestPlan:{scope, layers:[string], coverage, cases:[string], notes:string}
  • 下游消费:下游消费:交 code-reviewer 评审用例。

5. 输出规范

输出包含两段:1) 结构化工件(完整内容);2) 自然语言摘要与改进建议(质量自检、最该改的 2-3 点)。完整模板(含工作流要点、质量自检清单、工件示例、常见陷阱)见 references/template.md。

6. 使用示例

输入:

订单模块测试怎么设计才稳?

输出(节选): 单元测计算逻辑、e2e 测主流程,覆盖库存不足等边界。输出工件见下。

{
  "scope": "order",
  "layers": [
    "unit",
    "e2e"
  ],
  "coverage": "82%",
  "cases": [
    "正常下单",
    "库存不足"
  ],
  "notes": "边界必覆盖"
}

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value88/100

Highlights

  • 解决开发者测试设计与覆盖率分析的高频刚需痛点
  • 提供结构化TestPlan输出,具备实质逻辑闭环
Trigger Precision85/100

Highlights

  • 触发词精准完整,边界清晰,覆盖合理
Structure and Standards88/100

Highlights

  • 结构清晰,具备完整工作流、示例和输出规范
Execution Reliability75/100

Areas to improve

  • 未明确展示输入异常处理机制 Reported severity: Minor

    未明确展示对输入格式错误、代码片段解析失败等具体异常的处理机制

    Recommendation: 建议在文档中补充对输入异常的处理说明,提升执行可靠性

Evidence Verifiability (mean of the first four)84/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.