视频教程¶
展示 linthis 功能的短视频演示。每集 15-20 秒。
第 1 集:快速开始¶
几秒钟内上手 linthis — 安装、运行首次检查、查看结果。
pip install linthis
linthis plugin add -g sample https://github.com/zhlinh/linthis-plugin-template
linthis hook install
linthis hook install --type agent
linthis -i src/
git add src/main.py
linthis -s
第 2 集:多语言支持¶
一条命令自动检测和检查 18+ 种编程语言。
linthis --lang python,rust,typescript
第 3 集:插件系统¶
通过插件系统在团队间共享和复用检查配置。
linthis plugin add -g sample https://github.com/zhlinh/linthis-plugin-template
linthis
第 4 集:AI 智能修复¶
让 AI 自动修复代码问题 — 修复前后对比。
linthis fix --ai --provider claude-cli
第 5 集:Git Hooks¶
配置一次,每次提交自动检查 — pre-commit 自动集成。
linthis hook install
linthis hook status
git commit -m "feat: 添加新功能"
第 6 集:AI Agent Hook¶
将 linthis 集成到 AI 编程助手中,实现自动化代码质量检查。
linthis hook install --type agent --provider claude
第 7 集:编辑器集成¶
支持 VS Code、JetBrains、Neovim 和 Claude Code — 边写边检查。
从源码构建视频¶
视频源代码位于 linthis-video/,使用 Remotion 构建。
cd linthis-video
npm install
# 浏览器预览
npx remotion studio
# 渲染所有视频
./render.sh
# 渲染指定集数/语言
./render.sh --episode 1 --lang zh