frontend-testing 是做什麼的?
為 Dify 前端元件、鉤子和工具程式生成 Vitest + React Testing Library 測試。觸發於測試、規格檔案、覆蓋率、Vitest、RTL、單元測試、整合測試或撰寫/審查測試請求。
為 Dify 前端元件、鉤子和工具程式生成 Vitest + React Testing Library 測試。觸發於測試、規格檔案、覆蓋率、Vitest、RTL、單元測試、整合測試或撰寫/審查測試請求。
此技能專為 Dify 前端專案設計,自動生成使用 Vitest 和 React Testing Library 的測試案例。它能處理前端元件、自訂鉤子(hooks)及工具函式(utilities)的測試,並根據開發者的請求類型(如撰寫測試、審查測試或檢查覆蓋率)自動觸發。技能支援單元測試和整合測試,並能辨識測試規格檔案(spec files)、覆蓋率報告、Vitest 設定和 React Testing Library 相關的提示。透過此技能,開發者可以快速建立可靠的測試套件,確保 Dify 前端程式碼的品質與穩定性,同時減少手動編寫測試的重複性工作。
npx skills add https://github.com/langgenius/dify/tree/main/skills/frontend-testingInstalled? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →
為 Dify 前端元件、鉤子和工具程式生成 Vitest + React Testing Library 測試。觸發於測試、規格檔案、覆蓋率、Vitest、RTL、單元測試、整合測試或撰寫/審查測試請求。
This repo contains 3 individual skills — each has its own dedicated page.
Review backend code for quality, security, maintainability, and best practices based on established checklist rules. Use when the user requests a review, analysis, or improvement of backend files (e.g., `.py`) under the `api/` directory. Do NOT use for frontend files (e.g., `.tsx`, `.ts`, `.js`). Supports pending-change review, code snippets review, and file-focused review.
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.
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.
Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.
Control Eight Sleep pods (status, temperature, alarms, schedules).
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Create, search, and manage Bear notes via grizzly CLI.
Capture frames or clips from RTSP/ONVIF cameras.
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.