Communitygithub.com

JantonioFC/skillsbank

Next.js 16+ 및 Turbopack — 증분 번들링, 파일 시스템 캐싱, 개발 속도 및 Turbopack과 webpack 사용 시기

skillsbank란 무엇인가요?

이 기술은 Next.js 16+에서 기본 개발 환경으로 사용되는 Turbopack에 중점을 둡니다. Turbopack은 Rust로 작성된 증분 번들러로, 대규모 애플리케이션에서 개발 시작 시간과 핫 모듈 교체(HMR) 속도를 크게 향상시킵니다. Next.js 16부터 `next dev` 명령어는 기본적으로 Turbopack을 사용하므로, 빠른 개발 환경을 제공합니다. Turbopack의 버그나 webpack 전용 플러그인에 의존하는 특수한 경우에만 `--webpack` 또는 `--no-turbopack` 플래그를 사용하여 webpack으로 전환할 수 있습니다. 또한 Next.js 16.1+에서는 실험적인 Bundle Analyzer를 제공하여 번들 출력을 분석하고 의존성을 최적화할 수 있습니다. 이 기술은 Next.js 16+를 개발하거나 디버깅하는 모든 개발자에게 유용하며, 느린 개발 시작이나 HMR 문제를 진단하거나 프로덕션 번들 크기를 최적화해야 할 때 특히 가치 있습니다.

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

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

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

문서

Next.js와 Turbopack

Next.js 16+는 로컬 개발 시 기본적으로 Turbopack을 사용합니다. Rust로 작성된 증분 번들러로, 개발 시작 속도와 핫 업데이트를 크게 향상합니다.

사용 시점

  • Turbopack (기본 개발): 일상적인 개발에 사용합니다. 특히 큰 애플리케이션에서 더 빠른 콜드 스타트와 HMR을 제공합니다.
  • Webpack (레거시 개발): Turbopack 버그가 발생하거나 개발 중인 webpack 전용 플러그인을 사용해야 하는 경우에만 사용합니다. --webpack (또는 Next.js 버전에 따라 --no-turbopack) 플래그로 비활성화합니다. (자세한 내용은 해당 릴리스의 문서를 확인하세요.)
  • 프로덕션: 프로덕션 빌드 동작(next build)은 Next.js 버전에 따라 Turbopack 또는 webpack을 사용할 수 있습니다. 해당 버전의 공식 Next.js 문서를 확인하세요.

다음 상황에서 사용합니다: Next.js 16+ 앱 개발 또는 디버깅, 느린 개발 시작 또는 HMR 진단, 프로덕션 번들 최적화.

작동 방식

  • Turbopack: Next.js 개발을 위한 증분 번들러입니다. 파일 시스템 캐싱을 사용하므로 재시작 속도가 훨씬 빠릅니다 (예: 대규모 프로젝트에서 5~14배).
  • 개발 기본값: Next.js 16부터 next dev는 비활성화하지 않는 한 Turbopack으로 실행됩니다.
  • 파일 시스템 캐싱: 재시작 시 이전 작업을 재사용합니다. 캐시는 일반적으로 .next 아래에 위치하며, 기본 사용에는 추가 설정이 필요하지 않습니다.
  • Bundle Analyzer (Next.js 16.1+): 실험적 Bundle Analyzer를 사용하여 출력을 검사하고 무거운 종속성을 찾을 수 있습니다. 설정 또는 실험적 플래그를 통해 활성화합니다 (자세한 내용은 해당 버전의 Next.js 문서를 참조).

예시

명령어

next dev
next build
next start

사용 방법

Turbopack을 사용한 로컬 개발을 위해 next dev를 실행합니다. Bundle Analyzer(Next.js 문서 참조)를 사용하여 코드 분할을 최적화하고 큰 종속성을 줄입니다. 가능한 경우 App Router와 서버 컴포넌트를 사용하는 것이 좋습니다.

모범 사례

  • 안정적인 Turbopack 및 캐싱 동작을 위해 최신 Next.js 16.x를 유지하세요.
  • 개발이 느린 경우 Turbopack(기본값)을 사용하고 캐시가 불필요하게 지워지지 않는지 확인하세요.
  • 프로덕션 번들 크기 문제가 있는 경우 해당 버전의 공식 Next.js 번들 분석 도구를 사용하세요.

Individual skills in this repo

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

JantonioFC/skillsbank

AI-powered image editing with style transfer and object removal

JantonioFC/skillsbank

Internationalization and localization patterns. Detecting hardcoded strings, managing translations, locale files, RTL support.

JantonioFC/skillsbank

Analise e auditoria de editais de leilao judicial e extrajudicial. Riscos ocultos, clausulas perigosas, debitos, ocupante e classificacao da oportunidade.

JantonioFC/skillsbank

Embed Photopea in web apps using photopea.js. Covers embedding, file I/O, scripting, exporting, layers, text, filters, and the full Photoshop-compatible API.

JantonioFC/skillsbank

Best practices for Remotion - Video creation in React

JantonioFC/skillsbank

Generate walkthrough videos from Stitch projects using Remotion with smooth transitions, zooming, and text overlays

JantonioFC/skillsbank

Seek and analyze video content using Memories.ai Large Visual Memory Model for persistent video intelligence

JantonioFC/skillsbank

Writes complete, structured landing pages optimized for SEO ranking, AEO citation, and visitor conversion. Activate when the user wants to write or generate a landing page for a product, service, or offer.

JantonioFC/skillsbank

Video and audio perception, indexing, and editing. Ingest files/URLs/live streams, build visual/spoken indexes, search with timestamps, edit timelines, add overlays/subtitles, generate media, and create real-time alerts.

JantonioFC/skillsbank

Upload, stream, search, edit, transcribe, and generate AI video and audio using the VideoDB SDK.

JantonioFC/skillsbank

Skill for discovering and researching autonomous AI agents, tools, and ecosystems using the AgentFolio directory.

JantonioFC/skillsbank

Expert in building portfolios that actually land jobs and clients - not just showing work, but creating memorable experiences. Covers developer portfolios, designer portfolios, creative portfolios, and portfolios that convert visitors into opportunities.

JantonioFC/skillsbank

Tool lifecycle UI components for React/Next.js from ui.inference.sh. Display tool calls: pending, progress, approval required, results. Capabilities: tool status, progress indicators, approval flows, results display. Use for: showing agent tool calls, human-in-the-loop approvals, tool output. Triggers: tool ui, tool calls, tool status, tool approval, tool results, agent tools, mcp tools ui, function calling ui, tool lifecycle, tool pending

JantonioFC/skillsbank

Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.

JantonioFC/skillsbank

When the user wants help with paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, Twitter/X, or other ad platforms. Also use when the user mentions 'PPC,' 'paid media,' 'ROAS,' 'CPA,' 'ad campaign,' 'retargeting,' 'audience targeting,' 'Google Ads,' 'Facebook ads,'...

JantonioFC/skillsbank

Create AI avatar and talking head videos with OmniHuman, Fabric, PixVerse via inference.sh CLI. Models: OmniHuman 1.5, OmniHuman 1.0, Fabric 1.0, PixVerse Lipsync. Capabilities: audio-driven avatars, lipsync videos, talking head generation, virtual presenters. Use for: AI presenters, expla...

JantonioFC/skillsbank

Create AI marketing videos for ads, promos, product launches, and brand content. Models: Veo, Seedance, Wan, FLUX for visuals, Kokoro for voiceover. Types: product demos, testimonials, explainers, social ads, brand videos. Use for: Facebook ads, YouTube ads, product launches, brand awarene...

JantonioFC/skillsbank

Generate AI videos with Google Veo, Seedance, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 1.5 Pro, Wan 2.5, Grok Imagine Video, OmniHuman, Fabric, HunyuanVideo. Capabilities: text-to-video, image-to-video, lipsync, avatar animation, video upscaling, fole...

JantonioFC/skillsbank

Production-ready CI/CD configurations for Playwright — GitHub Actions, GitLab CI, CircleCI, Azure DevOps, Jenkins, Docker, parallel sharding, reporting, code coverage, and global setup/teardown.

JantonioFC/skillsbank

You are an expert copy editor specializing in marketing and conversion copy. Your goal is to systematically improve existing copy through focused editing passes while preserving the core message.

관련 스킬