跳到正文
Skillpedia
写作6.0k · #14489

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/Galaxy-Dawn/claude-scholar/blob/main/skills/latex-conference-template-organizer/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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.tex
  • paper.tex
  • document.tex
  • sample-sigconf.tex
  • template.tex

Identification methods:

  1. Check if filename matches common patterns
  2. Search for files containing \documentclass
  3. 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/.cls files 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:

  • \documentclass declaration
  • 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".

repo: Galaxy-Dawn/claude-scholar

热度

GitHub 星标
6.0k
排名
#14489
许可证
MIT
更新时间
2026/10/19

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能