split-youtube-chapters
БесплатноБез исполняемых скриптовНе проверенYouTube 콘텐츠의 챕터별 하위페이지 구조를 readings.ts에 생성하고, 전체 번역 파일에서 챕터별 번역 파일을 자동 생성합니다. 사용: /split-youtube-chapters week1/deep-dive-llms
Об этом скилле
split-youtube-chapters Skill
YouTube 콘텐츠를 챕터별 하위페이지 구조로 변환합니다.
사용법
/split-youtube-chapters <week/slug>
예시
/split-youtube-chapters week1/deep-dive-llms
입출력
입력
docs/week{N}/{slug}/eng/index.md- 챕터 구조가 포함된 YouTube 콘텐츠 원본docs/week{N}/{slug}/kr/index.md- 전체 번역 파일 (챕터 파일 생성 시 필요)
출력
src/content/readings.ts수정:- 기존 Reading을
isParent: true+children배열로 변환 - 각 챕터를 ChildReading으로 생성
- 기존 Reading을
docs/week{N}/{slug}/kr/{childSlug}.md- 챕터별 번역 파일 (N개)
변환 예시
변환 전 (단일 페이지)
'week1/deep-dive-llms': {
slug: 'deep-dive-llms',
week: 1,
title: 'Deep Dive into LLMs like ChatGPT',
titleKr: 'ChatGPT 같은 LLM 심층 분석',
author: 'Andrej Karpathy',
readTime: '약 3시간 31분',
sourceUrl: 'https://www.youtube.com/watch?v=7xTGNNLPyMI',
sourceTitle: 'YouTube - Deep Dive into LLMs like ChatGPT',
published: true,
sections: [
{ title: '1. Introduction (0:00)', content: '...' },
{ title: '2. Pretraining Data (1:00)', content: '...' },
// ... 24개 섹션
],
keyTakeaways: [...]
}
변환 후 (부모 + 자식 구조)
'week1/deep-dive-llms': {
slug: 'deep-dive-llms',
week: 1,
title: 'Deep Dive into LLMs like ChatGPT',
titleKr: 'ChatGPT 같은 LLM 심층 분석',
author: 'Andrej Karpathy',
readTime: '약 3시간 31분',
sourceUrl: 'https://www.youtube.com/watch?v=7xTGNNLPyMI',
sourceTitle: 'YouTube - Deep Dive into LLMs like ChatGPT',
published: true,
isParent: true,
// 부모 페이지의 sections는 개요 정보
sections: [
{
title: '개요',
content: 'Andrej Karpathy의 LLM 심층 분석 강의입니다...',
}
],
// YouTube 전용 필드 유지
contentType: 'youtube',
duration: '3:31:05',
totalChapters: 24,
tldr: '...',
learningGoals: [...],
chapterSummaries: [...],
// 챕터별 자식 페이지
children: [
{
slug: 'introduction',
title: '1. Introduction',
titleKr: '1. 소개',
sourceUrl: 'https://www.youtube.com/watch?v=7xTGNNLPyMI&t=0s',
published: true, // 번역 파일 있으면 true
hasMarkdown: true, // 마크다운 동적 로딩 활성화
},
{
slug: 'pretraining-data',
title: '2. Pretraining Data',
titleKr: '2. 사전학습 데이터',
sourceUrl: 'https://www.youtube.com/watch?v=7xTGNNLPyMI&t=60s',
published: true,
hasMarkdown: true,
},
// ... 24개 챕터
]
}
실행 지침
Step 1: 원본 마크다운 읽기
1. docs/week{N}/{slug}/eng/index.md 파일 읽기
2. 파일이 없으면 에러: "원본 파일을 찾을 수 없습니다."
3. 프론트매터에서 메타데이터 추출:
- source_url
- chapters (또는 본문에서 파싱)
Step 2: 챕터 구조 파싱
원본 마크다운의 Table of Contents 또는 h2 섹션에서 챕터 추출:
## Table of Contents
1. [Introduction](#1-introduction) (0:00)
2. [Pretraining Data (Internet)](#2-pretraining-data-internet) (1:00)
3. [Tokenization](#3-tokenization) (7:47)
...
각 챕터에서 추출할 정보:
- 번호: 1, 2, 3, ...
- 영어 제목: Introduction, Pretraining Data, Tokenization
- 타임스탬프: 0:00, 1:00, 7:47
Step 3: 챕터 제목 → slug 변환
| 영어 제목 | slug |
|---|---|
| Introduction | introduction |
| Pretraining Data (Internet) | pretraining-data |
| Tokenization | tokenization |
| Neural Network I/O | neural-network-io |
| GPT-2: Training and Inference | gpt2-training-inference |
| Llama 3.1 Base Model Inference | llama-31-base-model |
| Hallucinations, Tool Use, Knowledge/Working Memory | hallucinations-tool-use |
| Reinforcement Learning from Human Feedback (RLHF) | rlhf |
slug 생성 규칙:
- 영어 소문자로 변환
- 특수문자 제거 (괄호, 콜론, 슬래시 등)
- 공백을
-로 변환 - 연속된
-제거 - 너무 긴 경우 핵심 단어만 사용 (약 30자 이내)
Step 4: 챕터 제목 한국어 번역
| 영어 제목 | titleKr |
|---|---|
| Introduction | 소개 |
| Pretraining Data | 사전학습 데이터 |
| Tokenization | 토큰화 |
| Neural Network I/O | 신경망 입출력 |
| Inference | 추론 |
| Reinforcement Learning | 강화학습 |
| RLHF | RLHF (인간 피드백 강화학습) |
한국어 번역 규칙:
- 일반적인 기술 용어는 한국어로 번역
- 고유명사(GPT-2, Llama, DeepSeek-R1)는 그대로 유지
- 약어(RLHF, I/O)는 그대로 + 괄호 안에 풀이
- 번호는 그대로 유지: "1. 소개", "2. 사전학습 데이터"
Step 5: 타임스탬프 → YouTube URL 변환
타임스탬프 "1:20:32" → 초 단위 변환 → 4832초
YouTube URL: {sourceUrl}&t=4832s
Step 6: readings.ts 업데이트
- 기존 Reading 찾기
- 다음 필드 추가/수정:
isParent: truesections: 개요 정보로 대체 (기존 섹션 제거)children: 챕터별 ChildReading 배열 추가
// 기존 sections 대체
sections: [
{
title: '개요',
content: `${author}의 ${titleKr} 강의입니다. 총 ${totalChapters}개의 챕터로 구성되어 있으며, 약 ${duration} 분량입니다.`,
}
],
// children 추가
// 번역 파일이 있으면 published: true, hasMarkdown: true
// 번역 파일이 없으면 published: false, hasMarkdown: false
children: [
{
slug: 'introduction',
title: '1. Introduction',
titleKr: '1. 소개',
sourceUrl: 'https://www.youtube.com/watch?v=...&t=0s',
published: true, // 번역 파일 있으면 true
hasMarkdown: true, // 번역 파일 있으면 true
},
// ...
]
Step 7: readings.ts 업데이트 결과 확인
readings.ts 업데이트 완료 후 다음 단계로 진행합니다.
Step 8: 챕터별 번역 파일 생성 (--skip-files가 아닌 경우)
전체 번역 파일에서 각 챕터를 분리하여 개별 파일로 생성합니다.
8.1 전체 번역 파일 확인
파일 경로: docs/week{N}/{slug}/kr/index.md
파일이 없으면:
⚠ 전체 번역 파일이 없습니다.
→ 챕터별 파일 생성
Установить split-youtube-chapters в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл split-youtube-chapters?
YouTube 콘텐츠의 챕터별 하위페이지 구조를 readings.ts에 생성하고, 전체 번역 파일에서 챕터별 번역 파일을 자동 생성합니다. 사용: /split-youtube-chapters week1/deep-dive-llms
Как установить скилл split-youtube-chapters?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл split-youtube-chapters запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic