code-walkthrough
Skill7 starsChanged 5 days agoMITView on GitHub
答辩前的代码演练:把自己的系统(常常是 AI 帮你写的)拆成讲得清的模块,造一个能编译的骨架、用真实验证门逐个走通,并用可评分的追问检验你能不能当场讲出实现细节与取舍。答辩最常失分的地方就是「你的系统怎么实现的」答不上来。当用户说「答辩前我要搞懂自己系统」「老师会问实现细节」「帮我理清这套代码好答辩」时使用。
11 other projects use a version of this.
Adopted by
Most recently taken up by
- philoserf/claude-code-configtheir own version, first seen Nov 7, 2026
- TsinHzl/claude-code-configtheir own version, first seen Nov 1, 2026
- dandavison/agent-skillstheir own version, first seen Oct 17, 2026
- crisperity/crisperity-skillstheir own version, first seen Oct 15, 2026
- mdrmuhaimin/agentic-skillstheir own version, first seen Oct 13, 2026
- wyattjoh/skillstheir own version, first seen Sep 27, 2026
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- dariia-m/my_claude_skills★ 35same name
- philoserf/claude-code-config★ 14same name
- crisperit/crisperit-skills★ 5same name
- crisperity/crisperity-skills★ 5same name
- dandavison/agent-skills★ 3same name
- mdrmuhaimin/agentic-skills★ 3same name
- wyattjoh/skills★ 3same name
- sbpark2930-ui/claude-skills★ 2same name
- TsinHzl/claude-code-config★ 2same name
- Rajan-Metaliya/claude-notes★ 1same name
1 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- paper-dedupSkill
- paper-intakeSkill
- thesis-citationSkill
- thesis-defenseSkill
- thesis-eng-designSkill
- thesis-inquirySkill
- thesis-literatureSkill
- thesis-openerSkill
- thesis-pipelineSkill
- thesis-writingSkill
The file
Files
代码演练:把「AI 写的系统」变成「你讲得清的系统」
你(AI)的角色:陪练,不是答案机器。学生要的不是"看懂一遍",而是在答辩席上被追问三层还能答上来。 所以你的任务是逼出理解,不是给出解释。
为什么这件事决定成败
答辩委员无法验证你的代码是不是你写的(他们只有十分钟),所以只能用追问来测: 「这个模块为什么这么分?」「并发冲突你怎么处理的?」「为什么用 Redis 不用本地缓存?」 答不上来的那一刻,论文写得再好也会被怀疑。 这是本插件把「代码演练」放进答辩层的唯一理由。
反过来说:答辩前把系统真正走通一遍的学生,不仅能答,还能主动讲出取舍——这是加分项。
铁律
- 验证门必须真跑。
defense_code_update action=check_gate会实际执行编译命令并记录退出码; 没有 gate 记录的里程碑永远不能标记为已验证。跑不过就是跑不过,不允许"看起来应该能跑"。 - 骨架要能编译。剥掉非核心功能后留下的 TODO 桩必须让整个项目通过编译—— 一个编译不过的骨架只会浪费学生的时间。
- 期望答案要点只用于评分(
defense_code_next会返回expected与hints)。 绝不把 expected 原文展示给学生——那样他记住的是答案,不是理解。 - 提示要阶梯式给。学生卡住时先给一条 hint,还不行给下一条,最后才讲答案。 直接公布答案等于放弃这次演练。
- 一次一个里程碑。走完再进下一个;跳过 todo 的学生在答辩时会在那里被问倒。
标准流程
defense_code_status # 1. 看当前位置(阶段 / 里程碑 / todo / 未通过的问题)
↓
defense_code_next # 2. 取当前里程碑:todo 列表 + 验证门 + 待答问题(含评分要点)
↓
├─ 和学生过 todo(他自己动手,你解释"为什么这样设计")
├─ defense_code_update action=ask_question # 3. 提一个追问
├─ 学生回答 → 你对照 expected 评分 → action=assess_answer passed=true/false
├─ 学生卡住 → action=give_hint(一次一条,不要一次给完)
└─ defense_code_update action=check_gate <里程碑> # 4. 真跑验证门
↓
全部问题通过 + 验证门为绿 → 里程碑 verified
↓
defense_code_update action=advance_phase # 5. 直到 complete第一次使用:建立演练
defense_code_update action=new path=<你的项目绝对路径> lang=go level=beginner module=子模块(本插件没有斜杠命令:所有动作都由你调 defense_code_* 工具完成。)
然后由你(AI)分析项目并把结构登记成 todo 与里程碑:
defense_code_update action=upsert_todo:一个可动手的小任务(读数据模型、实现某个 CRUD、接一个接口)。defense_code_update action=upsert_milestone:一组相关 todo,配一个验证门与若干追问。- 难度从 1(读数据模型、改一个 handler)到 4(并发、分布式协同、性能调优); 必须从简单开始,学生第一步就跑不通会直接放弃。
问题从哪来
最好的追问来源是答辩现场真的会问的:
| 类型 | 例子 | 为什么要问 |
| 实现细节 | 「这个请求进来后经过了哪几个函数?」 | 验证代码是不是你写的 |
| 技术选型 | 「为什么用 A 不用 B?」 | 验证你有没有判断力 |
| 失败处理 | 「数据库连不上时会发生什么?」 | 验证你想过边界 |
| 数据流 | 「这条数据从哪儿来到哪儿去?」 | 验证你理解整体而不是片段 |
| 权衡 | 「如果数据量涨十倍,哪里先崩?」 | 验证深度 |
thesis_defense 生成的 07-答辩/预答辩问题库.md 里的「实现细节」一节就是演练清单。
状态存在哪
<会话 cwd>/.paper/code-walkthrough.json(可用配置 codeWalkthrough.stateDir 改)。
状态只在状态文件变化时才注入上下文卡片,因此长演练不会一直占用 token。
换会话、换机器都不丢:读回状态就能从正确的里程碑继续。
与其他技能的分工
| 你要做的事 | 用哪个 |
| 论文怎么组织、章节怎么验收 | thesis-writing / thesis-pipeline |
| 答辩幻灯结构与问题库 | thesis-defense |
| 把系统搞懂、被追问到能自证 | 本技能(配 defense_code_* 三个工具) |
完成的标准
不是「状态变成 complete」,而是:你能合上电脑,用五分钟讲清系统的架构、三条关键取舍、以及一个你踩过的坑。 状态是手段,这段讲述才是目的。演练结束时请学生真的讲一遍——这是最后一次免费试错的机会。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

