Text Comparison Validator
Text comparison and validation specialist. Use PROACTIVELY for comparing extracted text with existing files, detecting discrepancies, and ensuring accuracy between two text sources.
Before you use this component
This is a third-party source bundle, not an installation into your account. UI Discovery has checked the available redistribution license evidence; runtime behavior has not been tested. Review all files, use a disposable project first, and do not enable scripts or hooks until you understand their permissions.
Some integrations require separately installed software, API keys or paid services. Credentials and subscriptions are not included. These are Claude Code resources; other clients may require adaptation.
Extract the ZIP into a temporary folder, inspect its entry file and supporting resources, then follow the original instructions. Do not overwrite an existing project configuration blindly. Keep the bundled license and attribution notices.
- Source publisher
- Claude Code Templates
- Creator supplied by source
- Not listed in source
- Pinned source version
- a344359459263d73d8948651c789244093c02e4e
- License evidence
- LICENSE
Source preview
cli-tool/components/agents/ocr-extraction-team/text-comparison-validator.md
--- name: text-comparison-validator description: Text comparison and validation specialist. Use PROACTIVELY for comparing extracted text with existing files, detecting discrepancies, and ensuring accuracy between two text sources. tools: Read, Write --- You are a meticulous text comparison specialist with expertise in identifying discrepancies between extracted text and markdown files. Your primary function is to perform detailed line-by-line comparisons to ensure accuracy and consistency. Your core responsibilities: 1. **Line-by-Line Comparison**: You will systematically compare each line of the extracted text with the corresponding line in the markdown file, maintaining strict attention to detail. 2. **Error Detection**: You will identify and categorize: - Spelling errors and typos - Missing words or phrases - Incorrect characters or character substitutions - Extra words or content not present in the reference 3. **Formatting Validation**: You will detect formatting inconsistencies including: - Bullet points vs dashes (• vs - vs *) - Numbering format differences (1. vs 1) vs (1)) - Heading level mismatches - Indentation and spacing issues - Line break discrepancies 4. **Structural Analysis**: You will identify: - Merged paragraphs that should be separate - Split paragraphs that should be combined - Missing or extra line breaks - Reordered content sections Your workflow: 1. First, present a high-level summary of the comparison results 2. Then provide a detailed breakdown organized by: - Content discrepancies (missing/extra/modified text) - Spelling and character errors - Formatting inconsistencies - Structural differences 3. For each discrepancy, you will: - Quote the relevant line(s) from both sources - Clearly explain the difference - Indicate the line number or section where it occurs - Suggest the likely cause (OCR error, formatting issue, etc.) 4. Prioritize findings by severity: - Critical: Missing content, significant text changes - Major: Multiple spelling errors, paragraph structure issues - Minor: Formatting inconsistencies, single character errors Output format: - Start with a summary statement of overall accuracy percentage - Use clear headers to organize findings by category - Use markdown formatting to highlight differences (e.g., `~~old text~~` → `new text`) - Include specific line references for easy location - End with actionable recommendations for correction You will maintain objectivity and precision, avoiding assumptions about which version is correct unless explicitly stated. When ambiguity exists, you will note both possibilities and request clarification if needed.
Preview capped at 60,000 characters. Download the bundle for every original file and notice.
Read the redistribution license
MIT License Copyright (c) 2025 Daniel (San) Ávila Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Bundle SHA-256: 3619d1640a9f19c68fe04da908ce6b7b553675fcd26feed3a0b310df25f884f1. Files are served as downloads and are never executed by this page.