DL

devenjarvis/lathe

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

1709 stars 质量 73 趋势 39MIT

按需生成动手操作的多部分技术教程,结合LLM技能,使内容更易接近。然后你自己动手✋完成

概览

这是一个用大型语言模型来教你,而不是替你思考的实验。 Lathe会按需生成动手操作的多部分技术教程,技能经过调整,使内容更易上手。然后你自己在本地UI中手工完成,体验愉快的学习体验。(就像我们石器时代😎一样) - 从任意提示生成动手技术教程(单部分或多部分系列) - 在专门构建的本地界面中自行完成教程 - 运用技能提问、验证教程并添加新部分 - 从你的图书馆中搜索、筛选和管理教程 - 每个教程都会记录其来源、使用的模型以及驱动教程“声音”的提示 车床结合了大型语言模型技能和用于存储、管理和查看生成教程的Golang CLI。

概述(AI 翻译)

这是一个用大型语言模型来教你,而不是替你思考的实验。

Lathe会按需生成动手操作的多部分技术教程,技能经过调整,使内容更易上手。然后你自己在本地UI中手工完成,体验愉快的学习体验。(就像我们石器时代😎一样)

怎么了?

  • 从任意提示生成动手技术教程(单部分或多部分系列)
  • 在专门构建的本地界面中自行完成教程
  • 利用技能提问、验证教程,并添加新零件进行扩展
  • 从你的图书馆中搜索、筛选和管理教程
  • 每个教程都记录其来源、使用的模型以及驱动教程“语音”的提示

快速开始

车床结合了LLM技能和用于存储、管理和查看生成教程的Golang CLI。安装完成(如下图)后,你可以在任何编码代理(支持Claude Code、Cursor、Codex、Gemini CLI、opencode、Cline和Windsurf)内生成教程,方法如下:

然后从任意端子打开车床:

别担心,我们还有暗黑模式:

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Lathe

An experiment in using LLMs to teach you, rather than think for you.

Lathe generates hands-on, multi-part technical tutorials on demand, with skills tuned to make content approachable. Then you work through them yourself, by hand, in a local UI built from the ground up for pleasant learning. (Just like we did it in the stone age 😎)

What is it?

  • Generate hands-on technical tutorials (single-part or a multi-part series) from any prompt
  • Work through the tutorial yourself in a purpose-built local UI
  • Use skills to ask questions, verify the tutorial, and extend it with a new part
  • Search, filter, and manage tutorials from your library
  • Every tutorial documents its sources, which model was used, and what prompt drove the “voice” for the tutorial

Quick start

Lathe is a combination of LLM skills and a Golang CLI used to store, manage, and view generated tutorials. After install (below), you can generate a tutorial inside any coding agent (Claude Code, Cursor, Codex, Gemini CLI, opencode, Cline, and Windsurf supported) by prompting something like:

/lathe build a 3D Slicer in Erlang

Then open lathe from any terminal:

lathe serve              # starts the web server, opens the browser

Don’t worry, we also have dark mode:

Click the tutorial you want to read and start learning!

The CLI has a bunch of other commands, but honestly those were built to give the LLM a deterministic way to manage tutorials. I expect the above to be all you need (it’s all I ever use) for day-to-day. If you want to ask a question about a tutorial, have the LLM verify it, or extend it with an additional part, the UI has affordances for each of these.

There are two ways those buttons work:

  • Live mode (no copy-paste): run /lathe-work once in your coding agent while lathe serve is running. That starts a small worker loop, the Ask drawer shows “● agent connected”, and the Ask / Verify this tutorial / Add a part buttons drive the work directly in that session — the answer renders right in the reader, verify and extend update in place. Works in any supported agent. Stop the loop any time; the buttons just revert to copy-paste.
  • Copy-paste fallback (no worker connected): each button hands you the exact /lathe-* command to paste into your LLM to trigger the action.

Either way the model work runs in your interactive agent session — the binary never drives a model itself.

Install

Lathe is a single self-contained binary. All you need is lathe on your $PATH; the

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add devenjarvis/lathe
新手?先看 mcpskill.org 教程 →