Communitygithub.com

ComeOnOliver/skillshub

當使用者要求審查前端檔案(例如 `.tsx`、`.ts`、`.js`)時觸發。支援待變更審查與指定檔案審查兩種模式,並套用檢查清單規則。

skillshub 是什麼?

這項技能專為審查前端程式碼而設計,特別針對 `.tsx`、`.ts` 和 `.js` 檔案。它提供兩種審查模式:一是「待變更審查」,用於檢視即將提交的暫存或工作目錄檔案,在提交前標記違反檢查清單的項目;二是「指定檔案審查」,用於審查使用者指定的特定檔案,並報告相關的檢查結果。審查過程會依循一套由外部參考文件定義的檢查清單,涵蓋程式碼品質、效能與商業邏輯等類別。每個違規項目都會標記緊急程度,以便後續開發者優先處理。技能會按照固定模板輸出審查結果,將問題分為「緊急問題」與「改善建議」兩大類,並在必要時詢問使用者是否要套用建議的修復方案。此技能可整合至 Claude Code、Cursor 或 Codex 等 AI 代理工具的開發流程中。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ComeOnOliver/skillshub/tree/HEAD/skills/aiskillstore/marketplace/langgenius/frontend-code-review

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

前端程式碼審查

目的

當使用者要求審查前端程式碼(特別是 .tsx、.ts 或 .js 檔案)時,使用此技能。支援兩種審查模式:

  1. 待變更審查 – 檢查已暫存或工作目錄中準備送交的檔案,在提交前標記檢查清單違規。
  2. 指定檔案審查 – 審查使用者指定的特定檔案,並報告相關的檢查清單結果。

對於每個適用的檔案與模式,請一律遵循下面的檢查清單。

檢查清單

請參閱 references/code-quality.md、references/performance.md、references/business-logic.md 以取得按類別分類的最新檢查清單——將其視為應遵循的權威規則集。

每個違規規則都應標記緊急程度元數據,以便未來審查者能優先處理修復。

審查流程

  1. 開啟相關元件/模組。收集與類別名稱、React Flow 鉤子、屬性記憶化及樣式相關的程式行。
  2. 針對審查要點中的每一條規則,記錄程式碼偏離之處並擷取代表性程式片段。
  3. 按照下方的模板撰寫審查區塊。首先依「緊急」標記分組,然後依類別順序(程式碼品質、效能、商業邏輯)排列。

必要輸出

呼叫時,回應必須嚴格遵循以下兩種模板之一:

模板 A(有發現問題)

# 程式碼審查
發現 <N> 個需要修復的緊急問題:

## 1 <問題簡短描述>
檔案路徑:<路徑> 第 <行> 行
<相關程式碼片段或指引>


### 建議修正
<建議修正的簡短描述>

---
...(對每個緊急問題重複)...

發現 <M> 個改善建議:

## 1 <建議簡短描述>
檔案路徑:<路徑> 第 <行> 行
<相關程式碼片段或指引>


### 建議修正
<建議修正的簡短描述>

---

...(對每個建議重複)...

如果沒有緊急問題,則省略該區段。如果沒有改善建議,則省略該區段。

如果問題編號超過 10 個,則總結為「10+ 個緊急問題」或「10+ 個建議」,並僅輸出前 10 個問題。

請勿壓縮區段之間的空行;為保持可讀性,請保留原樣。

如果你使用了模板 A(亦即有需要修正的問題),且至少有一個問題需要程式碼變更,請在結構化輸出後附加一個簡短的追問,詢問使用者是否希望套用建議的修正。例如:「您是否希望我根據『建議修正』區段來處理這些問題?」

模板 B(沒有問題)

## 程式碼審查
未發現任何問題。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

ComeOnOliver/skillshub

Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.

ComeOnOliver/skillshub

Next.js 16+ 和 Turbopack — 增量打包、文件系统缓存、开发速度,以及何时使用 Turbopack 与 webpack。

ComeOnOliver/skillshub

SwiftUI architecture patterns, state management with @Observable, view composition, navigation, performance optimization, and modern iOS/macOS UI best practices.

ComeOnOliver/skillshub

See, Understand, Act on video and audio. See- ingest from local files, URLs, RTSP/live feeds, or live record desktop; return realtime context and playable stream links. Understand- extract frames, build visual/semantic/temporal indexes, and search moments with timestamps and auto-clips. Act- transcode and normalize (codec, fps, resolution, aspect ratio), perform timeline edits (subtitles, text/image overlays, branding, audio overlays, dubbing, translation), generate media assets (image, audio, video), and create real time alerts for events from live streams or desktop capture.

ComeOnOliver/skillshub

AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg, Remotion, ElevenLabs, fal.ai, and final polish in Descript or CapCut. Use when the user wants to edit video, cut footage, create vlogs, or build video content.

ComeOnOliver/skillshub

Next.js 15 애플리케이션을 위한 프론트엔드 개발 가이드라인. React 19, TypeScript, Shadcn/ui, Tailwind CSS를 사용한 모던 패턴. Server Components, Client Components, App Router, 파일 구조, Shadcn/ui 컴포넌트, 성능 최적화, TypeScript 모범 사례 포함. 컴포넌트, 페이지, 기능 생성, 데이터 페칭, 스타일링, 라우팅, 프론트엔드 코드 작업 시 사용.

ComeOnOliver/skillshub

Provides Tamagui patterns for config v4, compiler optimization, styled context, and cross-platform styling. Must use when working with Tamagui projects (tamagui.config.ts, @tamagui imports).

ComeOnOliver/skillshub

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

ComeOnOliver/skillshub

Create high-converting, visually distinctive landing pages. Use when building marketing pages, product launches, SaaS homepages, or any single-page conversion-focused website. Guides section-by-section composition with anti-AI-slop principles.

ComeOnOliver/skillshub

Auto-loaded context for Portfolio Buddy 2 development. Use for ANY task involving: React 19 development, TypeScript, portfolio analysis features, metrics calculations, trading strategy comparison, or working with the Portfolio Buddy 2 codebase. Contains tech stack, known issues, and architectural constraints.

ComeOnOliver/skillshub

Next.js development tooling via MCP. Inspect routes, components, build info, and debug Next.js apps. Use when working on Next.js applications, debugging routing, or inspecting app structure. NOT for general React or non-Next.js projects.

ComeOnOliver/skillshub

Implement UI using Shadcn MCP (atoms/theme) and 21st.dev MCP (complex sections). Use when adding buttons, layouts, or generating landing pages.

ComeOnOliver/skillshub

A conceptual skill for building an API client in Next.js that handles JWT tokens

ComeOnOliver/skillshub

Best practices and patterns for Next.js App Router, Server Actions, and Routing in this project.

ComeOnOliver/skillshub

The Design System, Theme, and UX rules for the Physical AI Hub.

ComeOnOliver/skillshub

Comprehensive frontend development skill for building modern, performant web applications using ReactJS, NextJS, TypeScript, Tailwind CSS. Includes component scaffolding, performance optimization, bundle analysis, and UI best practices. Use when developing frontend features, optimizing performance, implementing UI/UX designs, managing state, or reviewing frontend code.

ComeOnOliver/skillshub

This document captures learnings from fixing keyboard navigation issues when floating components (Select, DropdownMenu, Popover) have CSS open/close animations.

ComeOnOliver/skillshub

Build Next.js 16 applications with correct patterns and distinctive design. Use when creating pages, layouts, dynamic routes, upgrading from Next.js 15, or implementing proxy.ts. Covers breaking changes (async params/searchParams, Turbopack, cacheComponents) and frontend aesthetics. NOT when building non-React or backend-only applications.

ComeOnOliver/skillshub

Comprehensive Framer Motion animation library for React. Covers motion components, variants, gestures, page transitions, and scroll animations. Use when adding animations to React/Next.js applications.

ComeOnOliver/skillshub

Build interfaces that resonate, not just render. This skill enforces bold, intentional

相關技能