Communitygithub.com

Nextra — Next.js 문서 프레임워크

Nextra는 MDX 파일을 렌더링하고, 풀텍스트 검색, 다크 모드, i18n, 구문 강조를 내장한 Next.js 기반 문서 프레임워크입니다. 개발자가 React 컴포넌트를 마크다운에서 사용할 수 있는 문서 사이트, 블로그, 지식 베이스를 구축하도록 도와줍니다.

Nextra — Next.js 문서 프레임워크란 무엇인가요?

이 스킬은 Nextra 문서 프레임워크에 대한 전문 지식을 제공합니다. Nextra는 Next.js 기반의 문서 프레임워크로, MDX 파일을 렌더링하고 풀텍스트 검색, 다크 모드, 국제화(i18n), 구문 강조를 기본 지원합니다. CLI 도구(예: Claude Code, Cursor, Codex)와 함께 사용하여 문서 사이트, 블로그, 지식 베이스를 빠르게 구축할 수 있습니다. 주요 기능으로는 파일 기반 라우팅, `_meta.json`을 통한 사이드바 정렬, FlexSearch 기반 내장 검색, 코드 블록 내 검색, 파일명 레이블, 줄 강조 등이 있습니다. React 컴포넌트를 마크다운(MDX)에 직접 임베드할 수 있어 대화형 문서를 쉽게 만들 수 있으며, Vercel에 한 번의 클릭으로 배포 가능합니다. `create-next-app` 템플릿을 사용하거나 기존 Next.js 프로젝트에 패키지를 추가하는 방식으로 설정할 수 있습니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ComeOnOliver/skillshub/tree/HEAD/skills/TerminalSkills/skills/nextra

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

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

문서

Nextra — Next.js 문서 프레임워크은(는) 무엇을 하나요?

개요

귀하는 Nextra 전문가입니다. Nextra는 MDX 파일을 렌더링하고, 풀텍스트 검색, 다크 모드, i18n, 구문 강조를 내장한 Next.js 기반 문서 프레임워크입니다. 개발자가 React 컴포넌트를 마크다운에서 사용할 수 있는 문서 사이트, 블로그, 지식 베이스를 구축하도록 도와줍니다.

지침

설정

npx create-next-app my-docs --example https://github.com/shuding/nextra-docs-template
cd my-docs && npm run dev

# 또는 기존 Next.js 프로젝트에 추가
npm install nextra nextra-theme-docs

설정 파일

// next.config.mjs
import nextra from "nextra";

const withNextra = nextra({
  theme: "nextra-theme-docs",
  themeConfig: "./theme.config.tsx",
  defaultShowCopyCode: true,
  search: { codeblocks: true },        // 코드 블록 내 검색 활성화
});

export default withNextra({
  reactStrictMode: true,
});
// theme.config.tsx
import { DocsThemeConfig } from "nextra-theme-docs";

const config: DocsThemeConfig = {
  logo: <span style={{ fontWeight: 800 }}>My SDK</span>,
  project: { link: "https://github.com/org/repo" },
  chat: { link: "https://discord.gg/xxx" },
  docsRepositoryBase: "https://github.com/org/repo/tree/main/docs",
  footer: { text: "MIT License © 2026" },
  useNextSeoProps() {
    return { titleTemplate: "%s — My SDK Docs" };
  },
  head: (
    <>
      <meta name="viewport" content="width=device-width, initial-scale=1.0" />
      <link rel="icon" href="/favicon.ico" />
    </>
  ),
  sidebar: { defaultMenuCollapseLevel: 1, toggleButton: true },
  toc: { float: true, backToTop: true },
  navigation: { prev: true, next: true },
};
export default config;

MDX 페이지

---
title: 시작하기
description: My SDK 빠른 시작 가이드
---

import { Callout, Tabs, Tab, Steps, Cards, Card, FileTree } from 'nextra/components'

# 시작하기

<Callout type="info">
  이 가이드는 Node.js 18+이 설치되어 있다고 가정합니다.
</Callout>

## 설치

<Tabs items={['npm', 'yarn', 'pnpm']}>
  <Tab>```bash npm install my-sdk ```</Tab>
  <Tab>```bash yarn add my-sdk ```</Tab>
  <Tab>```bash pnpm add my-sdk ```</Tab>
</Tabs>

## 빠른 시작

<Steps>
### SDK 설치
```bash
npm install my-sdk

클라이언트 초기화

import { SDK } from "my-sdk";
const client = new SDK({ apiKey: process.env.API_KEY });

첫 번째 요청 보내기

const users = await client.users.list();
console.log(users);

프로젝트 구조

관련 자료

자동 탐색

## 파일 기반 라우팅
pages/
  index.mdx           → /
  getting-started.mdx  → /getting-started
  guide/
    _meta.json         → 사이드바 순서 및 레이블
    installation.mdx   → /guide/installation
    configuration.mdx  → /guide/configuration
  api/
    _meta.json
    reference.mdx      → /api/reference

## _meta.json — 사이드바 순서 제어
{
  "installation": "설치",
  "configuration": "설정",
  "authentication": "인증",
  "-- Separator": { "type": "separator", "title": "고급" },
  "plugins": "플러그인",
  "migration": "마이그레이션 가이드"
}

설치

npm install nextra nextra-theme-docs

예제

예제 1: 사용자가 nextra를 설정해 달라고 요청

사용자: "내 프로젝트에 nextra를 설정해줘"

에이전트는 다음을 수행해야 합니다:

  1. 시스템 요구 사항 및 전제 조건 확인
  2. nextra 설치 또는 설정
  3. 초기 프로젝트 구조 설정
  4. 설정이 올바르게 작동하는지 확인

예제 2: 사용자가 nextra로 기능을 구축해 달라고 요청

사용자: "nextra를 사용하여 대시보드를 만들어줘"

에이전트는 다음을 수행해야 합니다:

  1. 컴포넌트 또는 설정 스캐폴딩
  2. 적절한 데이터 소스에 연결
  3. 요청된 기능 구현
  4. 출력 테스트 및 검증

지침

  1. 대화형을 위한 MDX — 문서에서 React 컴포넌트(탭, 콜아웃, 대화형 예제)를 사용하세요. MDX가 이를 원활하게 만듭니다.
  2. 조직화를 위한 _meta.json — _meta.json으로 사이드바 순서와 레이블을 제어하세요. 파일 이름 알파벳 순서에 의존하지 마세요.
  3. 내장 검색 — Nextra는 FlexSearch 기반 풀텍스트 검색을 포함합니다. 소규모~중간 규모 사이트에는 Algolia 설정이 필요하지 않습니다.
  4. Next.js 기능 — SSR, ISR, API 라우트, 전체 Next.js 생태계를 사용할 수 있습니다. 대화형 문서에 유용합니다.
  5. 코드 블록 기능 — 코드 블록에서 defaultShowCopyCode, 파일명 레이블, 줄 강조를 활성화하세요.
  6. 내장 다크 모드 — Nextra의 문서 테마에는 다크 모드 토글이 포함되어 있습니다. 모든 컴포넌트가 자동으로 적응합니다.
  7. i18n 지원 — 국제화를 내장 지원합니다. 동일한 구조로 로케일 폴더(en/, ja/, zh/)를 만드세요.
  8. Vercel에 배포 — 한 번의 클릭으로 배포합니다. 문서 변경 사항이 있는 모든 PR에 대해 자동 미리보기 배포를 제공합니다.

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

Comprehensive frontend development skill for building modern, performant web applications using ReactJS, NextJS, TypeScript, Tailwind CSS. Includes component scaffolding, performance optimization, bundle analysis, and UI best practices. Use when developing frontend features, optimizing performance, implementing UI/UX designs, managing state, or reviewing frontend code.

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

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

관련 스킬