Loading...
Loading...
Compare original and translation side by side
Step 0: 扫描项目目录 ──→ 检测当前进度,决定从哪里开始
Step 1: 读取/创建 introduction.md ──→ 了解受众
Step 2: 梳理知识点清单 ──→ 输出 knowledge-points.md
Step 3: 用户确认知识点 ──→ ⛔ 未确认前不得生成大纲
Step 4: 生成 syllabus.md ──→ 将知识点组织为课程大纲
Step 5: 用户确认大纲 ──→ ⛔ 未确认前不得编写具体内容
Step 6: 逐节编写讲义 + 项目 ──→ 产出课程内容
Step 7: 全面自查与代码验证 ──→ 确保正确性与质量
Step 8: 生成 README + 配图 ──→ 课程整体包装Step 0: Scan project directory ──→ Detect current progress and determine where to start
Step 1: Read/Create introduction.md ──→ Understand the audience
Step 2: Organize knowledge point list ──→ Output knowledge-points.md
Step 3: User confirms knowledge points ──→ ⛔ Do not generate the syllabus until confirmed
Step 4: Generate syllabus.md ──→ Organize knowledge points into a course syllabus
Step 5: User confirms the syllabus ──→ ⛔ Do not write specific content until confirmed
Step 6: Write lectures + projects section by section ──→ Produce course content
Step 7: Comprehensive self-check and code validation ──→ Ensure correctness and quality
Step 8: Generate README + illustrations ──→ Overall packaging of the course| 优先级 | 已有文件 / 状态 | 跳转到 |
|---|---|---|
| 5 | 所有 | Step 7 |
| 4 | 有 | Step 6(继续编写未完成的课节) |
| 3 | 有 | Step 5 |
| 2 | 有 | Step 3 |
| 1 | 有 | Step 2 |
| 0 | 目录为空,无任何课程文件 | Step 1 |
| Priority | Existing Files / Status | Jump to |
|---|---|---|
| 5 | All | Step 7 |
| 4 | Some | Step 6 (continue writing unfinished sections) |
| 3 | | Step 5 |
| 2 | | Step 3 |
| 1 | | Step 2 |
| 0 | The directory is empty with no course files | Step 1 |
introduction.mdintroduction.mdintroduction.mdintroduction.mdintroduction.mdknowledge-points.mdintroduction.mdknowledge-points.mdsyllabus.mdundefinedsyllabus.mdundefinedundefinedundefinedlesson{i}/lecture.mdproject.mdproject.mdsrc/project.mdlesson*/syllabus.mdlesson{i}/lecture.mdproject.mdproject.mdsrc/project.mdlesson*/syllabus.mdanswer/test/lesson1/
├── lecture.md
├── project.md
├── answer/ ← 完整参考实现,自己写并验证通过
│ └── main.py
└── test/ ← 测试代码(如有需要)
└── test_main.pyanswer/test/lesson1/
├── lecture.md
├── project.md
├── answer/ ← Complete reference implementation, written and verified by yourself
│ └── main.py
└── test/ ← Test code (if needed)
└── test_main.pyREADME.mdlesson{i}/cover.pngREADME.mdlesson{i}/cover.pngundefinedundefinedpip install ...pip install ...undefinedundefinedundefinedundefinedundefinedundefined</details></details>undefinedundefined| 错误 | 修正 |
|---|---|
| 跳过大纲确认直接写内容 | 先输出 syllabus.md,等用户确认 |
| 讲义堆砌概念,一章讲太多 | 每节 2-3 个核心概念,够用就停 |
| 项目和讲义脱节 | 项目必须直接运用本节核心知识点 |
| 项目只给最终代码没有过程 | 拆成多个 Task,逐步引导 |
| 项目没有脚手架从零开始 | 提供起始代码框架,降低启动门槛 |
| 代码不完整无法运行 | 含完整 import、依赖安装和环境说明 |
| 跳过自查直接交付 | Step 7 必须执行,亲自跑通每个项目代码 |
| README 缺失或配图未询问用户 | 先生成 README,再明确询问是否需要配图 |
| Mistake | Correction |
|---|---|
| Skipping syllabus confirmation and directly writing content | First output syllabus.md and wait for user confirmation |
| Lectures overstuff concepts, covering too much in one chapter | Focus on 2-3 core concepts per session, stop when enough |
| Projects are disconnected from lectures | Projects must directly apply the core knowledge points of this session |
| Projects only provide final code without process guidance | Split into multiple tasks and guide step by step |
| Projects start from scratch without scaffolding | Provide initial code framework to lower the entry barrier |
| Incomplete code that cannot run | Include complete imports, dependency installation, and environment instructions |
| Skipping self-check and delivering directly | Step 7 must be executed, run through each project code personally |
| Missing README or not asking the user about illustrations | Generate README first, then explicitly ask whether illustrations are needed |