AI студия Владимира Ломтева
УСЛУГИПРОЕКТЫСТАТЬИБАЗА ЗНАНИЙМаркетплейсОбучениеПолезные сервисы

Оставьте заявку,
чтобы обсудить проект

Напишите ваш вопрос, не забудьте указать телефон. Мы перезвоним и все расскажем.

Контакты

Москва

Работаем по всей России
и миру (онлайн)

+7 (999) 760-24-41

Ежедневно с 9:00 до 21:00

v.lomtev@airassvet.ru

По вопросам сотрудничества

TelegramWhatsApp

Есть предложение?

Напишите нам в мессенджеры

© 2025 AI студия Владимира Ломтева

Политика конфиденциальностиУсловия использованияСогласие на обработку ПДн|ИНН 623412173261
    Senior Frontend — Скилл для ИИ-агентов | AI Рассвет

    Senior Frontend

    Frontend development skill for React, Next.js, TypeScript, and Tailwind CSS applications. Use when building React components, optimizing Next.js performance, analyzing bundle sizes, scaffolding frontend projects, implementing accessibility, or reviewing frontend code quality.

    Скиллы для разработки#GitHub#composio-community/awesome-claude-plugins#skills.sh
    Скачивания
    1
    В избранном
    0
    Комментарии
    0
    Просмотры
    3

    Установить скилл

    Добавьте инструмент одной командой или скачайте проверенный архив версии.

    npx skills add composio-community/awesome-claude-plugins --skill senior-frontend
    Скачать ZIP
    Версия
    1.0.0+e521f7ada8d8
    Автор
    Владимир Ломтев
    Репозиторий
    composio-community/awesome-claude-plugins
    GitHub: composio-community/awesome-claude-plugins

    Установить скилл

    Добавьте инструмент одной командой или скачайте проверенный архив версии.

    npx skills add composio-community/awesome-claude-plugins --skill senior-frontend
    Скачать ZIP
    Версия
    1.0.0+e521f7ada8d8
    Автор
    Владимир Ломтев
    Репозиторий
    composio-community/awesome-claude-plugins
    GitHub: composio-community/awesome-claude-plugins

    Как установить

    1. 1Скопируйте команду из блока установки.
    2. 2Запустите её в терминале из каталога проекта.

    Документация

    Senior Frontend

    Frontend development patterns, performance optimization, and automation tools for React/Next.js applications.

    Project Scaffolding

    Generate a new Next.js or React project with TypeScript, Tailwind CSS, and best practice configurations.

    Scaffolder Options

    Option Description
    --template nextjs Next.js 14+ with App Router and Server Components
    --template react React + Vite with TypeScript
    --features auth Add NextAuth.js authentication
    --features api Add React Query + API client
    --features forms Add React Hook Form + Zod validation
    --features testing Add Vitest + Testing Library

    Generated Structure (Next.js)

    my-app/
    ├── app/
    │   ├── layout.tsx        # Root layout with fonts
    │   ├── page.tsx          # Home page
    │   ├── globals.css       # Tailwind + CSS variables
    │   └── api/health/route.ts
    ├── components/
    │   ├── ui/               # Button, Input, Card
    │   └── layout/           # Header, Footer, Sidebar
    ├── hooks/                # useDebounce, useLocalStorage
    ├── lib/                  # utils (cn), constants
    ├── types/                # TypeScript interfaces
    ├── tailwind.config.ts
    ├── next.config.js
    └── package.json
    

    Component Generation

    Generate React components with TypeScript, tests, and Storybook stories.

    Generator Options

    Option Description
    --type client Client component with 'use client' (default)
    --type server Async server component
    --type hook Custom React hook
    --with-test Include test file
    --with-story Include Storybook story

    Bundle Analysis

    Analyze package.json and project structure for bundle optimization opportunities.

    Heavy Dependencies to Replace

    Package Size Alternative
    moment 290KB date-fns (12KB) or dayjs (2KB)
    lodash 71KB lodash-es with tree-shaking
    axios 14KB Native fetch or ky (3KB)
    jquery 87KB Native DOM APIs
    @mui/material Large shadcn/ui or Radix UI

    React Patterns

    Compound Components

    const Tabs = ({ children }) => {
      const [active, setActive] = useState(0);
      return (
        <TabsContext.Provider value={{ active, setActive }}>
          {children}
        </TabsContext.Provider>
      );
    };
    
    Tabs.List = TabList;
    Tabs.Panel = TabPanel;
    

    Custom Hooks

    function useDebounce<T>(value: T, delay = 500): T {
      const [debouncedValue, setDebouncedValue] = useState(value);
    
      useEffect(() => {
        const timer = setTimeout(() => setDebouncedValue(value), delay);
        return () => clearTimeout(timer);
      }, [value, delay]);
    
      return debouncedValue;
    }
    

    Next.js Optimization

    Server vs Client Components

    Use Server Components by default. Add 'use client' only when you need:

    • Event handlers (onClick, onChange)
    • State (useState, useReducer)
    • Effects (useEffect)
    • Browser APIs

    Image Optimization

    import Image from 'next/image';
    
    // Above the fold - load immediately
    <Image
      src="/hero.jpg"
      alt="Hero"
      width={1200}
      height={600}
      priority
    />
    
    // Responsive image with fill
    <div className="relative aspect-video">
      <Image
        src="/product.jpg"
        alt="Product"
        fill
        sizes="(max-width: 768px) 100vw, 50vw"
        className="object-cover"
      />
    </div>
    

    Accessibility Checklist

    1. Semantic HTML: Use proper elements (<button>, <nav>, <main>)
    2. Keyboard Navigation: All interactive elements focusable
    3. ARIA Labels: Provide labels for icons and complex widgets
    4. Color Contrast: Minimum 4.5:1 for normal text
    5. Focus Indicators: Visible focus states
    // Accessible button
    <button
      type="button"
      aria-label="Close dialog"
      onClick={onClose}
      className="focus-visible:ring-2 focus-visible:ring-blue-500"
    >
      <XIcon aria-hidden="true" />
    </button>
    

    Quick Reference

    Tailwind CSS Utilities

    import { cn } from '@/lib/utils';
    
    <button className={cn(
      'px-4 py-2 rounded',
      variant === 'primary' && 'bg-blue-500 text-white',
      disabled && 'opacity-50 cursor-not-allowed'
    )} />
    

    TypeScript Patterns

    // Props with children
    interface CardProps {
      className?: string;
      children: React.ReactNode;
    }
    
    // Generic component
    interface ListProps<T> {
      items: T[];
      renderItem: (item: T) => React.ReactNode;
    }
    
    function List<T>({ items, renderItem }: ListProps<T>) {
      return <ul>{items.map(renderItem)}</ul>;
    }
    

    Требования и возможности

    Источник пакета
    https://github.com/composio-community/awesome-claude-plugins/tree/e521f7ada8d89abea888e67b93b4dcfbb977041f/senior-frontend/skills/senior-frontend

    Файлы версии

    ПутьРазмерSHA256
    SKILL.md48998be04c6277d69016...

    Частые вопросы

    Как установить Senior Frontend?
    Используйте команду npx skills add composio-community/awesome-claude-plugins --skill senior-frontend или скачайте ZIP-архив.
    Можно ли скачать Senior Frontend бесплатно?
    Да, опубликованную версию можно скачать из маркетплейса бесплатно.

    Похожие инструменты

    Смотреть все
    2ГИС: Статическая карта 2ГИССформировать PNG-карту с точками, линиями или полигонами.2ГИС: Обратное геокодирование 2ГИСНайти адрес и объекты рядом с заданными координатами.2ГИС: Пешеходный маршрут 2ГИСПостроить пешеходный маршрут между точками.2ГИС: Карточка организации 2ГИСПолучить подробные данные объекта по идентификатору.
    Комментарии

    Войдите, чтобы оставить комментарий.

    Комментариев пока нет.