·frontend-testing
</>

frontend-testing

nilecui/skillsbase

为 Dify 前端组件、挂钩和实用程序生成 Vitest + React 测试库测试。触发测试、规范文件、覆盖率、Vitest、RTL、单元测试、集成测试或编写/审查测试请求。

6安装·0热度·@nilecui

安装

$npx skills add https://github.com/nilecui/skillsbase --skill frontend-testing

SKILL.md

This skill enables Claude to generate high-quality, comprehensive frontend tests for the Dify project following established conventions and best practices.

⚠️ Authoritative Source: This skill is derived from web/testing/testing.md. Use Vitest mock/timer APIs (vi.).

| Vitest | 4.0.16 | Test runner | | React Testing Library | 16.0 | Component testing | | jsdom | - | Test environment | | nock | 14.0 | HTTP mocking | | TypeScript | 5.x | Type safety |

为 Dify 前端组件、挂钩和实用程序生成 Vitest + React 测试库测试。触发测试、规范文件、覆盖率、Vitest、RTL、单元测试、集成测试或编写/审查测试请求。 来源:nilecui/skillsbase。

查看原文

可引用信息

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

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

快速解答

什么是 frontend-testing?

为 Dify 前端组件、挂钩和实用程序生成 Vitest + React 测试库测试。触发测试、规范文件、覆盖率、Vitest、RTL、单元测试、集成测试或编写/审查测试请求。 来源:nilecui/skillsbase。

如何安装 frontend-testing?

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

这个 Skill 的源码在哪?

https://github.com/nilecui/skillsbase