본문으로 건너뛰기
cccskills
무료GitHub에 공개

scholar-latex-organizer

Organize messy conference LaTeX template .zip files into clean Overleaf-ready structure. Extracts, analyzes, cleans up, and generates README with submission requirements. Triggers on "organize LaTeX template", "clean up template", "prepare Overleaf template", "整理LaTeX模板".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

실행 점수 미검증

설치 방법 보기

포함된 파일(4)

  • SKILL.md7.8 KB
  • phases/01-extract-analyze.md7.4 KB
  • phases/02-cleanup-organize.md13.4 KB
  • phases/03-readme-finalize.md10.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Scholar LaTeX Organizer

Transform messy conference LaTeX template .zip files into clean, Overleaf-ready submission templates. Official templates often contain excessive examples and disorganized files — this skill converts them into templates ready for writing.

Pre-load (before execution)

  1. Codebase docs: If .workflow/codebase/ARCHITECTURE.md exists, read for project context
  2. Specs: maestro load --type spec --category coding — load coding conventions
  3. Wiki knowledge: maestro search "academic writing research paper" --json — top 5 entries as prior context
  4. All optional — proceed without if unavailable

Architecture Overview

User: "Organize this LaTeX template"
         |
         v
┌──────────────────────────────────────────────────────────────┐
│  SKILL.md (Orchestrator)                                      │
│  Collect preferences → Dispatch phases → Track progress       │
└──────────┬───────────────────────────────────────────────────┘
           |
   ┌───────┼───────────┬──────────────┐
   v       v           v              v
┌──────┐┌──────────┐┌──────────────┐
│ P1   ││ P2       ││ P3           │
│Extract││ Cleanup  ││ README &     │
│ &    ││ &        ││ Finalize     │
│Analyze││ Organize ││              │
└──┬───┘└────┬─────┘└──────┬───────┘
   │         │             │
   v         v             v
 analysis   clean        output/
 + plan     structure    (Overleaf-ready)

Key Design Principles

  1. Analyze-then-confirm: First present findings, then execute after user approval.
  2. Preserve template integrity: Keep all .sty/.cls files unchanged — only clean up .tex content.
  3. Section separation: Split monolithic main.tex into modular text/ files.
  4. Conference-aware: Detect document class and apply conference-specific configurations.

Interactive Preference Collection

Before dispatching to any phase, collect these preferences:

Questions to ask the user:

1. Template Source
   "Where is the template .zip file? (path)"
   → templatePath

2. Conference Info
   "Conference name or submission page URL (for extracting requirements)"
   → conferenceInfo

3. Output Directory
   "Where should the organized template go? (default: ./output/)"
   → outputDir

4. Section Structure
   Options: Standard (intro/related/method/experiments/conclusion) | Custom
   → sectionStructure

Store responses as organizerPreferences context for all phases.

Auto Mode Defaults

When workflowPreferences.autoYes === true:

  • Use .zip file from cwd or recent downloads
  • Standard section structure
  • Output to ./output/
  • Auto-detect conference from template
  • Skip confirmation prompts

Execution Flow

COMPACT DIRECTIVE: Context compression MUST check TodoWrite phase status. The phase currently marked in_progress is the active execution phase — preserve its FULL content. Only compress phases marked completed or pending.

TodoWrite Setup

LaTeX Template Organization:
- [ ] Phase 1: Extract & Analyze — extract zip, identify files, diagnose issues
- [ ] Phase 2: Cleanup & Organize — create structure, clean main.tex, copy assets
- [ ] Phase 3: README & Finalize — generate README, verify compilation

Phase Sequence

Phase 1: Extract & Analyze
   └─ Ref: phases/01-extract-analyze.md
      ├─ Input: templatePath, conferenceInfo
      └─ Output: analysisResult (file inventory, main file, issues, conference type)

Phase 2: Cleanup & Organize
   └─ Ref: phases/02-cleanup-organize.md
      ├─ Input: analysisResult, sectionStructure, outputDir
      └─ Output: organized template in outputDir/

Phase 3: README & Finalize
   └─ Ref: phases/03-readme-finalize.md
      ├─ Input: analysisResult, conferenceInfo, outputDir
      └─ Output: README.md + final verification

Phase Reference Documents (read on-demand when phase executes):

PhaseDocumentPurposeCompact
1phases/01-extract-analyze.mdExtract and analyze templateTodoWrite driven
2phases/02-cleanup-organize.mdClean up and restructureTodoWrite driven + sentinel
3phases/03-readme-finalize.mdGenerate README, finalizeTodoWrite driven

Compact Rules:

  1. TodoWrite in_progress → preserve full content, do not compress
  2. TodoWrite completed → may compress to summary
  3. sentinel fallback → phases marked with sentinel contain compact sentinel; if only sentinel remains, must immediately Read() to recover

Core Rules

  1. Never modify .sty/.cls files: Style files are sacred — copy as-is.
  2. Present plan before executing: Show cleanup plan and wait for user confirmation.
  3. Keep Overleaf-compatible: Empty directories need placeholder files (Overleaf auto-deletes empty dirs).
  4. Preserve compilation: The output must compile without errors using the detected compiler.
  5. Conference-specific configs: Apply correct anonymous/review mode settings per conference.

Common Conference Templates

ConferenceDocument ClassKey Config
KDD (ACM)acmartnonacm option for anonymous submission
ACM Conferencesacmartanonymous,review options
CVPR/ICCVcvprTwo-column, strict page limits
NeurIPSneurips_20XXAnonymous review
ICLRiclr20XX_conferenceTwo-column
AAAIaaaiXXTwo-column, 8 pages + refs

Data Flow

Phase 1 ──analysisResult──→ Phase 2
Phase 1 ──analysisResult──→ Phase 3

Output structure:
  outputDir/
  ├── main.tex              (cleaned main file)
  ├── text/                 (section files)
  │   ├── 01-introduction.tex
  │   ├── 02-related-work.tex
  │   ├── 03-method.tex
  │   ├── 04-experiments.tex
  │   └── 05-conclusion.tex
  ├── figures/              (image files)
  ├── tables/               (table files + example)
  ├── styles/               (.sty/.cls files)
  ├── references.bib        (bibliography)
  └── README.md             (usage guide)

Error Handling

ErrorAction
Zip extraction failsCheck file integrity, ask user to re-download
Main file not identifiableList all .tex files, ask user to choose
Missing dependency (.sty/.cls)Warn user, suggest CTAN download
Conference info unavailableFall back to template comments + documentclass detection
Compilation fails after cleanupRevert to minimal cleanup, report what needs manual fix

Related Skills

  • scholar-writing: Phase 6 (Conference Formatting) uses organized templates
  • scholar-publish: Uses templates for camera-ready preparation

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

maestro

무료

Intent-to-chain planner over the canonical Session/Run lifecycle

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

catlog22/maestro-flow5682026년 10월 15일 업데이트

Quick execution for small tasks — minimal run lifecycle (start + done) with evidence recording. Full LLM capability, scoped to mechanically clear tasks.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

catlog22/maestro-flow5682026년 10월 15일 업데이트

Create or sync session worktree for parallel dev

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

catlog22/maestro-flow5682026년 10월 15일 업데이트

Manage editing boundary restrictions

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

catlog22/maestro-flow5682026년 10월 15일 업데이트

Maestro Flow 命令帮助系统。搜索命令、浏览技能、工作流推荐、新手引导。Triggers on "maestro-help", "帮助", "命令", "怎么用", "skill", "workflow", "maestro 怎么用".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

catlog22/maestro-flow5682026년 10월 15일 업데이트

Use when designing, reviewing, refining, fixing, or codifying frontend UI with Maestro's self-contained Impeccable core

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

catlog22/maestro-flow5682026년 10월 15일 업데이트

catlog22의 스킬 모두 보기

이 스킬의 문제 신고