This skill provides comprehensive tools for academic review writing and formatting, specifically optimized for Chinese academic standards. It automates reference checking, format validation, document generation, and quality control processes to help researchers produce compliant, professional academic papers efficiently.
Use this skill when:
This skill provides ten functional modules accessible through scripts in the scripts/ directory:
Script: literature_integrity_checker.py
Purpose: Comprehensive validation of reference integrity and citation consistency
What it checks:
Critical Feature: Returns non-zero exit code on critical errors, preventing submission with errors
Auto-Open Feature 🆕 NEW: Automatically opens the final Word document ( your_review_上标版.docx) after successful check (no critical issues)
Usage: bash
# Standard check with auto-open enabled (default)
python scripts/literature_integrity_checker.py your_review.md
# With deep verification
python scripts/literature_integrity_checker.py your_review.md --deep-check
# Disable auto-open
python scripts/literature_integrity_checker.py your_review.md --no-auto-open
Output: your_review_literature_integrity_report.md
Note: When check passes (no critical issues), the script automatically searches for and opens your_review_上标版.docx or your_review.docx
Script: unified_checker.py
Purpose: Run all checks at once in a single operation
What it does:
Usage: bash
python scripts/unified_checker.py your_review.md
Output: your_review_unified_report.md
Script: reference_formatter.py
Purpose: Validate and format reference citations and bibliography
What it checks:
Configuration: Edit templates/ref_format_default.yml for custom rules
Usage: bash
python scripts/reference_formatter.py your_review.md
python scripts/reference_formatter.py your_review.md custom_config.yml
Script: typo_grammar_checker.py
Purpose: Detect common typos, grammar errors, punctuation issues
What it checks:
Usage: bash
python scripts/typo_grammar_checker.py your_review.md
Script: reference_accuracy_checker.py
Purpose: Verify citation validity and reference integrity
What it checks:
Usage: bash
python scripts/reference_accuracy_checker.py your_review.md
Script: document_format_checker.py
Purpose: Validate document structure and formatting
What it checks:
Usage: bash
python scripts/document_format_checker.py your_review.md
Script: filter_references.py
Purpose: Filter references based on journal quality lists
What it does: Identifies and removes references from non-core journals
Setup required: Edit the script's journal lists before running
Usage: bash
python scripts/filter_references.py
Script: extract_and_fix_references.py
Purpose: Renumber references and update all citations in text
What it does:
Warning: Directly modifies the source file—backup first
Usage: bash
python scripts/extract_and_fix_references.py
Script: create_word_doc_v3.js (Node.js)
Purpose: Generate Word documents with Chinese academic formatting
What it produces:
Requirements: Node.js 14+, docx npm package
Usage: bash
node scripts/create_word_doc_v3.js
Script: create_word_with_superscript.js (Node.js)
Purpose: Generate Word documents with superscript reference citations (右上标格式)
Important: Citation format is [n] (with brackets) in superscript - e.g., [1], [2-3]
Features:
[¹], [²⁻³]What it produces:
[¹], [²⁻³]Requirements: Node.js 14+, docx npm package
Usage: bash
node scripts/create_word_with_superscript.js your_review.md
Output: your_review_上标版.docx (auto-opens after generation)
Script: analyze_citation_pattern.py
Purpose: Detect "whole-paragraph citation split into per-sentence annotations" pattern
What it checks:
Academic rule: When an entire paragraph derives from one source, cite only at the first or last sentence, not every sentence
Usage: bash
python scripts/analyze_citation_pattern.py your_review.md
Output: your_review_citation_pattern_report.md
For most use cases, follow this 9-step workflow:
Create your academic review in Markdown format: your_review.md
这是最重要的检查步骤! 运行文献完整性检查,确保所有引用和文献都正确无误:
bash
python scripts/literature_integrity_checker.py your_review.md
This takes ~2 minutes and generates your_review_literature_integrity_report.md
⚠️ 重要: 此检查会发现以下严重错误:
如果发现严重问题,脚本会返回错误码,阻止继续操作!
Execute unified checker to run all validations at once:
bash
python scripts/unified_checker.py your_review.md
This takes ~5 minutes and generates your_review_unified_report.md
Read the unified report:
bash
cat your_review_unified_report.md
The report contains:
Edit your_review.md based on report findings:
If you need to remove non-core journals:
scripts/filter_references.py to set journal listspython scripts/filter_references.pyIf you removed references, renumber them:
bash
python scripts/extract_and_fix_references.py
Warning: This modifies the source file directly—backup first!
Quick verification:
bash
python scripts/simple_verify.py
再次运行文献完整性检查(推荐):
bash
python scripts/literature_integrity_checker.py your_review.md
✨ 新功能: 如果检查通过(无严重问题),脚本会自动打开 your_review_上标版.docx 文档!
Create the final formatted Word document:
Standard format (inline citations):
bash
node scripts/create_word_doc_v3.js
Superscript format (右上标引用) - RECOMMENDED for Chinese academic papers:
bash
node scripts/create_word_with_superscript.js your_review.md
⚠️ Important:
[1], [2-3] appear as superscriptOutput: your_review_上标版.docx
对于新的文献综述,使用以下快速工作流:
bash
# 1. 运行文献完整性检查(自动打开 Word 文档)
python scripts/literature_integrity_checker.py your_review.md
# 检查通过后,Word 文档会自动打开!无需手动操作
# 如果发现问题,修复后再次运行检查
Use when you need detailed information about each check type. Run each checker individually:
reference_formatter.pytypo_grammar_checker.pyreference_accuracy_checker.pydocument_format_checker.py
View each report separately for detailed analysis.Use when you've only made minor edits after previous checks. Run only the relevant checker:
reference_accuracy_checker.pytypo_grammar_checker.pydocument_format_checker.pyreference_formatter.pyThe unified checker is designed to be run once per major editing session. After fixing issues, only run the specific checkers relevant to what you changed.
Scripts that modify source files: extract_and_fix_references.py, filter_references.py
Always backup before running: bash
cp your_review.md your_review_backup.md
templates/ref_format_default.ymlpyyaml, python-docx (optional)docxbash
# Step 1: Run literature integrity check (CRITICAL)
python scripts/literature_integrity_checker.py my_review.md
# Step 2: Run unified check on new draft
python scripts/unified_checker.py my_review.md
# Review and fix issues (open editor)
# ...
# Step 3: Generate Word document
node scripts/create_word_with_superscript.js my_review.md
# Total time: ~12 minutes
bash
# Backup first
cp my_review.md my_review_backup.md
# Remove non-core journals
python scripts/filter_references.py
# Renumber and update citations
python scripts/extract_and_fix_references.py
# Verify
python scripts/simple_verify.py
# Generate Word
node scripts/create_word_doc_v3.js
bash
# After fixing a few typos manually, just recheck
python scripts/typo_grammar_checker.py my_review.md
# Regenerate Word
node scripts/create_word_doc_v3.js
# Total time: ~3 minutes
If you encounter GBK vs UTF-8 encoding errors:
encoding='utf-8' in file operationsbash
npm install docx
Copy templates/ref_format_default.yml to your working directory and edit it.
See references/ directory for:
See scripts directory for:
v3.3.0 (2026-03-20): 功能更新 - 新增引用模式分析器 + 深度引用审查
新增: analyze_citation_pattern.py - 专项检测整段引用被拆分逐句标注的问题
修复(典型案例): 学术文献综述中发现的严重引用错误类型:
最佳实践总结: 引用错配比重复引用更危险,需先核验参考文献实际内容
v3.2.0 (2026-03-19): 功能更新 - 新增自动打开最终文档功能
新增: 文献完整性检查器支持检查通过后自动打开 Word 文档
_上标版.docx 或 .docx 文件--no-auto-open 参数禁用更新: SKILL.md 文档,添加快速工作流说明
改进: 优化用户体验,简化工作流程
v3.1.0 (2026-03-19): 功能更新 - 新增连续相同引用检查
新增: 连续相同引用检测功能
改进: 优化检测逻辑,只标记相邻句子中的重复引用,避免误报段落首尾的正常引用模式
更新: 更新文献完整性检查器功能说明和版本日志
v3.0.0 (2026-03-19): 重大更新 - 新增文献完整性检查系统
新增: literature_integrity_checker.py - 全面的文献完整性验证
更新: 推荐工作流程,将文献完整性检查作为关键步骤
改进: 更严格的错误检测机制,杜绝文献引用错误
v2.3.0 (2026-03-19): Enhanced superscript Word generator with:
v2.2.0 (2026-03-19): Added superscript citation Word generator ( create_word_with_superscript.js). Important: Superscript citations retain brackets [n] format.
v2.1.0 (2026-03-19): Added unified checker, optimized workflows, eliminated redundant checks
v2.0.0 (2026-03-19): Added typo checking, reference accuracy, document format validation
v1.0.0 (2026-03-19): Initial version with basic reference formatting and Word generation