← スキル一覧に戻る

whiteboard-to-latex
by mikessslx
⭐ 1🍴 0📅 2026年1月22日
SKILL.md
name: whiteboard_to_latex description: Extracts content from a whiteboard image, converts it to academic LaTeX matching the user's existing note style, and saves it. Use when the user provides a whiteboard image requiring conversion to LaTeX notes.
Whiteboard to LaTeX Conversion
This skill converts whiteboard images into LaTeX notes that seamlessly integrate with the user's current notebook.
Core Resources
- Style Guide:
references/style_guide.md- Strictly defines the valid environments and structure. - Template:
assets/note_template.tex- Standard note structure with all allowed environments. - Script:
scripts/update_main_index.py- Automatically ensures the new note is included in the main document.
Workflow
1. Preparation
- Context Check: Confirm the user has created the target file (e.g.,
L/L26.tex) with the basic\section{Notes X...}header. If not, ask them to, or do it if explicitly requested. - Style Loading: Read
references/style_guide.mdto load the allowed theorem environments and formatting rules into context. Do not hallucinate new environments. - Template Reference: Optionally review
assets/note_template.texfor standard environment usage patterns and formatting examples.
2. Vision & Transcription
- Analyze Image:
- Identify headers, main theorems, proofs, and examples.
- Transcribe text verbatim.
- Convert math to standard LaTeX.
- Construct Content:
- Use the environments from the Style Guide (
theorem,definition,remark, etc.). - Important: Follow the Proof Handling rule in the style guide (e.g., comment out proofs if required).
- Fragments Only: Do NOT write
\documentclassor preamble. Only write the content body.
- Use the environments from the Style Guide (
3. File Writing
Use replace_file_content (or write_to_file if overwriting) to populate the target L/LX.tex (or T/TX.tex) file.
4. Integration & Verification
- Update Index:
- Run
scripts/update_main_index.pyto ensure the new file is\inputinODE.tex. -
./.agent/skills/whiteboard_to_latex/scripts/update_main_index.py L # Or ./.agent/skills/whiteboard_to_latex/scripts/update_main_index.py T
- Run
- Verify:
- Check if the file content looks correct (balanced braces, correct environments).
- Report back to the user: "Populated Notes X. Added to ODE.tex."
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です