What problem does it solve?
Academic manuscripts often reach the compilation stage with missing sections, absent citations, or bodies far too short for the requested page count, wasting compile cycles and producing failed deliverables. This Skill runs a deterministic pre-compile audit of the workspace LaTeX artifact so structural problems are caught and repaired before compilation.
Core Features & Use Cases
- Artifact-backed manuscript validation: Resolves MANUSCRIPT_PATH inside the active workspace, rejects path escapes, empty files, non-.tex targets, and files over the 5 MB safety limit.
- Structural and citation checks: Verifies \documentclass, document environment, abstract, six required sections (English and Chinese aliases), and the presence of LaTeX citation keys.
- Target-aware length floor: Computes language-aware content units (English words or CJK characters) scaled by TARGET_PAGES, detects repeated prose and TeX constructs that could hide counted text, and reports pass/warn/block verdicts.
- Use Case: Before compiling a four-page research paper, run the gate on the manuscript manifest; if the introduction section is missing or the body is below the readiness floor, the gate blocks compilation and reports exactly what to fix.
Quick Start
Run the paper length gate on the current manuscript manifest to verify the LaTeX artifact is structurally complete and long enough before compiling the PDF.