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.
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
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.
How to use
Zainstaluj umiejętność w swoim agencie Dify, wskazując repozytorium langgenius/dify i ścieżkę .agents/skills/frontend-code-review.
Poproś agenta o przegląd kodu frontendowego, używając naturalnego języka, np. "Przejrzyj moje pliki TypeScript" lub "Sprawdź ten komponent React przed committem".
Podaj ścieżkę do pliku lub plików, które chcesz przeanalizować. Umiejętność automatycznie rozpoznaje rozszerzenia .tsx, .ts i .js.
Agent przeskanuje kod względem listy sprawdzającej obejmującej trzy kategorie: jakość kodu, wydajność i logikę biznesową. Każde naruszenie reguły zostanie oznaczone jako pilne lub sugestia.
Przejrzyj raport — najpierw problemy pilne (do natychmiastowego naprawienia), potem sugestie ulepszające. Każde znalezisko zawiera ścieżkę pliku, numer linii, fragment kodu i propozycję naprawy.
Zastosuj poprawki w swoim kodzie i ponownie poproś o przegląd, aby potwierdzić, że wszystkie problemy zostały rozwiązane.