将 Claude Code 作为你的学习环境中的代理导师使用
Use Claude Code as an agentic tutor in your learning environment
作者给 Claude Code 赋予了导师角色,并提供了 CLAUDE.md 指令,以便它能解释概念并与他的学习环境互动.
做了什么
The author gave Claude his old SQL pipeline blog post and gists, then had it write a CLAUDE.md telling it to teach him dbt instead of just migrating the code. Claude explained concepts, gave skeletons for him to fill in, and ran installs and diagnostics. He stepped in whenever it started building things itself.
效果如何
He learned dbt by migrating his pipeline and called it great. Claude kept jumping ahead to build things, suggested shortcuts like SELECT *, and invented column values until challenged. He let it write the Dagster Python.
值得注意
Expect to keep correcting Claude's urge to just do the work. The author also notes it can mislead, so check its claims, especially on newer or niche technology.
试试这个 Prompt
Act as my tutor for [subject, e.g. Rust or linear algebra] inside this project folder. First write a CLAUDE.md that says: explain concepts at [my level], ask me questions before giving answers, and use the files, notebooks and exercises in this folder as teaching material. Then read the folder and start with a short lesson on [first topic] followed by one exercise for me. Don't change or delete my files without asking me first.