latex-conference-template-organizer
它能做什么
这项技能用于整理以压缩包形式提供的杂乱会议论文官方模板,删除示例内容并理顺文件。适合希望拥有干净写作起点的作者。
适用场景
- ✓当你手里有大量示例内容的会议 LaTeX 模板压缩包时。
- ✓当你希望模板可以直接用于 Overleaf 投稿的时候。
- ✓当你想要一份解释整理后模板的 README 时。
技能链接
https://github.com/Galaxy-Dawn/claude-scholar/blob/main/skills/latex-conference-template-organizer/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请整理这个会议 LaTeX 模板压缩包,让我能在 Overleaf 中开始写作。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会解压压缩包,找出主文件及其依赖,列出存在的问题;在你确认方案后,再创建一个整理好的输出文件夹。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
LaTeX Conference Template Organizer
Overview
Transform messy conference LaTeX template .zip files into clean, Overleaf-ready submission templates. Official conference templates often contain excessive example content, instructional comments, and disorganized file structures. This skill converts them into templates ready for writing.
Working Mode
Analyze-then-confirm mode: First analyze issues and present them to the user, then execute cleanup after confirmation.
Complete Workflow
Receive .zip file
↓
1. Extract and analyze file structure
↓
2. Identify main file and dependencies
↓
3. Diagnose issues (present to user)
↓
4. Ask for conference info (link/name)
↓
5. Wait for user confirmation of cleanup plan
↓
6. Execute cleanup, create output directory
↓
7. Generate README (with official website info)
↓
8. Output complete
Step 1: Extract and Analyze
Extract Files
Extract .zip to a temporary directory:
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"
Identify File Types
| File Type | Purpose |
|---|---|
.tex |
LaTeX source files |
.sty / .cls |
Style files |
.bib |
Bibliography database |
.pdf / .png / .jpg |
Image files |
Identify Main File
Common main file names:
main.texpaper.texdocument.texsample-sigconf.textemplate.tex
Identification methods:
- Check if filename matches common patterns
- Search for files containing
\documentclass - If multiple candidates exist, ask user to confirm
# Find files containing \documentclass
grep -l "\\documentclass" *.tex
Step 2: Diagnose Issues
Present discovered issues to the user:
Disorganized File Structure
- Multi-level directory nesting
- .tex files scattered across directories
- Unclear which file is the main file
Redundant Content
Detect the following patterns and flag for cleanup:
- Filenames containing:
sample,example,demo,test - Comments containing:
sample,example,template,delete this
Dependency Issues
- Referenced
.sty/.clsfiles missing - Image/table reference paths incorrect
Step 3: Ask for Conference Information
Ask the user for the following information:
Please provide the following information (optional):
1. **Conference submission link** (recommended): Used to extract official submission requirements
2. **Conference name**: If no link available
3. **Other special requirements**: Such as page limits, anonymity requirements, etc.
Step 4: Present Cleanup Plan
Present the cleanup plan to the user and wait for confirmation:
## Cleanup Plan
### Issues Found
- [List diagnosed issues]
### Cleanup Approach
1. Main file: main.tex (clean example content)
2. Section separation: text/ directory
3. Resource directories: figures/, tables/, styles/
### Output Structure
[Show output directory structure]
Confirm execution? [Y/n]
Step 5: Execute Cleanup
Create Output Directory Structure
mkdir -p output/{text,figures,tables,styles}
Clean Up Main File (main.tex)
Keep:
\documentclassdeclaration- Required package imports
- Core configuration (e.g., anonymous mode)
Remove:
- Example section content
- Verbose instructional comments
- Example author/title information
Add:
- Import sections with
\input{text/XX-section}
Example main.tex structure (ACM template standard format):
\documentclass[...]{...} % Keep original template document class
% Required packages (keep original template package declarations)
%% ============================================================================
%% Preamble: Before \begin{document}
%% ============================================================================
%% Title and author information
\title{Your Paper Title}
\author{Author Name}
\affiliation{...}
%% Abstract (in preamble, before \maketitle)
\begin{abstract}
% TODO: Write abstract content
\end{abstract}
%% CCS Concepts and Keywords (in preamble)
\begin{CCSXML}
<ccs2012>
<concept>
<concept_id>10010405.10010444.10010447</concept_id>
<concept_desc>Applied computing~...</concept_desc>
<concept_significance>500</concept_significance>
</concept>
</ccs2012>
\end{CCSXML}
\ccsdesc[500]{Applied computing~...}
\keywords{keyword1, keywo
常见问题
它会不经询问就修改文件吗?
不会。它会先列出问题,等你确认后才开始整理。
它会询问会议信息吗?
会。它会请你提供会议链接或名称,以确保 README 内容准确。
它能处理哪些文件类型?
它可以处理 LaTeX 源文件、样式文件、类文件、参考文献文件和图片。
详情
作者的原始描述
Organize messy conference LaTeX template .zip files into clean Overleaf-ready structure. Use when the user asks to "organize LaTeX template", "clean up .zip template", or "prepare Overleaf submission template".
热度
- GitHub 星标
- 6.0k
- 排名
- #14489
- 许可证
- MIT
- 更新时间
- 2026/10/19
评论
- …
同一仓库的更多技能
agent-identifier
6.0k教你的智能体创建 Claude Code 智能体,正确编写其名称、触发描述、系统提示词和设置。
architecture-design
6.0k教你的智能体掌握机器学习项目代码的标准结构,在添加可注册组件时使用工厂和注册表模式。
bug-detective
6.0k帮你的智能体用清晰的方法找出并修复代码错误:先理解问题,收集证据,验证想法,再确认修复结果。
citation-verification
6.0k教你的智能体对照可信的学术来源检查论文中的每条引用,找出虚假或错误的参考文献。