跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
其他技能

cheatsheet

Generate a high-density A4 cheat sheet for open-book exams. Two output paths: LaTeX (XeLaTeX) or self-contained HTML with CSS print layout. Both paths produce visually consistent results.

WALKERKILLER · 已有静态检查记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add WALKERKILLER/Look-Tongji-Notes --skill cheatsheet

技能说明


name: cheatsheet description: "Generate a high-density A4 cheat sheet for open-book exams. Two output paths: LaTeX (XeLaTeX) or self-contained HTML with CSS print layout. Both paths produce visually consistent results." license: MIT metadata: author: WALKERKILLER version: "1.1"

Cheatsheet

Generate exam cheat sheets from course lecture notes.

When to Use

  • User says /cheatsheet or asks for an exam cheat sheet.
  • After lecture notes have been written for relevant sessions.

Workflow

  1. Check environment:
python "<SKILL_DIR>/../../scripts/look_tongji.py" cheatsheet --format html
  1. The agent reads course notes and produces content organized into sections.
  2. Two output paths:

Path A — LaTeX (XeLaTeX available)

Uses <SKILL_DIR>/../../.mock-wiki/CheatingSheetTemplate/CheatingSheet.tex.

  • 4 columns, 5pt body, A4 paper
  • Compile: xelatex -interaction=nonstopmode cheatsheet.tex

Path B — HTML (no XeLaTeX)

Self-contained HTML with CSS print layout.

  • Same 4-column, 5pt typography
  • Print to A4 PDF from browser

Prompt Template

Read <SKILL_DIR>/../../.mock-wiki/CheatingSheetTemplate/README.md for the generation prompt and typographic specification.

Where <SKILL_DIR> Points

<SKILL_DIR> is the directory containing this SKILL.md. Shared scripts (look_tongji.py, timeline_tools.py, tongji_backend/) and references live two levels up in the repository root (<SKILL_DIR>/../../scripts/ and <SKILL_DIR>/../../references/).