Skip to main content
testing

generating-unit-tests

1.0k starsUpdated 2025-12-28
Compatible with:claudecodex

描述

Automatically generate comprehensive unit tests from source code.

如何使用

  1. 访问 GitHub 仓库获取 SKILL.md 文件
  2. 将文件复制到您的项目根目录或 .cursor/rules 目录
  3. 重启您的 AI 助手或编辑器以应用新技能

完整技能说明

name

generating-unit-tests

version

1.0.0

description

Automatically generate comprehensive unit tests from source code covering happy paths, edge cases, and error conditions. Use when creating test coverage for functions, classes, or modules. Trigger with phrases like "generate unit tests", "create tests for", or "add test coverage".

allowed-tools

Read, Write, Edit, Grep, Glob, Bash(test:unit-*)

license

MIT

author

Jeremy Longshore <jeremy@intentsolutions.io>

Tags

#generating#unit#tests

关于 generating-unit-tests

generating-unit-tests 是一个 testing 类别的 AI 技能,旨在帮助开发者和用户更高效地使用 AI 工具。Automatically generate comprehensive unit tests from source code.

该技能在 GitHub 上获得了 1,000 个 star,表明它在社区中受到广泛认可。它兼容 claude、codex 等平台。

核心能力

generating
unit
tests

为什么使用 generating-unit-tests

将 generating-unit-tests 添加到您的 AI 工作流中可以显著提升在 testing 领域的工作效率。通过预定义的提示模板和最佳实践,这个技能可以帮助 AI 助手更好地理解您的需求并提供更准确的响应。

无论您使用 claude 还是 codex,都可以轻松集成此技能到您现有的开发环境中。

探索更多 testing 技能

发现更多 testing 类别的 AI 技能,帮助您构建全面的 AI 技能栈。