ui-test

Execute frontend unit and component tests with Vitest and React Testing Library.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/maminul007/trading-platform --skill ui-test-maminul007
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ui-test
Source: https://github.com/maminul007/trading-platform/tree/main/.claude/skills/ui-test
Command: npx skills add https://github.com/maminul007/trading-platform --skill ui-test-maminul007

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the execution of frontend unit and component tests, ensuring the quality and stability of the user interface.

Core Features & Use Cases

  • Test Execution: Runs all frontend tests using Vitest.
  • Watch Mode: Continuously runs tests as code changes.
  • Coverage Reports: Generates detailed reports on test coverage.
  • UI Mode: Provides an interactive interface for managing and viewing tests.
  • Pattern Matching: Allows running specific tests or directories.
  • API Contract Testing: Validates API responses against predefined contracts.
  • Use Case: Developers can use this skill to quickly verify that new UI components function correctly and do not introduce regressions before committing code.

Quick Start

Run all UI tests in watch mode by executing the ui-test skill with the --watch flag.

Frequently Asked Questions about ui-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run frontend unit and component tests with Vitest?

To run frontend unit and component tests, this skill executes Vitest and React Testing Library, supporting watch mode, coverage reporting, and pattern-based test selection to validate UI code quality.

Can I run Vitest in watch mode to continuously test React components?

Yes, you can continuously run Vitest in watch mode to automatically re-execute frontend tests as your React component code changes during development.

Does this skill support generating code coverage reports for React Testing Library?

Yes, the skill supports generating detailed code coverage reports for your React Testing Library tests to ensure UI service quality and validate API contracts.

How do I run specific Vitest tests using pattern matching?

You can run specific tests or directories by utilizing the pattern matching execution mode, allowing targeted Vitest runs for individual frontend components or files.

Can I use Vitest UI mode to interactively manage frontend tests?

Yes, the skill supports Vitest UI mode, which provides an interactive interface for managing, viewing, and executing your frontend unit and component tests.

Does this skill validate API contracts during frontend testing?

Yes, the skill validates API responses against predefined contracts during frontend testing, ensuring that your UI service code maintains deterministic quality and integration stability.