Writing frontend tests for Dify projects can be fast and simple. This skill helps you generate tests for components, hooks, and utilities. It uses Vitest and React Testing Library to create reliable unit and integration tests.
You can ask for new tests or review existing ones. The skill follows the best practices from the Dify project. It handles common patterns like rendering, props, user interactions, and edge cases.
With this skill, you improve test coverage and catch bugs early. It works with the pnpm analyze-component command to understand your code. Just tell it what to test and get a solid test file.
Global
mkdir -p ~/.claude/skills/frontend-testingProject
mkdir -p .claude/skills/frontend-testingSource Repository
Grill Memattpocock/skills
Stress-test your plan with relentless questions until we both understand
Tddmattpocock/skills
Write one test at a time then code to make it pass
Test Driven Developmentobra/superpowers
Write a failing test first then code just enough to pass
Qamattpocock/skills
Turn bug reports into GitHub issues through natural conversation without technical fuss
Migrate To Shoehornmattpocock/skills
Replace unsafe as assertions with type-safe partial test data easily
Webapp Testinganthropics/skills
Test your local web apps quickly with Playwright automation and screenshots
Playwright Best Practicescurrents-dev/playwright-best-practices-skill
Master Playwright testing with best practices for reliable and fast tests
Google Agents Cli Evalgoogle/agents-cli
Run evaluations on your AI agent, find failures, and improve its quality step by step