Document Consistency Checker
Paste the following prompt into your AI chat to install this skill:
Please follow the installation guide at https://skillhub.cn/install/skillhub.md to install @user_7180264c/doc-consistency-checker.
About this skill
The Problem of Document Inconsistency
In technical reports, project documents, or academic papers, a subtle yet critical challenge often arises: internal inconsistencies. These go beyond mere typos, encompassing deep contradictions in data, logic, and standards. For instance, the same engineering quantity might appear with different values in various sections, or the sum of itemized investments might not match the grand total. Such errors directly undermine a report's professionalism and credibility. Manually proofreading for these issues is time-consuming and error-prone, especially in lengthy documents or those referencing multiple interrelated standards.
How the Consistency Checker Works
This Document Consistency Checker automates this process through a structured workflow, primarily aimed at engineers and technical writers.
- Intelligent Content Extraction: The skill parses multiple file formats (e.g.,
.docx,.pdf,.xlsx) using libraries likepython-docxandpymupdfto extract raw text, paragraphs, and tables for analysis. - Autonomous Deep Analysis: The core intelligence lies in the model's ability to read the extracted content and autonomously detect five categories of inconsistencies:
- Category A: Data Contradictions. Identifies mismatched values for the same metric across sections and errors in summation checks (e.g., verifying if itemized funds sum to the total investment).
- Category B: Logical Anomalies. Catches timeline errors (e.g., a completion date exceeding the project duration) and mismatches between planning goals and construction content.
- Category C: Numbering & Structural Issues. Checks for discrepancies between table of contents and body headings, and skipped section numbers.
- Category D: Terminology & Formatting Issues. Flags mixed usage of terms (e.g., "small reservoir" vs. "small-scale reservoir") and inconsistent units (e.g., "ten thousand yuan" vs. "yuan").
- Category E: Standard Citation Issues. Utilizes a built-in static library (
standards_library.json, containing 141 water conservancy standards) to verify if cited standards are current, if their names match the numbers, and if formatting (like book title marks《》) is correct. For standards not in the library, it attempts web verification.
- Intelligent Grading & Annotation: All issues are strictly graded:
- P0 (Critical): Must be fixed, such as direct data contradictions or citing an obsolete standard with a clear successor.
- P1 (To Verify): Should be verified, like numbering errors or unlisted standards where the latest version can be inferred.
- P2 (Suggested): Can be optionally fixed, including minor terminology mix-ups or formatting inconsistencies.
- Actionable Output Generation: The skill produces two key files: a structured Proofreading Report (.md) summarizing all issues and suggestions, and an Annotated Source File (_annotated.docx). The latter uses yellow highlighting on problems in the original text, paired with orange-highlighted explanatory notes at the end of paragraphs, facilitating direct location and correction within Microsoft Word.
Usage Boundaries & Key Considerations
For optimal results, please note:
- Context Dependency: The skill requires reading the entire document to assess consistency. It is strongly recommended to save specific sections as new documents before submission if only partial checking is needed; otherwise, the effectiveness may be reduced.
- Standard Library Updates: The built-in standards_library.json needs manual updates (recommended quarterly) to include newly published standards. For unlisted standards, the skill will attempt web-based verification.
- Output Environment: The generated annotated file (_annotated.docx) should be opened with Microsoft Office Word, as rendering may differ in WPS.
- Automation Limits: The skill relies on model-based reading and logical rules; it does not replace expert review for domain-specific accuracy. Issues marked "To Verify" still require author confirmation based on professional judgment.
Use Cases
- An engineer completing a feasibility study report for a hydraulic project needs to cross-check key metrics like investment figures, engineering quantities, and rainfall data for inconsistencies across sections before submission.
- A technical writer consolidating multi-chapter planning documents must ensure sequential chapter numbering, match table of contents with headings, and verify all cited water conservancy standards (e.g., SL series) are current and correctly formatted.
- A project manager reviewing construction design files needs to quickly spot logical conflicts between completion time and total duration, or discrepancies between itemized investment sums and the total amount.
- A quality control specialist archiving project documents must standardize mixed terminology (e.g., '小型水库' vs. '小Ⅰ型水库'), inconsistent units (e.g., 'm³' vs. '立方米'), and punctuation marks.
Best For
- Report authors in hydraulic or civil engineering fields: Need to ensure all data, terminology, and standard references in technical reports are error-free before final submission.
- Project document reviewers or leads: Responsible for quality control of multi-chapter integrated documents, requiring quick identification of logic, numbering, and standard citation issues.
- Maintainers of technical specifications or standard documents: Need to periodically verify if industry standards cited in documents are valid and formatted correctly.
- Project assistants in design institutes or research institutes: Assist in processing large volumes of technical documents, requiring tools to check for common formatting inconsistencies and data contradictions.
Related Skills
The complete set of online document operation tools provided by Tencent Docs MCP, supporting creation, querying, and editing of smart docs, Excel, PPT, mind maps, and more.
User-driven slide design skill that strictly follows source material, features efficient building, and incorporates multi-stage quality assurance with critic loops.
Converts scripts into Jobins-style minimalist tech vertical HTML presentations with strong visual contrast and rhythm.
A PPT generation tool based on design systems, narrative direction, and industrialized delivery, ensuring presentations are structured, visually unified, and impactful.