frontend-testing
OfficialAutomate Dify frontend tests with Vitest & RTL.
Authorlanggenius
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you generate high-quality Vitest + React Testing Library tests for Dify frontend components, hooks, and utilities, accelerating frontend QA and reducing manual test-writing time.
Core Features & Use Cases
- Automatic test generation: Create unit and integration tests following Vitest + RTL conventions.
- Test coverage guidance: Suggest coverage targets and patterns for components, hooks, and utilities.
- Real-world workflow: Generate tests for a component and then review/modify the generated spec files with confidence.
Quick Start
Use the frontend-testing skill to generate tests for a given React component in the Dify frontend repo.
Dependency Matrix
Required Modules
None requiredComponents
assetsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: frontend-testing Download link: https://github.com/langgenius/dify/archive/main.zip#frontend-testing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.