agentleFS
CandlestCandlest/exam-prep-skill/SKILL.md

exam-prep

Skill4 starsChanged 5 months agoMITView on GitHub

把一门大学课程的原始材料(课件/PDF/作业/往年题/录课转写)整理进独立 course repo 的可复习结构,并带用户一题一题过考点。适用于:期末复习、考前突击、一题一题练、材料入库(vision-OCR、转写抽口头重点)、错题重讲、cheat-sheet 汇总。本 skill 只含方法论,课程数据永远住在各自的 course repo 里。触发词:期末复习、考前突击、过考点、复习、出题、入库、抽重点、错题。

9 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

exam-prep

操作一个 course repo(一门课一个目录),三个模式:ingest(入库)、review(主模式:一题一题过考点)、cheat-sheet(汇总)。本 skill 不装任何课程数据;课程特有约定读 course repo 里的 AGENTS.md。

course repo 目录契约

course-<名>/
  raw/                # 原始文件。只读只增,永不修改
  md/                 # vision-OCR / 转写整理产出,一源文件一 md
    slides/  pdfs/  homework/  transcripts/
  distilled/          # agent 预处理产出。只新增
    重点.md            # 从转写抽出的口头强调,每条回指原文
    concept-map.md    # 概念依赖图,决定复习顺序
    homework-index.md # 题 → 考点映射
  exam/
    往年题/  错题.md    # 错题.md 由 review 模式追加
  AGENTS.md           # 极短:只写这门课特有约定,方法指向本 skill

目录不齐时按此契约补建;用户材料散放在别处时,先提议迁入 raw/(复制不移动,除非用户同意)。

三个模式

  • review(主模式):出一道题 → 用户作答 → 判对错 → grep 定位课程原文 → 用原文重讲,错了缩小步长换角度。读 references/review-loop.md。
  • ingest:raw/ → md/(vision-OCR 或转写整理),再构建 distilled/ 三件套;转写必须额外跑一次线性 emphasis pre-pass。读 references/ingestion.md;处理转写时再读 references/emphasis-extract.md。
  • cheat-sheet / 总复习汇总:基于 distilled/ + 错题.md 汇总。若环境中已安装专门的第三方 skill(如 cheatsheet-generator,产出 Overleaf 可编译的 LaTeX 小抄),优先调用它并把 distilled/ 产出作为其输入材料,不要重复实现;未安装时建议用户安装,或退化为普通 markdown 汇总。

硬纪律(任何模式都遵守)

  • raw/ 只读只增:永不修改、移动、重命名 raw/ 内已有文件。
  • distilled/ 只新增:不改写不删除已有条目;发现旧条目错误时新增更正条目并注明。
  • 每条抽取的重点/结论必须回指原文(文件路径:行号 或行号区间),方便核验。禁止脱离原文凭空生成。
  • 重讲用课程原文:给用户讲解时引用 md/ 里的原文段落(标注出处),不用模型自己的话替代教材措辞。
  • 强调信号的判定依据:重复出现;显式标记词("会考/重点/注意/记住/必考"等);转写若保留音频线索则含停顿与语速。核心是抽"老师说的重点",不是"PPT 写的重点"。

技术约束(刻意选择,不要"优化"掉)

  • 不用 embedding / 向量库 / 复杂 RAG。单课程几千页量级,直接 grep/read 文件系统。
  • 结构化材料(PPT/PDF/作业/往年题)lazy 处理:复习时现 grep 现读。转写 eager 处理:入库时必须线性读完整份,抽口头重点——按需 grep 会漏掉没有名字、不显著的随口考点。
  • OCR 必须用 vision 类文档解析模型转 markdown+LaTeX(默认走 PaddleOCR-VL 云端 API,scripts/ocr_pdf.py)。公式课程用传统 OCR 会毁掉重点定位。ASR 由外部云服务(通义听悟/Whisper)完成,本 skill 只约定产出格式。

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.