frontend-react
React component patterns, hooks, JSX hygiene, and Next.js App Router usage. Use for building React-based web frontends.
- License 许可
- MIT
- 最近更新
- 2026-05-23
- Stars
- ★ 8
- Forks
- 3
01 前言 Front Matter
- name
- frontend-react
- description
- React component patterns, hooks, JSX hygiene, and Next.js App Router usage. Use for building React-based web frontends.
03 SKILL.md 正文
Frontend React
This skill covers React component patterns, hooks (useState, useEffect, useMemo, useCallback), JSX hygiene, prop drilling vs context, suspense boundaries, and Next.js App Router conventions.
When to use
- Building or modifying React components
- Adding hooks-based state management
- Configuring Next.js App Router routes and layouts
- Server components vs client components decisions
Examples
- "Add a useEffect to refetch when query changes"
- "Convert this class component to hooks"
- "Set up a Next.js route with a server component fetching from Postgres"
04 同仓库更多 Skills
quoted-with-colons
TRIGGER when: user says hello. Skip when: user says bye.
nested-metadata
Skill with nested metadata mapping.
literal-desc
Line one. Line two.
folded-desc
This description uses a folded block scalar. Lines should be joined with spaces. TRIGGER when: user asks for X.
frontend-swiftui
SwiftUI patterns including @Observable, NavigationStack, and Liquid Glass design for iOS 26. Use for native iOS UI work.
frontend-slides
Create animation-rich HTML presentations from scratch or by converting PowerPoint files. Reveal.js, slide transitions, and on-canvas animations.