スキル一覧に戻る
first-fluke

frontend-code-review

by first-fluke

frontend-code-reviewは、other分野における実用的なスキルです。複雑な課題への対応力を強化し、業務効率と成果の質を改善します。

141🍴 21📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


name: frontend-code-review description: Standardized checklist and process for reviewing frontend code (.tsx, .ts, .js).

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

  1. Scan: Read the code to identify architectural patterns, hooks usage, and component structure.
  2. Check: Apply the Review Checklist.
  3. 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?

2. 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?

3. 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?

4. Accessibility (a11y)

  • Semantic HTML: Are divs 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**: `<path>` line `<line>`

```typescript
<snippet of problematic code>

Reason: <Why is this urgent?> Suggested Fix:

<snippet of fixed code>

Found suggestions:

  • <Refactor/Style>:
  • :

スコア

総合スコア

75/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

+5
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

+5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

レビュー

💬

レビュー機能は近日公開予定です