---
name: document-consistency-check
description: Compare documents against an explicit reference and report exact mismatches and matching controls.
---

# Document consistency check

Use this skill to compare two or more supplied documents for factual consistency, such as a specification and an operating guide. Perform a read-only comparison unless the user also requests edits. This is not a general grammar review.

## Inputs and comparison rules
Identify the documents, their versions, and which reference is authoritative for this task. If authority is unspecified, report disagreements without choosing a winner. Extract comparable fields and their source locations before judging them. Preserve units, dates, conditions, and scope; similar words can describe different behavior.

## Workflow
Create a field inventory covering the requested subject. Compare exact values first, then consider equivalent representations. Treat “30 days” and “one month” as potentially different unless the contract defines them as equal. Report a missing field separately from a contradictory field. Keep each mismatch at the smallest useful unit so a reviewer can apply one correction without guessing which part was wrong.

For every finding, show the field, reference value and locator, compared value and locator, consequence, and proposed correction. Avoid unrelated editorial preferences. Include matching controls from the same comparison to demonstrate that agreement was checked as well as disagreement. Do not count one repeated inconsistency as multiple distinct issues unless its occurrences require separate fixes.

## Output contract
Return the authority assumption, coverage table, mismatch list, and matching controls. State any sections or attachments that were unavailable. Do not report an exhaustive audit when only excerpts were supplied. If edits are authorized, preserve unrelated text and provide a change summary with the same locators. Before finishing, reconcile the number of mismatches with the field inventory and check that every proposed correction follows the stated authority rather than a plausible guess.
