Skill | Added | Review |
|---|---|---|
frontend-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. | 94 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: 3708e3e | |
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. | 79 1.92x Agent success vs baseline Impact 100% 1.92xAverage score across 3 eval scenarios Securityby Risky Do not use without reviewing Reviewed: Version: 3708e3e | |
component-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. | 90 Impact Pending No eval scenarios have been run Securityby Passed No known issues Reviewed: Version: 3708e3e | |
orpc-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. | 94 2.66x Agent success vs baseline Impact 96% 2.66xAverage score across 6 eval scenarios Securityby Passed No known issues Reviewed: Version: 4717168 |