frontend-code-review

Frontend Code Review Skill

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "frontend-code-review" with this command: npx skills add first-fluke/fullstack-starter/first-fluke-fullstack-starter-frontend-code-review

Frontend Code Review Skill

Intent: Use whenever requested to review frontend code (React, Next.js, TypeScript).

Supports:

  • Pending-change review: Reviewing git diff or staged files.

  • File-targeted review: Reviewing specific existing files.

Review Process

  • Scan: Read the code to identify architectural patterns, hooks usage, and component structure.

  • Check: Apply the Review Checklist.

  • Report: Output findings in the Required Output Format.

Review Checklist

  1. Code Quality & Style
  • Naming: Are variables/functions named descriptively? (e.g., isLoading vs flag )

  • Type Safety: Is any avoided? are interfaces defined clearly?

  • Constants: Are magic numbers/strings extracted to constants?

  • Destructuring: Is consistent destructuring used for props?

  1. React & Next.js Best Practices
  • Hooks: Are hooks used correctly (dependency arrays, rules of hooks)?

  • Server/Client: Is 'use client' used only when necessary?

  • Memoization: Are useMemo /useCallback used appropriately (not prematurely)?

  • Keys: Do lists have stable, unique keys?

  1. Performance
  • Bundle Size: Are large libraries imported entirely when tree-shaking is possible?

  • Images: Is next/image used with proper sizing?

  • Renders: Are there obvious unnecessary re-renders?

  1. Accessibility (a11y)
  • Semantic HTML: Are div s used where button , section , etc., are needed?

  • Attributes: Do images have alt text? Do inputs have labels?

Required Output Format

Code Review

Found <N> urgent issues:

1. <Issue Title>

File: &#x3C;path> line &#x3C;line>

&#x3C;snippet of problematic code>

Reason: &#x3C;Why is this urgent?>
Suggested Fix:

&#x3C;snippet of fixed code>

Found  suggestions:

- &#x3C;Refactor/Style>: 

- :

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

webf-native-ui-dev

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

developer-workflow

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

backend-development

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

devops-iac-engineer

No summary provided by upstream source.

Repository SourceNeeds Review