An AI agent skill that turns vibe-coding outputs into learnable tutorials. 一个把 vibe-coding 产出变成可学习教程的 AI Agent Skill。
Vibe-coding is fast — you describe what you want, AI builds it. But speed comes at a cost: you don't understand what you now own. The code works, but you can't maintain it, extend it, or explain it to anyone.
vibe-coding-tutor is a skill for AI coding agents (Hermes, Cursor, Claude Code, etc.) that automatically generates a human-oriented tutorial after building your project. Not API docs. Not auto-generated comments. A real tutorial that teaches you:
- Project Map — What was built, and why each directory exists
- Tech Stack Primer — The key technologies, explained in plain language
- Architecture Walkthrough — One concrete request traced through the entire system
- Key Patterns Explained — Design decisions, tradeoffs, and non-obvious choices
- Try It Yourself — Safe experiments to deepen understanding
- Extension Points — How to build on this project later
# From within Hermes CLI
skill_install vibe-coding-tutor
# Or manually
cp SKILL.md ~/.hermes/skills/software-development/vibe-coding-tutor/Two options — project-level or global:
Option A: Project-level (recommended)
# Copy CLAUDE.md to your project root
cp claude-code/CLAUDE.md /path/to/your/project/CLAUDE.md
# Or append to existing CLAUDE.md
cat claude-code/CLAUDE.md >> /path/to/your/project/CLAUDE.mdOption B: Global (all projects)
# Add to global Claude Code instructions
cp claude-code/CLAUDE.md ~/.claude/CLAUDE.md
# Or append to existing
cat claude-code/CLAUDE.md >> ~/.claude/CLAUDE.mdOption C: Slash command (on-demand)
# Copy the /tutor slash command
mkdir -p /path/to/your/project/.claude/commands
cp .claude/commands/tutor.md /path/to/your/project/.claude/commands/tutor.md
# Then in Claude Code, type: /tutor# Copy to Cursor rules
cp SKILL.md /path/to/your/project/.cursor/rules/vibe-coding-tutor.mdCopy SKILL.md into your agent's skill/plugin directory. The skill is agent-agnostic — it's a structured prompt that works with any LLM-powered coding agent.
After completing a coding task, the agent will automatically offer a tutorial. Or trigger it manually:
User: "帮我理解这个项目"
Agent: [generates tutorial in docs/tutorial-YYYY-MM-DD.md]
# Task Manager App Tutorial
## 1. Project Map
项目名称: Task Manager
做什么: 一个支持拖拽排序的任务看板
技术栈: React + TypeScript + Zustand + Tailwind
目录骨架:
src/
├── components/ ← UI 组件层
├── stores/ ← 状态管理 (Zustand)
├── types/ ← TypeScript 类型定义
└── utils/ ← 工具函数
## 2. Tech Stack Primer
技术: Zustand
是什么: 轻量级 React 状态管理库
为什么用它: 比 Redux 简单,比 Context 高效
核心概念: store 就是一个自定义 hook,直接在组件里 use
...See examples/ for full tutorial samples.
- Concepts > Syntax — "This uses Observer pattern" beats "this has an event listener"
- Stories > Diagrams — Trace one request through the system
- Why > What — The code shows what; the tutorial explains why
- Safe Experiments — Learn by doing, without breaking things
Issues and PRs welcome. See CONTRIBUTING.md.
MIT — see LICENSE.
Vibe-coding 很快——你描述需求,AI 来构建。但速度有代价:你不理解你拥有的东西。 代码能跑,但你无法维护、扩展或向别人解释它。
vibe-coding-tutor 是一个 AI 编程 Agent 的 Skill(适用于 Hermes、Cursor、Claude Code 等),在构建项目后自动生成一份面向人类的教程。不是 API 文档,不是自动注释,是一份真正教你理解项目的教程:
- 鸟瞰全局 — 构建了什么,每个目录为什么存在
- 技术栈速成 — 关键技术的通俗解释
- 架构走读 — 跟踪一个具体请求走完系统全链路
- 关键模式解读 — 设计决策、权衡取舍、不显然的选择
- 动手实验 — 安全的小实验加深理解
- 扩展指引 — 将来如何在此基础上继续开发
# 在 Hermes CLI 中
skill_install vibe-coding-tutor
# 或手动安装
cp SKILL.md ~/.hermes/skills/software-development/vibe-coding-tutor/三种方式——项目级或全局:
方式 A:项目级(推荐)
# 复制 CLAUDE.md 到项目根目录
cp claude-code/CLAUDE.md /你的项目路径/CLAUDE.md
# 或追加到已有的 CLAUDE.md
cat claude-code/CLAUDE.md >> /你的项目路径/CLAUDE.md方式 B:全局生效(所有项目)
# 添加到 Claude Code 全局指令
cp claude-code/CLAUDE.md ~/.claude/CLAUDE.md
# 或追加到已有的全局配置
cat claude-code/CLAUDE.md >> ~/.claude/CLAUDE.md方式 C:斜杠命令(按需触发)
# 复制 /tutor 斜杠命令
mkdir -p /你的项目路径/.claude/commands
cp .claude/commands/tutor.md /你的项目路径/.claude/commands/tutor.md
# 然后在 Claude Code 中输入: /tutor# 复制到 Cursor 规则目录
cp SKILL.md /你的项目路径/.cursor/rules/vibe-coding-tutor.md将 SKILL.md 复制到你所用 Agent 的 skill/plugin 目录即可。该 skill 与 Agent 无关——它是一个结构化的 prompt,适用于任何 LLM 驱动的编程 Agent。
完成编程任务后,Agent 会自动提供教程。也可以手动触发:
用户: "帮我理解这个项目"
Agent: [生成教程到 docs/tutorial-YYYY-MM-DD.md]
- 概念 > 语法 — "这里用了观察者模式" 比 "这里有个事件监听器" 更有价值
- 故事 > 图表 — 跟踪一个请求走完全链路,比抽象描述更容易记住
- 为什么 > 是什么 — 代码已经展示了是什么,教程要解释为什么
- 安全实验 — 通过动手做来学习,但不会搞坏东西
欢迎 Issue 和 PR。详见 CONTRIBUTING.md。
MIT — 详见 LICENSE。
vibe-coding-tutor/
├── SKILL.md # Core skill definition (agent-agnostic)
├── README.md # This file (bilingual)
├── LICENSE # MIT license
├── CONTRIBUTING.md # Contribution guidelines
├── claude-code/
│ └── CLAUDE.md # Claude Code instructions (project/global)
├── .claude/commands/
│ └── tutor.md # Claude Code /tutor slash command
├── examples/ # Example tutorial outputs
│ └── react-todo-app.md
└── templates/ # Custom tutorial templates
└── tutorial-template.md
| Agent | Status | Installation | Trigger |
|---|---|---|---|
| Hermes | ✅ Native | skill_install vibe-coding-tutor |
Auto after coding |
| Claude Code | ✅ Full | Copy claude-code/CLAUDE.md or use /tutor |
Auto or /tutor |
| Cursor | ✅ | Copy SKILL.md to .cursor/rules/ |
Auto after coding |
| Copilot | Works as custom instructions | Manual | |
| Generic LLM | ✅ | Paste SKILL.md as system prompt |
Manual |
learning teaching vibe-coding documentation onboarding tutorial architecture