Marketplace

ccg

AI Course Content Generator - Generate complete online courses with Gemini API. Triggers on "create course", "generate lesson", "course content", "ccg", "/ccg".

allowed_tools: Bash, Read, Write, Edit, Grep, Glob, WebFetch, WebSearch

$ Installieren

git clone https://github.com/ShunsukeHayashi/Miyabi /tmp/Miyabi && cp -r /tmp/Miyabi/.claude/skills/ccg ~/.claude/skills/Miyabi

// tip: Run this command in your terminal to install the skill


name: ccg description: AI Course Content Generator - Generate complete online courses with Gemini API. Triggers on "create course", "generate lesson", "course content", "ccg", "/ccg". allowed-tools: Bash, Read, Write, Edit, Grep, Glob, WebFetch, WebSearch

AI Course Content Generator (CCG)

Version: 1.0.0 Location: /Users/shunsukehayashi/dev/ai-course-content-generator-v2


Triggers

TriggerExamples
Course creation"create course", "generate course", "/ccg"
Development"ccg dev", "start course generator"
Build"ccg build", "build course app"

Quick Commands

# Development
cd /Users/shunsukehayashi/dev/ai-course-content-generator-v2 && npm run dev

# Production build
cd /Users/shunsukehayashi/dev/ai-course-content-generator-v2 && npm run build

# Electron dev
cd /Users/shunsukehayashi/dev/ai-course-content-generator-v2 && npm run electron:dev

# Electron build
cd /Users/shunsukehayashi/dev/ai-course-content-generator-v2 && npm run electron:build

Key Capabilities

  1. Course Structure Generation - JSON curriculum generation
  2. Lesson Script Generation - Customizable narration scripts
  3. Text-to-Speech - Gemini TTS audio generation
  4. Slide Generation - Graphic recording style
  5. Video Rendering - WebCodecs API MP4 creation
  6. Bulk Export - ZIP download of all assets

Architecture

Vision Panel → Structure → Content Pipeline → Export
     ↓              ↓              ↓            ↓
 Image/PDF/URL  JSON Structure  Slides/Audio  MP3/MP4/ZIP

Key Files

FilePurpose
services/geminiService.tsGemini API calls + retry logic
templates/prompts.tsZod schemas + prompt builders
utils/audioUtils.tsPCM→MP3 encoding (lamejs)
utils/videoUtils.tsMP4 muxing (WebCodecs)
types.tsCourse structure interfaces
constants.tsDefaults + TTS voice options

Gemini Models

  • Primary: gemini-3-flash-preview (with thinking)
  • Backup: gemini-2.5-flash (quota fallback)
  • TTS: gemini-2.5-flash-preview-tts
  • Image: gemini-3-pro-image-preview

Environment

  • GEMINI_API_KEY required in .env