什么是 react-testing?
当使用 React 测试库测试 React 组件/钩子/上下文时;不是 e2e;涵盖 renderHook、提供者、表单和反模式。 来源:mintuz/claude-plugins。
当使用 React 测试库测试 React 组件/钩子/上下文时;不是 e2e;涵盖 renderHook、提供者、表单和反模式。
通过命令行快速安装 react-testing AI 技能到你的开发环境
来源:mintuz/claude-plugins。
This skill focuses on React-specific testing patterns. For general DOM testing patterns (queries, userEvent, async, accessibility), load the frontend-testing skill. For TDD workflow, load the tdd skill.
React components are functions - Test them like functions: inputs (props) → output (rendered DOM).
| Testing components, props, and conditional rendering | components.md | | Testing custom hooks with renderHook | hooks.md | | Testing context providers and consumers | context.md | | Testing form inputs, submissions, and validation | forms.md | | Common React testing mistakes to avoid | anti-patterns.md |
当使用 React 测试库测试 React 组件/钩子/上下文时;不是 e2e;涵盖 renderHook、提供者、表单和反模式。 来源:mintuz/claude-plugins。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/mintuz/claude-plugins --skill react-testing当使用 React 测试库测试 React 组件/钩子/上下文时;不是 e2e;涵盖 renderHook、提供者、表单和反模式。 来源:mintuz/claude-plugins。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/mintuz/claude-plugins --skill react-testing 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/mintuz/claude-plugins