什麼是 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