Communitygithub.com

YepAPI/skills

핵심 웹 바이탈, 지연 로딩, 코드 분할, 번들 분석.

skills란 무엇인가요?

이 스킬은 웹 성능 최적화에 초점을 맞춘 규칙 및 모범 사례 모음입니다. 핵심 웹 바이탈 지표(LCP, INP, CLS)를 충족하고, 이미지 및 컴포넌트 지연 로딩, 라우트 기반 코드 분할, 이미지 최적화(WebP/AVIF), 번들 분석 도구 사용, 효과적인 캐싱 전략, 데이터베이스 쿼리 최적화, 그리고 레이아웃 이동 방지 등 성능에 영향을 미치는 모든 영역을 다룹니다. 주로 Next.js와 React 애플리케이션을 대상으로 하며, 개발자가 성능 병목 지점을 식별하고 개선할 수 있도록 구체적인 임계값과 도구 사용법을 제공합니다. `next/dynamic`, `@next/bundle-analyzer`, `React.lazy()` 등 프레임워크 내장 기능을 활용하여 실무에 바로 적용 가능한 지침을 제시합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/YepAPI/skills/tree/HEAD/skills/performance

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

성능

규칙

  • 핵심 웹 바이탈: LCP < 2.5초, INP < 200ms, CLS < 0.1
  • 화면 아래 이미지와 무거운 컴포넌트는 지연 로드: React.lazy(), next/dynamic
  • 라우트별로 코드 분할 — 각 페이지는 자체 코드만 로드
  • 이미지 최적화: WebP/AVIF 포맷, 적절한 크기, next/image + sizes 속성 사용
  • 번들 분석: @next/bundle-analyzer — 큰 의존성 식별
  • 캐싱: HTTP 캐시 헤더, 재방문자를 위한 서비스 워커, stale-while-revalidate
  • 데이터베이스: 자주 조회되는 컬럼에 인덱스 생성, EXPLAIN ANALYZE로 느린 쿼리 찾기
  • 레이아웃 이동 방지: 이미지, 비디오, 임베드에 명시적 크기 설정

Individual skills in this repo

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

YepAPI/skills

WCAG 2.1 AA — semantic HTML, keyboard navigation, screen readers.

YepAPI/skills

Experiment setup, variant splitting, statistical significance, and feature flag integration.

YepAPI/skills

CRUD generators, data tables, user management, role-based access, and bulk operations.

YepAPI/skills

Monitor what ChatGPT and Gemini say about your brand using YepAPI.

YepAPI/skills

Queue workers with BullMQ/Inngest/Trigger.dev, job retries, dead letter queues, concurrency.

YepAPI/skills

Commander.js, interactive prompts with Clack, spinners, colors, config files, exit codes, and npm publishing.

YepAPI/skills

cmdk integration, Cmd+K trigger, fuzzy search, grouped actions, keyboard navigation, and dynamic action registration.

YepAPI/skills

Content planning with trend and sentiment data from YepAPI.

YepAPI/skills

Content calendar, keyword-driven planning, and content briefs.

YepAPI/skills

Theme switching with CSS variables, system preference detection, next-themes, and persistence.

YepAPI/skills

Threaded comments, @mentions, reactions, moderation queue, optimistic UI, and cursor pagination.

YepAPI/skills

Competitive analysis between domains using YepAPI.

YepAPI/skills

Layout grids, KPI cards, data tables with sorting/filtering, sidebar navigation, and responsive breakpoints.

YepAPI/skills

Data encryption — TLS everywhere, AES-256-GCM for PII, bcrypt passwords, encrypted backups.

YepAPI/skills

Chart patterns with Recharts/Nivo/D3, responsive containers, color scales, and accessibility.

YepAPI/skills

Drizzle schema definition, push vs migrate, type-safe queries, relations, transactions, and prepared statements.

YepAPI/skills

Upload handling, resize/compress, CDN delivery, blur placeholders, and next/image patterns.

YepAPI/skills

Local business and Google Maps research using YepAPI.

YepAPI/skills

Cursor-based pagination, IntersectionObserver, virtualized lists with @tanstack/react-virtual, and scroll position restoration.

YepAPI/skills

Chat UI components, streaming responses with AI SDK, context window management, and RAG patterns.

관련 스킬