back
loading skill details...
Generate Vitest + React Testing Library tests for Dify frontend components, hooks, and utilities. Triggers on testing, spec files, coverage, Vitest, RTL, unit…
Dify Frontend Testing Skill This skill enables Codex 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/docs/test.md. Use Vitest mock/timer APIs (vi.*). When to Apply This Skill Apply this skill when the user: Asks to write tests for a component, hook, or utility Asks to review existing tests for completeness Mentions Vitest, React Testing Library, RTL, or spec files Requests test coverage improvement Uses pnpm analyze-component output as context Mentions testing, unit tests, or integration tests for frontend code Wants to understand testing patterns in the Dify codebase Do NOT apply when:
don't have the plugin yet? install it then click "run inline in claude" again.