unit-test-starter

Generates basic unit tests for small functions or modules, intended for junior developers who need test scaffolding and boundary case coverage.

Last repository push
GitHub Stars
171
Forks
36
Issues / PRs
7

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 "unit-test-starter" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-2d5ef374506da0379fbf45803371b6553c4e13a19601d20d8be114607fb01493. Verify the upstream source and version against https://github.com/proflead/codex-skills-library before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

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

Installation test pending

Generates basic unit tests for small functions or modules, intended for junior developers who need test scaffolding and boundary case coverage.

0 Downloads

Introduction source: third_party · proflead · 0.0.1 Reference

SkillPi interpretation

Tasks
Generate starter unit tests for a small function or module. Use when a junior developer needs test scaffolding and edge cases.
Inputs and outputs
Function signature and expected behavior. Test framework and language. Edge cases or error conditions.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: unit-test-starter
description: Generate starter unit tests for a small function or module. Use when a junior developer needs test scaffolding and edge cases.

Unit Test Starter

Purpose

Generate starter unit tests for a small function or module.

Inputs to request

  • Function signature and expected behavior.
  • Test framework and language.
  • Edge cases or error conditions.

Workflow

  1. Identify core behaviors and failure cases from the function signature.
  2. Propose table-driven cases with inputs and expected outputs.
  3. Highlight one edge case and one negative case.
  4. Show how to run the tests.

Output

  • Test case list with rationale.
  • Sample test code snippet for the project test framework.

Quality bar

  • Keep tests deterministic and isolated.
  • Prefer clear assertions over broad snapshots.

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value58/100

Highlights

  • 针对初级开发者的具体需求,提供单元测试脚手架生成功能
  • 明确了目标用户和使用场景
Trigger Precision78/100

Highlights

  • 触发描述清晰明确,覆盖目标用户和核心功能
  • 边界定义合理,不易与其他Skill混淆
Structure and Standards68/100

Areas to improve

  • 缺少具体示例 Reported severity: Minor

    文档缺少端到端的完整示例展示

    Recommendation: 建议添加一个完整的代码示例,展示从函数输入到测试输出的完整流程

Execution Reliability82/100

Highlights

  • 执行逻辑清晰简单,无明显失败风险
  • 不涉及外部依赖或复杂工具链
Evidence Verifiability (mean of the first four)72/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.

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