一键导入
compile-latex
Compile the LaTeX research paper with latexmk. Use when compiling the draft after making changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Compile the LaTeX research paper with latexmk. Use when compiling the draft after making changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Search for published papers that justify a specific methodological decision. Returns precedents diversified across empirical domains, with top papers read in full via PDF.
Build the "Related Literature" section by mapping each literature stream and drafting its contribution paragraph, using Semantic Scholar. Proposes the streams with you first, then searches per stream and reads 1-2 anchor papers in full.
Stage and commit changes, grouped into logical commits (e.g. writing vs. code). Optionally push with the "push" flag.
Challenge the paper's arguments, methodology, and framing with 5-7 specific critical questions. Identifies weaknesses before reviewers do.
Check that all dependencies required to run this template are installed. Verifies R, LaTeX, required packages, and runs a full smoke test of the pipeline.
Validate bibliography entries against citations in all paper sections. Find missing entries and unused references.
| name | compile-latex |
| description | Compile the LaTeX research paper with latexmk. Use when compiling the draft after making changes. |
| disable-model-invocation | true |
| argument-hint | [optional: specific .tex file, defaults to main.tex] |
Compile the research paper using latexmk with full citation resolution.
cd draft
latexmk -pdf -interaction=nonstopmode main.tex 2>&1 | tail -30
If $ARGUMENTS specifies a different file:
cd draft
latexmk -pdf -interaction=nonstopmode $ARGUMENTS 2>&1 | tail -30
Check for warnings:
Overfull \\hbox warningsundefined citations or Label(s) may have changedOpen the PDF for visual verification:
open draft/main.pdf
Report results:
latexmk automatically determines how many compilation passes are needed (including bibtex/biber) and runs them all. No need to manually run 3 passes.
draft/ directory where main.tex lives.log file for detailed error messages