RL

royal-lobster/code-explainer

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

105 stars Качество 62 Тренд 4MIT

royal-lobster/code-explainer — кандидат в агенты, импортированный из https://github.com/royal-lobster/code-explainer.

Обзор

royal-lobster/code-explainer — кандидат в агенты, импортированный из https://github.com/royal-lobster/code-explainer.

Обзор (машинный перевод)

Объяснение кода

. Интерактивные обходы кода с выделением редактора и голосовым повествованием на основе ИИ.

Навык кодирующего агента, который сканирует вашу кодовую базу, строит план прохождения и объясняет сегмент за сегментом кода - выделение строк в VS Code / Cursor с выделенной панелью боковой панели и рассказывание с естественным звучанием локальной TTS. Работает с Claude Code, Codex, OpenCode, Kilo Code, Amp и др.

Смотреть Demo    Читать Writeup

Feature Особенности

  • VS Code Sidebar - Выделенная панель боковой панели с элементами управления прохождением, сегментной навигацией и отображением объяснения в реальном времени Code Highlighting — автоматически открывает файлы, прокрутки для кода и выделяет диапазоны 1-8 строк с пояснениями в каждом углу
      • Локальная TTS * * - Природно звучащее голосовое повествование, основанное на Kokoro-82M (TTS с открытым исходным кодом No 1), работающее локально на Apple Silicon через млкс-аудио
  • )Three Modes - Прохождение (без рук с TTS), чтение (текст в терминале) или подкаст (один аудиофайл) Адаптивная глубина — обзор или объяснения Deep Dive, основанные на вашем знакомстве

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

Code Explainer

✨ Interactive code walkthroughs with editor highlighting and AI-powered voice narration.

A coding agent skill that scans your codebase, builds a walkthrough plan, and explains code segment-by-segment — highlighting lines in VS Code / Cursor with a dedicated sidebar panel and narrating with natural-sounding local TTS. Works with Claude Code, Codex, OpenCode, Kilo Code, Amp, and more.

🎬 Watch Demo  ·  📝 Read Writeup


🚀 Features

  • 🪟 VS Code Sidebar — Dedicated sidebar panel with walkthrough controls, segment navigation, and live explanation display
  • 🎯 Code Highlighting — Automatically opens files, scrolls to code, and highlights 1–8 line ranges with per-highlight explanations
  • 🔊 Local TTS — Natural-sounding voice narration powered by Kokoro-82M (#1 ranked open-source TTS), running locally on Apple Silicon via mlx-audio
  • 🎬 Three Modes — Walkthrough (hands-free with TTS), Read (text in terminal), or Podcast (single audio file)
  • 🧠 Adaptive Depth — Overview or Deep Dive explanations based on your familiarity
  • 📋 Plan-First — Scout finds files, planner builds narrative order, parallel segment agents generate highlights — outline visible immediately, segments stream in as they finish
  • 💾 Save & Share — Save walkthroughs to .walkthrough.json files, replay later or share with teammates via the repo
  • ⌨️ Keyboard Shortcuts — Full keybinding support for hands-free navigation

📦 Requirements

  • 🍎 macOS (Apple Silicon recommended for GPU-accelerated TTS)
  • 🐍 Python 3.10+
  • 📗 Node.js 18+
  • 🖥️ VS Code or Cursor with CLI enabled (code or cursor command)

🔧 Installation

Just tell your coding agent:

Install the code explainer skill from https://github.com/Royal-lobster/code-explainer

Your agent will clone the repo into the skills directory, run setup.sh, and ask you to reload your editor — all while keeping you in the loop at each step.

Skill-native agents

These agents support the skills//SKILL.md format natively. Clone directly into the skills directory:

Agent Install commands
Claude Code git clone https://github.com/Royal-lobster/code-explainer.git ~/.claude/skills/explainer
Amp git clone https://github.com/Royal-lobster/code-explainer.git ~/.config/agents/skills/explainer
OpenCode git clone https://github.com/Royal-lobster/code-explainer.git ~/.config/opencode/skills/explainer
Открыть полный README на GitHub

Рекомендуемые инструменты

Попробуйте другой запрос или уберите фильтр.

Установка

npx skillfish add royal-lobster/code-explainer
Новичок в MCP? Начните с руководства на mcpskill.org →