AITutor – 像 vimtutor 一样,但用于 AI 辅助编程

1作者: thehecticbyte5 个月前
我制作了一个交互式终端教程,教授 AI 编码概念——上下文窗口、工具、MCP、钩子、子代理等等。<p>我每天都使用 Claude Code、Cursor 和 GitHub Copilot,并且我一直注意到同样的事情:大多数开发人员(包括我自己,一开始也是)使用这些工具,但实际上并不真正了解它们是如何工作的。 什么是上下文窗口? 为什么 AI 会“忘记”某些东西? MCP 到底做了什么? 为什么有些提示词比其他提示词效果更好?<p>AITutor 就像针对这些内容的 vimtutor。它包含 15 节课程,涵盖初级/中级/高级级别,每节课都包含理论、一个可以交互的 ASCII 可视化演示,以及一个测验。它完全在你的终端中运行。<p>使用 Go 和 Charm 生态系统(Bubbletea、Lipgloss)构建。<p>试用:npx @aitutor/cli@latest 或者:brew tap naorpeled/tap &amp;&amp; brew install aitutor<p>GitHub:https://github.com/naorpeled/aitutor<p>欢迎对课程内容提出反馈——缺少什么、有什么错误、你希望有人早点向你解释哪些概念。
查看原文
I built an interactive terminal tutorial that teaches AI coding concepts — context windows, tools, MCP, hooks, subagents, and more.<p>I use Claude Code, Cursor, and GitHub Copilot daily, and I kept noticing the same thing: most developers (myself included, at first) use these tools without really understanding how they work under the hood. What&#x27;s a context window? Why did the AI &quot;forget&quot; something? What does MCP actually do? Why do some prompts work better than others?<p>AITutor is like vimtutor for this stuff. 15 lessons across beginner&#x2F;intermediate&#x2F;advanced tiers, each with theory, an interactive ASCII visualization you can play with, and a quiz. It runs entirely in your terminal.<p>Built with Go and the Charm ecosystem (Bubbletea, Lipgloss).<p>Try it: npx @aitutor&#x2F;cli@latest Or: brew tap naorpeled&#x2F;tap &amp;&amp; brew install aitutor<p>GitHub: https:&#x2F;&#x2F;github.com&#x2F;naorpeled&#x2F;aitutor<p>Would love feedback on the curriculum — what&#x27;s missing, what&#x27;s wrong, what concepts you wish someone had explained to you earlier.