---
name: langgenius-frontend-testing
description: "Use when writing or changing Vitest or React Testing Library tests under `web/` or `packages/dify-ui/`, or when the user explicitly requests frontend test strategy, including evaluation of an existing strategy. Do not use for frontend code-review-only requests, general testability discussion, Python tests, or Cucumber/Playwright E2E."
license: "NOASSERTION"
metadata:
  decimalai-skill-id: "a63ed2ee-6eaf-43a4-a65c-a13c034018ca"
  decimalai-version-id: "ea48c354-2fa1-4a3f-acf3-52116997f298"
  decimalai-version: "2"
  decimalai-body-sha256: "29c5f737905211a08c9deb63db6edf301d9af5129b59e6713dcf3e5fd1b7fcd2"
  decimalai-name: "langgenius/frontend-testing"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-category: "testing"
  decimalai-source: "https://app.decimal.ai/s/langgenius-frontend-testing@2/SKILL.md"
---
# Frontend Testing

Read the testing policy for the package that owns the changed tests:

- `web/`: `web/docs/test.md` owns Web test boundaries, environments, and commands.
- `packages/dify-ui/`: `packages/dify-ui/docs/testing.md` owns primitive test boundaries, environments, Storybook, and commands.

This skill adds no parallel policy or check sequence. Follow the selected owner's requirements, including its validation commands. Recommend deleting low-value tests as readily as adding missing behavior coverage, and report the contract verified and any material verification gap.
