Loading...
Loading...
Use this when the user explicitly requests to "verify/optimize in-text citations of the `{topic}_review.tex` review" or to "run check-review-alignment". Use the host AI's semantic understanding to verify each citation against the literature content one by one. **Only when fatal citation errors are found**, make minimal rewrites to the "sentences containing citations", and reuse the rendering script of `systematic-literature-review` to output PDF/Word (the script does not directly call the LLM API locally). Core principle: **Do not modify for the sake of modifying**. When it is uncertain whether it is a fatal error, keep the original content and issue a warning in the report. ⚠️ Not applicable in the following cases: - The user only wants to generate the main body of a systematic review (should use systematic-literature-review) - The user only wants to add/verify BibTeX entries (should use a dedicated bib management process)
npx skill4agent add huangwb8/chineseresearchlatex check-review-alignment{topic}_review.tex.bibwork_dir{topic}_review.tex.bib--tex*_review.tex--tex{work_dir}/.check-review-alignment/ai_alignment_report.md{work_dir}/.check-review-alignment/ai_alignment_input.json{topic}_review.texwork_dir{topic}_review.pdf{topic}_review.docxwork_dir--prepare--rendersystematic-literature-review--rendersystematic-literature-review❌ Missing dependency: check-review-alignment relies on the systematic-literature-review skill for PDF/Word rendering. Please install the systematic-literature-review skill first.*_review.tex.bibwork_dir--texai_alignment_input.json# Enter the skill root directory (usually ~/.codex/skills/check-review-alignment or ~/.claude/skills/check-review-alignment after installation)
cd /path/to/check-review-alignment
python3 scripts/run_ai_alignment.py --work-dir "/path/to/work_dir" --prepare\cite{}\ref{}\label{}{work_dir}/.check-review-alignment/ai_alignment_report.md{title}{DOI}## Detailed Information
### Citation: [bibkey]
| Field | Content |
|------|------|
| Literature Title | {title} |
| DOI | {DOI or "No DOI"} |
| Original Content | {Original sentence containing the citation} |
| Actual Literature Content | {Actual paper content extracted from PDF/BibTeX} |
| Citation Rationality Evaluation | {Semantic consistency analysis} |
| Issue Level | P0 / P1 / P2 / No Issue |cd /path/to/check-review-alignment
python3 scripts/run_ai_alignment.py --work-dir "/path/to/work_dir" --renderfake_citationmissing_in_bib: truewrong_citationcontradictory_citationweak_supportoverclaimstyle_issue\cite{}check-review-alignment/config.yamlcitation_commandspdf.*render.*ai.input_limits.*ai_alignment_input.jsonai.modification.*ai_alignment_input.jsonai.modification.error_priorityai.modification.non_fatal_handlingai.paragraph_optimization.*cd /path/to/check-review-alignment
# 1) Generate structured input (Recommended)
python3 scripts/run_ai_alignment.py --work-dir "/path/to/work_dir" --prepare
# 2) The host AI completes verification and tex rewriting according to this SKILL.md workflow, and writes ai_alignment_report.md
# 3) Render PDF/Word
python3 scripts/run_ai_alignment.py --work-dir "/path/to/work_dir" --renderPyYAMLbibtexparserpdfplumberPyPDF2check-review-alignment/references/{work_dir}/.check-review-alignment/ai_alignment_report.md{work_dir}/.check-review-alignment/ai_alignment_input.json\cite{}| Principle | Description | Implementation |
|---|---|---|
| Deterministic Script Boundary | The script only performs parsing/extraction/rendering, no semantic judgment | The script does not call LLM API |
| Priority Classification | P0 Fix / P1 Warning / P2 Skip | |
| Do Not Modify When Unsure | Keep original content when uncertain | Workflow mandatory constraints + Warnings |
| Minimal Change | Only rewrite necessary sentences, no whole paragraph rewriting | |
| LaTeX Integrity | Retain all LaTeX command structures | |