Communitygithub.com

ComeOnOliver/skillshub

用于构建现代高性能 Web 应用程序的综合前端开发技能,涵盖 ReactJS、NextJS、TypeScript、Tailwind CSS。包括组件脚手架、性能优化、包分析和 UI 最佳实践。在开发前端功能、优化性能、实现 UI/UX 设计、管理状态或审查前端代码时使用。

skillshub 是什么?

此技能为资深前端开发者提供了一整套工具,用于构建现代、高性能的 Web 应用程序。它基于 ReactJS、NextJS、TypeScript 和 Tailwind CSS 等技术栈,通过三个核心脚本自动化常见任务:组件生成器、包分析器和前端脚手架。该技能不仅提供了即用脚本,还包含了详细的最佳实践参考文档,如 React 模式、NextJS 优化指南和前端最佳实践,覆盖了代码质量、性能、安全和可维护性等方面。支持多平台(包括 Web、React Native 和 Flutter),可显著提升开发效率并确保代码质量。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ComeOnOliver/skillshub/tree/HEAD/skills/aiskillstore/marketplace/alirezarezvani/senior-frontend

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

资深前端

面向资深前端开发者的完整工具包,集成了现代工具和最佳实践。

快速开始

主要功能

本技能通过自动化脚本提供三个核心功能:

# 脚本 1:组件生成器
python scripts/component_generator.py [选项]

# 脚本 2:包分析器
python scripts/bundle_analyzer.py [选项]

# 脚本 3:前端脚手架
python scripts/frontend_scaffolder.py [选项]

核心功能

1. 组件生成器

用于组件生成任务的自动化工具。

特性:

  • 自动搭建脚手架
  • 内置最佳实践
  • 可配置的模板
  • 质量检查

用法:

python scripts/component_generator.py <项目路径> [选项]

2. 包分析器

全面的分析和优化工具。

特性:

  • 深度分析
  • 性能指标
  • 改进建议
  • 自动修复

用法:

python scripts/bundle_analyzer.py <目标路径> [--verbose]

3. 前端脚手架

用于专业化任务的高级工具。

特性:

  • 专家级自动化
  • 自定义配置
  • 开箱即用的集成
  • 生产级输出

用法:

python scripts/frontend_scaffolder.py [参数] [选项]

参考文档

React 模式

完整指南详见 references/react_patterns.md:

  • 详细的模式和最佳实践
  • 代码示例
  • 最佳实践
  • 应避免的反模式
  • 真实场景

Next.js 优化指南

完整工作流程文档详见 references/nextjs_optimization_guide.md:

  • 逐步流程
  • 优化策略
  • 工具集成
  • 性能调优
  • 故障排除指南

前端最佳实践

技术参考指南详见 references/frontend_best_practices.md:

  • 技术栈详情
  • 配置示例
  • 集成模式
  • 安全考虑
  • 可扩展性指南

技术栈

语言: TypeScript、JavaScript、Python、Go、Swift、Kotlin 前端: React、Next.js、React Native、Flutter 后端: Node.js、Express、GraphQL、REST APIs 数据库: PostgreSQL、Prisma、NeonDB、Supabase DevOps: Docker、Kubernetes、Terraform、GitHub Actions、CircleCI 云服务: AWS、GCP、Azure

开发工作流

1. 设置与配置

# 安装依赖
npm install
# 或
pip install -r requirements.txt

# 配置环境
cp .env.example .env

2. 运行质量检查

# 使用分析脚本
python scripts/bundle_analyzer.py .

# 查看建议
# 应用修复

3. 实施最佳实践

遵循以下文档中的模式和最佳实践:

  • references/react_patterns.md
  • references/nextjs_optimization_guide.md
  • references/frontend_best_practices.md

最佳实践总结

代码质量

  • 遵循既定模式
  • 编写全面的测试
  • 记录决策
  • 定期审查

性能

  • 先测量再优化
  • 使用适当的缓存
  • 优化关键路径
  • 在生产环境中监控

安全性

  • 验证所有输入
  • 使用参数化查询
  • 实施正确的身份验证
  • 保持依赖项更新

可维护性

  • 编写清晰的代码
  • 使用一致的命名
  • 添加有用的注释
  • 保持简单

常用命令

# 开发
npm run dev
npm run build
npm run test
npm run lint

# 分析
python scripts/bundle_analyzer.py .
python scripts/frontend_scaffolder.py --analyze

# 部署
docker build -t app:latest .
docker-compose up -d
kubectl apply -f k8s/

故障排除

常见问题

查看 references/frontend_best_practices.md 中的全面故障排除部分。

获取帮助

  • 查看参考文档
  • 检查脚本输出信息
  • 查阅技术栈文档
  • 查看错误日志

资源

  • 模式参考:references/react_patterns.md
  • 工作流指南:references/nextjs_optimization_guide.md
  • 技术指南:references/frontend_best_practices.md
  • 工具脚本:scripts/ 目录

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

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

Next.js 16+ uses App Router with Server Components by default. Client Components are only used when interactivity is needed (hooks, event handlers, browser APIs).

ComeOnOliver/skillshub

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

相关技能