e2e-cucumber-playwright
Dify E2E Cucumber + Playwright
Use this skill for Dify's repository-level E2E suite in e2e/. Use e2e/AGENTS.md as the canonical guide for local architecture and conventions, then apply Playwright/Cucumber best practices only where they fit the current suite.
Scope
- Use this skill for
.featurefiles, Cucumber step definitions,DifyWorld, hooks, tags, and E2E review work undere2e/. - Do not use this skill for Vitest or React Testing Library work under
web/; usefrontend-testinginstead. - Do not use this skill for backend test or API review tasks under
api/.
Read Order
- Read
e2e/AGENTS.mdfirst. - Read only the files directly involved in the task:
- target
.featurefiles undere2e/features/ - related step files under
e2e/features/step-definitions/ e2e/features/support/hooks.tsande2e/features/support/world.tswhen session lifecycle or shared state matterse2e/scripts/run-cucumber.tsande2e/cucumber.config.tswhen tags or execution flow matter
- target
- Read
references/playwright-best-practices.mdonly when locator, assertion, isolation, or waiting choices are involved.
More from langgenius/dify
frontend-code-review
Trigger when the user requests a review of frontend files (e.g., `.tsx`, `.ts`, `.js`). Support both pending-change reviews and focused file reviews while applying the checklist rules.
7.4Kcomponent-refactoring
Refactor high-complexity React components in Dify frontend. Use when `pnpm analyze-component --json` shows complexity > 50 or lineCount > 300, when the user asks for code splitting, hook extraction, or complexity reduction, or when `pnpm analyze-component` warns to refactor before testing; avoid for simple/well-structured components, third-party wrappers, or when the user explicitly wants testing without refactoring.
3.3Kfrontend-testing
Generate Vitest + React Testing Library tests for Dify frontend components, hooks, and utilities. Triggers on testing, spec files, coverage, Vitest, RTL, unit tests, integration tests, or write/review test requests.
2.3Kskill-creator
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
757orpc-contract-first
Guide for implementing oRPC contract-first API patterns in Dify frontend. Trigger when creating or updating contracts in web/contract, wiring router composition, integrating TanStack Query with typed contracts, migrating legacy service calls to oRPC, or deciding whether to call queryOptions directly vs extracting a helper or use-* hook in web/service.
717web-design-guidelines
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
690