frontend code review

AI Community

Skill notes

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.

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.

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.

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

Fluxly profile Runtime and permissions are inferred by Fluxly static checks, not author declarations or runtime test results.
Domain
AI
Author-declared agents
No explicit declaration found; this is not inferred or tested compatibility
Static check
88 / 100 · heuristic scan, not runtime safety proof
Runtime evidence
Not run; no isolated runtime test evidence is currently recorded
Author / version / license
@langflow-ai · no license declared
Token usage
Lean
Setup complexity
Plug-and-play
External API key
Not required
Operating systems
macOS · Linux · Windows
Runtime requirements
Node.js
Detected file/system behavior
  • Read-only
  • Write / modify
Network behavior
Local-only
Install commands
None (reference only)

Heads up: Tool permissions are not declared; actual access depends on the runtime.

Output preview frontend-code-review.preview
# Required Output Format

When this skill is invoked, the response must exactly follow one of the two templates:

Discussion

Powered by GitHub Discussions. Sign in with GitHub to comment, react, or subscribe.