·jest-generator
</>

jest-generator

matteocervelli/llms

为 JavaScript/TypeScript 代码生成基于 Jest 的单元测试。使用适当的模拟、描述块和覆盖率,按照 Jest 约定创建测试文件。

4安装·0热度·@matteocervelli

安装

$npx skills add https://github.com/matteocervelli/llms --skill jest-generator

SKILL.md

This skill generates Jest-based unit tests for JavaScript and TypeScript code, following Jest conventions, best practices, and project standards. It creates comprehensive test suites with proper mocking, describe blocks, and code organization.

Input: JavaScript/TypeScript source file to test Process: Analyze → Generate structure → Write tests → Run & verify Output: Jest test file with ≥ 80% coverage Next Step: Integration testing or code review

为 JavaScript/TypeScript 代码生成基于 Jest 的单元测试。使用适当的模拟、描述块和覆盖率,按照 Jest 约定创建测试文件。 来源:matteocervelli/llms。

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/matteocervelli/llms --skill jest-generator 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/matteocervelli/llms --skill jest-generator
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 jest-generator?

为 JavaScript/TypeScript 代码生成基于 Jest 的单元测试。使用适当的模拟、描述块和覆盖率,按照 Jest 约定创建测试文件。 来源:matteocervelli/llms。

如何安装 jest-generator?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/matteocervelli/llms --skill jest-generator 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/matteocervelli/llms