计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
latex-citation-reference-validator【效率与协作】Checks and fixes LaTeX paper drafts for citation and reference issues across multiple .tex files with a .bib bibliography file. Verifies that all \cite{}, \label{}, \ref{}, and \autoref{} commands work properly and cross-reference correctly across all files. Identifies broken, misnamed, or incorrect citations and references, then fixes them to use th…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
This skill validates and repairs LaTeX citation and reference integrity in a multi-file project. It systematically scans all .tex files and the .bib file to identify:
\cite{} commands referencing non-existent .bib entries.\cite{}, \ref{}, or \autoref{} with empty braces.\ref{} or \autoref{} commands pointing to non-existent \label{}s.fig:call-api-v0 vs. fig:call-api).The core logic is implemented in the bundled Python script validate_and_fix.py. You should primarily execute this script, which provides a deterministic, repeatable analysis and repair process.
Initial Exploration: First, understand the workspace structure. List the allowed directories and examine the directory tree to locate all .tex and .bib files.
Run the Validation Script: Execute the primary script /workspace/latex-citation-reference-validator/scripts/validate_and_fix.py. This script will:
.tex files in the workspace..bib file to extract all citation keys..tex files for \cite{}, \label{}, \ref{}, and \autoref{} commands..tex files in place.Review and Confirm: After the script runs, review its output summary. The summary will detail every file modified and the specific changes applied (e.g., "Fixed empty citation \citep{} -> \citep{brown2020language}"). You should verify that the fixes are correct and appropriate for the context of the paper.
Manual Verification (Optional): For complex projects or if you suspect edge cases, you may manually spot-check a few fixed locations in the .tex files to ensure the corrections are contextually accurate (e.g., the added citation key brown2020language is indeed the correct paper for the phrase "learn in-context").
CITATION_FIX_MAP in the script) to map common phrases to probable citation keys (e.g., "learn in-context" -> brown2020language, "SimCSE retriever" -> gao2021simcse). You must review these automatic fixes for accuracy. If the heuristic fails, you will need to manually determine and apply the correct citation key.fig:call-api-v0 will be corrected to fig:call-api. You must verify that the suggested correction is semantically correct (i.e., references the intended figure/table/section)..tex files within the /workspace directory. Ensure your target paper files are located there.Use this skill when the user request involves:
\ref{} commands in my paper."\cite{} commands match my .bib file.".tex and .bib.scripts/validate_and_fix.py: The main analysis and repair script. Run this.references/common_citations.md: A reference list of common NLP/ML paper citation keys and the contexts they typically appear in. Consult this if you need to manually determine a correct citation key not covered by the script's heuristics.