360 Secure SkillHub
360 安全技能中心

Unit Test Coverage Helper

该技能面向软件维护者、QA 与开源贡献者,围绕为现有代码库补充有用的单元测试、提升测试覆盖率与回归保障展开。流程为复述目标与约束、提出实现步骤与测试或验证命令、按需追问关键缺失信息,并输出可执行产物、可复用清单与验证说明,偏好本地可运行方案。除需求与规划参考文件外,未给出具体语言或框架的测试模板及覆盖率工具配置。

kyro-ma
kyro-ma
热度 15.45
最近更新 2026-07-25 02:07:05
分类:开发依赖:内部调用大模型 / 读写文件应用场景:代码生成 / 代码审查 / 调试排错

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add unit-test-coverage-helper-020416
Metadata
name
unit-test-coverage-helper
description
Help users with Validated demand: Teams need repeatable help adding useful unit tests and raising test coverage for existing codebases. This requirement is supported by 12 separate online signals across 3 source families, so it represents broader demand rather than a single isolated request.. Use when a user asks for software-and-data, unit tests, test coverage, testing, regression, or needs a practical workflow, artifact, checklist, analysis, or implementation support for this requirement.

Unit Test Coverage Helper

Requirement

Use this skill to help software maintainers, QA engineers, open-source contributors, and product teams who need confidence that changes do not break existing behavior with:

Validated demand: Teams need repeatable help adding useful unit tests and raising test coverage for existing codebases. This requirement is supported by 12 separate online signals across 3 source families, so it represents broader demand rather than a single isolated request.

Demand score: 100/100 (70/70 demand, 30/30 local feasibility). Evidence: 12 signals across 3 source families.

Read references/requirement-plan.md when source evidence, planning details, or review criteria are needed.

Workflow

  1. Restate the user's outcome, constraints, available inputs, and success criteria.
  2. Inspect technical constraints, propose implementation steps, and include test or verification commands when code or data is involved.
  3. Ask only for missing information that materially changes the output; otherwise make reasonable assumptions and continue.
  4. Keep the implementation local-hardware friendly: prefer scripts, templates, checklists, and small-model or CPU-safe workflows over cloud-only or large-training approaches.
  5. Produce the requested artifact, workflow, checklist, analysis, code change, or decision support.
  6. Validate the output against the success criteria and list any remaining risks or follow-up work.

Expected Outputs

  • A tailored answer or artifact for the user's immediate situation.
  • A reusable checklist or workflow when the task is repeatable.
  • A verification note showing how the result was checked.

Validation

  • The output directly addresses the discovered requirement.
  • The user can act on the result without reading the original source post.
  • Assumptions, limits, and required inputs are visible.
  • The final response includes a short usage or next-step note when helpful.

Triggers

Keywords: software-and-data, unit tests, test coverage, testing, regression, quality

Example trigger sentences:

  • Help me Teams need repeatable help adding useful unit tests and raising test coverage for existing codebases.
  • I need a practical workflow for Teams need repeatable help adding useful unit tests and raising test coverage for existing codebases.
  • Use $unit-test-coverage-helper to handle Teams need repeatable help adding useful unit tests and raising test coverage for existing codebases.