技能 senior-frontend
F

senior-frontend

低風險 ⚡ 包含腳本📁 檔案系統存取

Build Modern Frontend Apps with React

也可從以下取得: alirezarezvani

Building complex frontend applications requires deep expertise in React patterns, performance optimization, and state management. This skill provides senior-level guidance for component architecture, bundle optimization, and implementing production-ready UI systems using industry best practices.

支援: Claude Codex Code(CC)
🥉 75 青銅
1

下載技能 ZIP

2

在 Claude 中上傳

前往 設定 → 功能 → 技能 → 上傳技能

3

開啟並開始使用

測試它

正在使用「senior-frontend」。 Create a Button component with loading state

預期結果:

  • Component structure with proper TypeScript interface
  • Loading state handling with spinner integration
  • Accessibility attributes (aria-disabled, keyboard navigation)
  • Tailwind CSS classes for variants (primary, secondary, outline)
  • Export statement and barrel file update recommendation

正在使用「senior-frontend」。 How do I reduce my Next.js bundle size?

預期結果:

  • Identify large dependencies using bundle analyzer
  • Implement dynamic imports for route-based code splitting
  • Configure next/image for automatic image optimization
  • Use React.lazy() for component-level lazy loading
  • Enable tree shaking by using ES modules

正在使用「senior-frontend」。 What are common React anti-patterns to avoid?

預期結果:

  • Prop drilling through many layers - use context instead
  • Business logic in components - extract to custom hooks
  • Large monolithic components - split by feature
  • Missing error boundaries - wrap components with ErrorBoundary
  • Direct state mutation - always use setState or state managers

安全審計

低風險
v5 • 1/17/2026

This skill consists of 3 Python CLI scripts for frontend development tasks and 3 reference guides. All static findings are FALSE POSITIVES caused by pattern-matching errors. The scanner misidentified markdown code block delimiters as Ruby backtick execution, section numbers as weak crypto algorithms, and standard dev workflow documentation as credential access. No actual code execution, network access, or credential handling exists in this skill.

8
已掃描檔案
1,133
分析行數
2
發現項
5
審計總數
審計者: claude 查看審計歷史 →

品質評分

68
架構
100
可維護性
87
內容
20
社群
90
安全
91
規範符合性

你能建構什麼

Component Architecture

Design and scaffold React components with proper TypeScript types, hooks, and folder structure.

Bundle Optimization

Analyze bundle size and identify opportunities to reduce JavaScript payload for better performance.

Code Review Guide

Apply consistent frontend patterns and identify anti-patterns during code reviews.

試試這些提示

Generate Component
Create a React component for [component name] using TypeScript. Include proper props interface, error handling, and follow modern hooks patterns. Use Tailwind CSS for styling.
Optimize Bundle
Analyze the bundle size of my React application and identify large dependencies. Suggest code splitting strategies and lazy loading approaches to reduce initial load time.
React Patterns
Help me implement [specific pattern] for managing global state in React. Compare React Context, Zustand, and Jotai for this use case and explain trade-offs.
Next.js Guide
Set up Next.js with App Router for my project. Include proper SSR configuration, image optimization, and explain when to use server components versus client components.

最佳實務

  • Use TypeScript for all components to catch errors at compile time
  • Implement proper error boundaries to prevent app crashes
  • Lazy load routes and heavy components to reduce initial bundle size

避免

  • Avoid prop drilling through many layers; use context or state management
  • Do not put business logic directly in components; extract to custom hooks
  • Avoid large monolithic components; split by feature and responsibility

常見問題

Which React frameworks does this skill support?
This skill covers Next.js, React Native, and general React patterns applicable to any framework using React.
Can this skill optimize large production applications?
Yes, the bundle analyzer identifies large dependencies and suggests code splitting, tree shaking, and lazy loading strategies.
Does this skill integrate with existing projects?
Yes, all scripts accept a target path parameter and work with any React/Next.js project structure.
What data does this skill access or collect?
Scripts only read files in user-specified paths and write JSON reports to user-specified output locations. No external data collection.
How is this different from using Claude directly?
This skill provides structured workflows, ready-to-use Python scripts, and curated reference documentation for common frontend tasks.
Can I use this with other AI coding tools?
Yes, this skill works with Claude, OpenAI Codex, and any AI assistant that can read reference files and execute local scripts.