← ClaudeAtlas

latex-conference-template-organizerlisted

当用户要求"整理 LaTeX 会议模板"、"清理 .zip 模板File"、"准备 Overleaf 投稿模板",或提供会议模板 .zip File并提到需要整理/清理/预Process时使用此Skill
jessevanwyk1/claude-scholar · ★ 12 · Data & Documents · score 69
Install: claude install-skill jessevanwyk1/claude-scholar
# LaTeX 会议模板整理器 ## 概述 将混乱的会议 LaTeX 模板 .zip File整理成适合 Overleaf 投稿的干净模板结构。会议官方提供的模板通常Package含大量ExampleContent、说明Comment和混乱的File结构,本Skill将其Convert为可直接用于写作的模板。 ## 工作Pattern **分析后确认Pattern**:先分析问题并向用户展示,Wait确认后再Execute整理。 ## 完整Workflow程 ``` 接收 .zip File ↓ 1. 解压并分析File结构 ↓ 2. 识别主File和Dependency关系 ↓ 3. 诊断问题(向用户展��) ↓ 4. 询问会议Information(链接/Name) ↓ 5. Wait用户确认整理方案 ↓ 6. Execute整理,CreateOutputDirectory ↓ 7. Generate README(结合官网Information) ↓ 8. OutputComplete ``` ## Step 1:解压与分析 ### 解压File 将 .zip 解压到临时Directory: ```bash unzip -q template.zip -d /tmp/latex-template-temp cd /tmp/latex-template-temp find . -type f -name "*.tex" -o -name "*.sty" -o -name "*.cls" -o -name "*.bib" ``` ### 识别FileClass型 | FileClass型 | 用途 | |---------|------| | `.tex` | LaTeX 源File | | `.sty` / `.cls` | 样式File | | `.bib` | Reference文献Data库 | | `.pdf` / `.png` / `.jpg` | 图片File | ### 识别主File **常见主File名**: - `main.tex` - `paper.tex` - `document.tex` - `sample-sigconf.tex` - `template.tex` **识别Method**: 1. CheckFile名是否匹配常见Pattern 2. 搜索Package含 `\documentclass` 的File 3. 如果有多个候选,向用户确认 ```bash # 查找Package含 \documentclass 的File grep -l "\\documentclass" *.tex ``` ## Step 2:诊断问题 向用户展示发现的问题: ### File结构混乱 - 多级Directory嵌套 - .tex File散乱分布 - 不清楚主File是哪个 ### 冗余Content 检测以下Pattern并标记为需要清理: - File名Package含:`sample`, `example`, `demo`, `test` - CommentPackage含:`sample`, `example`, `template`, `delete this` ### Dependency问题 - 引用的 `.sty`/`.cls` File缺失 - 图片/表格引用PathError ## S