frontend-code-review
Skill8 starsChanged 3 months agoMITView on GitHub
Review frontend code (.tsx, .ts, .js files) for quality, performance, and correctness against Langflow's frontend conventions. Supports pending-change reviews and file-targeted reviews.
21 other projects use a version of this, 12 of them edited; 1 new project in the last 4 weeks, against 0 the 4 before.
Adopted by
Surging: 1 new project took it in the last 4 weeks, none the 4 weeks before.thin data
Most recently taken up by
- ClaireAll/skillsedited, first seen Nov 5, 2026
- best-fan/agent-skillstheir own version, first seen Nov 3, 2026
- langgenius/difytheir own version, first seen Oct 29, 2026
- ramybarsoum/claude-skillsedited, first seen Oct 13, 2026
- willlee1995/skillsedited, first seen Oct 13, 2026
- Ohh-889/skyroc-adminedited, first seen Oct 8, 2026
Used with
Projects with it also use cache-components, pr-creator and 5 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
mm-mazharSkillcache-components
Expert guidance for Next.js Cache Components and Partial Prerendering (PPR).
Also in 4 projects that use this
GoogleSkillpr-creator
Also in 5 projects that use this
belokonmSkillfullstack-developer
End-to-end feature expert specializing in frontend-backend integration, system architecture, and complete application development
Also in 3 projects that use this
Hugging FaceSkillupdate-docs
Update documentation across the repo after API changes. Finds stale references in docs, examples, docstrings, and fixes them.
Also in 5 projects that use this
Google CloudSkillfix
Plan a remediation strategy after a test failure.
Also in 4 projects that use this
GoogleSkillcode-reviewer
Also in 5 projects that use this
Other versions21 projects use a version of this.
Word for word · 1
- langflow-ai/langflow★ 156k100% same
Edited · 12
- Ohh-889/skyroc-admin★ 79539% same
- chendongqi/OPB-Skills★ 12539% same
- alphaparkinc/openclaw-skills★ 939% same
- Alpha-Park/openclaw-skills★ 839% same
- immacualate/claude-forge★ 539% same
- ClaireAll/skills★ 239% same
- dbDev-code/w-skills★ 139% same
- factor241/ketos-bot★ 198% same
- jpoindexter/theft-kit★ 139% same
- willlee1995/skills★ 139% same
2 more not listed
Wrote their own version · 8
- langgenius/dify★ 161ksame name
- YFGaia/dify-plus★ 2.3ksame name
- b1mango/Agent-Skills★ 4same name
- DNM03/frontend-code-review★ 4same name
- hjdspace/SpaceCode★ 4same name
- best-fan/agent-skills★ 2same name
- langliu/skills★ 1same name
- LaoK2017/Agent-Skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/docs_development.mdcCursor rule
- backend-code-reviewSkill
- component-refactoringSkill
- e2e-testingSkill
- frontend-i18nSkill
- frontend-query-mutationSkill
- frontend-testingSkill
- ibm-a11y-level1-auditSkill
- ibm-a11y-pr-remediationSkill
- ibm-a11y-route-scanSkill
- ibm-a11y-testing-guideSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 3 are common, 7 are distinctive, and 3 are very specific to this project.
3
Common
Most of the 15 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Use this skill whenever the user asks to review, analyze, or improve frontend code (.tsx, .ts, .js files) under the src/frontend/ directory.
- Distinctive: line 15
Do NOT use this skill when:
- Distinctive: line 23
Follow these steps when using this skill:
- Distinctive: line 26
Follow the rules defined in the Checklist to perform the review.
- Distinctive: line 31
Always include actionable fixes or suggestions (including possible code snippets).
- Very specific: line 32
Use File:Line references when a file path and line numbers are available.
- Distinctive: line 38
Performance: If the review scope involves React components, hooks, Zustand stores, React Query usage, or @xyflow/react node rendering, …
- Distinctive: line 39
Business logic: If the review scope involves custom nodes (GenericNode), flow state, API calls, the component system, global variables, or …
- Very specific: line 40
i18n: If the diff adds or changes user-facing text (labels, buttons, tooltips, modals, toasts, errors, placeholders, aria-labels), follow …
- Common: line 93
When this skill is invoked, the response must exactly follow one of the two templates:
- Common: line 133
If there are no urgent issues, omit that section.
- Distinctive: line 134
If the issue count exceeds 10, summarize as "10+ urgent issues" or "10+ suggestions" and output only the first 10 items.
- Common: line 135
Do not compress the blank lines between sections.
“Common” is measured: kept by at least 6 in 10 of the 15 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Frontend Code Review
When to use this skill
Use this skill whenever the user asks to review, analyze, or improve frontend code (.tsx, .ts, .js files) under the src/frontend/ directory. Supports the following review modes:
- Pending-change review -- inspect staged or working-tree files slated for commit and flag checklist violations before submission.
- File-targeted review -- review the specific file(s) the user names and report the relevant checklist findings.
Do NOT use this skill when:
- The request is about backend code (
.pyfiles undersrc/backend/). - The user is not asking for a review/analysis/improvement of frontend code.
- The scope is outside
src/frontend/(unless the user explicitly asks to review frontend-related changes elsewhere).
How to use this skill
Follow these steps when using this skill:
- Identify the review mode (pending-change vs file-targeted) based on the user's input. Keep the scope tight: review only what the user provided or explicitly referenced.
- Follow the rules defined in the Checklist to perform the review. If no checklist rule matches, apply General Review Rules as a fallback.
- Compose the final output strictly following the Required Output Format.
Notes when using this skill:
- Always include actionable fixes or suggestions (including possible code snippets).
- Use
File:Linereferences when a file path and line numbers are available; otherwise, use the most specific identifier you can. - The Langflow frontend uses React 19, TypeScript 5.4, Vite 7 with SWC, Zustand for state management, TanStack React Query for server state, @xyflow/react v12 for graph visualization, Radix UI + shadcn-ui components, Tailwind CSS v3, and Biome for linting/formatting.
Checklist
- Code quality: For any reviewed file, follow references/code-quality.md to check styling conventions, TypeScript usage, Biome compliance, and component patterns.
- Performance: If the review scope involves React components, hooks, Zustand stores, React Query usage, or @xyflow/react node rendering, follow references/performance.md to check for re-render issues, memoization, and data flow patterns.
- Business logic: If the review scope involves custom nodes (GenericNode), flow state, API calls, the component system, global variables, or the inspection panel, follow references/business-logic.md to check for Langflow-specific correctness.
- i18n: If the diff adds or changes user-facing text (labels, buttons, tooltips, modals, toasts, errors, placeholders, aria-labels), follow the frontend-i18n skill: no hardcoded UI strings — everything through
t(...)— and every new key present in all locale files (src/frontend/src/locales/*.json).
General Review Rules
1. Security Review
Check for:
- XSS vulnerabilities (dangerouslySetInnerHTML, unescaped user input)
- Sensitive data exposure in client-side code
- Insecure direct object references in API calls
- Hardcoded secrets, tokens, or API keys
2. Accessibility Review
Check for:
- Missing aria labels on interactive elements
- Keyboard navigation support
- Proper use of semantic HTML elements
- Color contrast issues in custom styling
3. Code Quality Review
Check for:
- Code duplication (DRY violations — extract at 3+ identical usages)
- Functions/components doing too much (SRP violations — if you need "and" to describe it, split it)
- Deep nesting or complex conditionals (prefer early returns and guard clauses)
- Magic numbers/strings without named constants
- Poor naming: generic names (
data,result,temp), missing verb prefixes on functions, missingis/has/can/shouldprefixes on booleans - Missing error handling or error boundaries
- Incomplete TypeScript type coverage (no
any, noas anycasts) - Comments that explain WHAT instead of WHY
- Commented-out code (use version control)
- Boolean parameters that switch component behavior (use two components instead)
- Mutable patterns where
constor immutable alternatives exist - Production files exceeding ~500 lines (red flag at 600+)
console.login production code (Biome flags this)
4. Testing Impact Review
Check for:
- Changes to data-testid attributes that may break E2E tests
- Modified component interfaces that require test updates
- New interactive elements missing data-testid attributes
5. Pre-Commit Verification
For pending-change reviews, verify:
npm run format(Biome formatter) — zero diffsnpm run lint(Biome linter) — zero errorsnpm test(Jest) — zero failures
Required Output Format
When this skill is invoked, the response must exactly follow one of the two templates:
Template A (any findings)
# Code Review
Found <N> urgent issues that need to be fixed:
## 1. <brief description of issue>
FilePath: <path> line <line>
<relevant code snippet or pointer>
### Suggested fix
<brief description of suggested fix with code example>
---
... (repeat for each urgent issue) ...
Found <M> suggestions for improvement:
## 1. <brief description of suggestion>
FilePath: <path> line <line>
<relevant code snippet or pointer>
### Suggested fix
<brief description of suggested fix with code example>
---
... (repeat for each suggestion) ...- If there are no urgent issues, omit that section. If there are no suggestions, omit that section.
- If the issue count exceeds 10, summarize as "10+ urgent issues" or "10+ suggestions" and output only the first 10 items.
- Do not compress the blank lines between sections; keep them as-is for readability.
- If Template A is used (there are issues to fix) and at least one issue requires code changes, append a brief follow-up question after the structured output asking whether the user wants the suggested fixes applied. For example: "Would you like me to apply the suggested fixes to address these issues?"
Template B (no issues)
## Code Review
No issues found.Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

