{"data":{"slug":"github-aipoch-medical-research-skills-scientific-skills-other-result-figure-consistencycheck-3be51c7f4e68","title":"Check Consistency Between Results Text and Figure Legends in Markdown","summary":"Validates alignment between Results descriptions and figure legends in a paper's Markdown text, generating a structured report of discrepancies for editorial review.","url":"https:\/\/skillshunter.net\/skills\/github-aipoch-medical-research-skills-scientific-skills-other-result-figure-consistencycheck-3be51c7f4e68","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-aipoch-medical-research-skills-scientific-skills-other-result-figure-consistencycheck-3be51c7f4e68","markdown_url":"https:\/\/skillshunter.net\/skills\/github-aipoch-medical-research-skills-scientific-skills-other-result-figure-consistencycheck-3be51c7f4e68.md","download_url":"https:\/\/skillshunter.net\/skills\/github-aipoch-medical-research-skills-scientific-skills-other-result-figure-consistencycheck-3be51c7f4e68\/download","category":{"slug":"content-editorial","name":"Content & Editorial"},"editor_note":"A PDF-to-Markdown conversion step (e.g., `pdf-extract`) must be completed before running this check. The Markdown report must be generated by filling `assets\/consistency_template.md` and saved under `outputs\/`.","instructions":"---\nname: result-figure-consistencycheck\ndescription: Checks consistency between paper result descriptions and figure legends (text-only) when the input is a PDF-to-Markdown full text containing page breaks (e.g., `## Page XX`) and legend text; outputs a Markdown consistency report and a UTF-8 CSV issue list.\nlicense: MIT\nauthor: AIPOCH\n---\n> **Source**: [https:\/\/github.com\/aipoch\/medical-research-skills](https:\/\/github.com\/aipoch\/medical-research-skills)\n\n\n## When to Use\n\n- You converted a paper PDF to Markdown and need to verify that **Results text** matches **figure legends** (without inspecting the images).\n- You want to detect **missing figure references** in the Results section (e.g., a legend describes an analysis not mentioned in text).\n- You need to find **numerical\/label mismatches** (e.g., group names, time points, units, n-values) between Results paragraphs and legends.\n- You are preparing a revision and want an **actionable discrepancy list** down to the **panel\/sub-figure** level.\n- You need standardized outputs (Markdown report + CSV) for editorial or QA workflows.\n\n## Key Features\n\n- Compares **Results descriptions** vs **figure legend text** using the PDF-to-Markdown source (including `## Page XX` markers).\n- Produces:\n  - A **Markdown consistency report** (UTF-8).\n  - A **CSV issue list** (UTF-8) with structured fields for tracking and revision.\n- Enforces a **template-based report format** using `assets\/consistency_template.md`.\n- Uses a **rule\/checklist reference** from `references\/guide.md`.\n- Text-only validation: **does not read figure images** and **does not infer visual content**.\n\n## Dependencies\n\n- None (no external runtime dependencies specified).\n- Input prerequisite (if starting from PDF): a PDF-to-Markdown conversion step (e.g., `pdf-extract`) must be completed before running this check.\n\n## Example Usage\n\n### Input\n\nPlace the converted full text Markdown in your working location (example: `inputs\/paper_fulltext.md`). The file should include page headers like:\n\n```md\n## Page 12\n... Results text ...\n\nFigure 3. ...\n(A) ...\n(B) ...\n```\n\n### Run (conceptual workflow)\n\n1. Read the full Markdown input (PDF conversion output).\n2. Identify:\n   - Result paragraphs describing findings.\n   - Figure legend blocks (including panel labels such as A\/B\/C).\n3. Compare legend statements against Results statements and record discrepancies.\n4. Write outputs to `outputs\/`:\n   - `outputs\/consistency_report.md` (UTF-8)\n   - `outputs\/consistency_issues.csv` (UTF-8)\n\n### Output files\n\n**`outputs\/consistency_issues.csv`** (UTF-8) columns:\n\n```csv\nFigure Number,Location\/Reference,Issue Description,Suggested Revision,Priority\n```\n\nNotes:\n- `Location\/Reference` must contain only `Page XX`.\n- Issues should be granular to the **panel\/sub-figure** level when applicable.\n\n**`outputs\/consistency_report.md`** (UTF-8) must follow:\n\n- Template: `assets\/consistency_template.md`\n- If no issues are found, write **\"None found\"** in the relevant sections.\n\n## Implementation Details\n\n- **Scope of comparison**\n  - Only compare **main text Results descriptions** and **figure legend text** present in the Markdown input.\n  - Do **not** inspect images or infer information not explicitly stated in text.\n\n- **Rules and checklist**\n  - Follow the specific checking rules and required output points defined in:\n    - `references\/guide.md`\n\n- **Report formatting**\n  - The Markdown report must be generated by filling:\n    - `assets\/consistency_template.md`\n  - Ensure all outputs are saved under:\n    - `outputs\/` (within the skill directory)\n\n- **Granularity and actionability**\n  - Record discrepancies at the most specific level possible (e.g., Figure 2B vs Figure 2 overall).\n  - Provide a concrete **Suggested Revision** whenever feasible (e.g., align terminology, correct numbers\/units, add missing reference).\n\n- **Language**\n  - Default output language is **Chinese**.\n  - If the user explicitly specifies another language, output in that language.\n\n## When Not to Use\n\n- Do not proceed when required input files, identifiers, parameters, or context are missing \u2014 ask the user to provide them first.\n- Do not assume capabilities beyond this skill's declared scope when the user requests external operations or inferences.\n- Do not proceed without user confirmation when overwriting existing results, executing high-cost batch operations, or expanding task scope.\n\n## Required Inputs\n\n| Field | Required | Format\/Source | Example | If Missing |\n|---|---|---|---|---|\n| User task description | Yes | Text | Research question, writing goal, analysis objective | Stop and ask user to provide |\n| Primary input material | Depends on task | Text, file path, ID, table, or literature | PMID, PDF, CSV, DOCX, keywords, etc. | Specify which material type is missing |\n| Output preference | No | Text | Language, format, target journal, template | Use skill default format |\n\n## Output Contract\n\n- Primary output: Structured result or target file aligned with this skill's objective.\n- Optional output: Intermediate check notes, issue list, supplementary suggestions, or generated file paths.\n- Format requirement: Unless the user specifies otherwise, prefer stable, reviewable Markdown or JSON; if the skill's bundled script requires a fixed format, use that format.\n- If partially complete: Must explicitly mark as PARTIAL and state which steps are completed and which remain.\n\n## Failure Handling\n\n- Missing critical input: Explicitly state which fields, files, or identifiers are missing and pause.\n- Script, template, or resource execution failure: Report the failing step, likely cause, and recovery suggestions \u2014 do not silently degrade.\n- Partial completion only: Return the verified portion first, then list remaining blockers and suggested next steps.\n\n## User Checkpoints\n\n- Before executing batch processing, overwriting files, long-running searches, or multi-stage generation, confirm scope and output format with the user.\n- Before proceeding when a key judgment is ambiguous, evidence is insufficient, or the workflow is entering the next stage, confirm with the user.\n\n\n## Input Validation\n\nThis skill accepts requests that match the documented purpose of `result-figure-consistencycheck` and include enough context to complete the workflow safely.\n\nDo not continue the workflow when the request is out of scope, missing a critical input, or would require unsupported assumptions. Instead respond:\n\n> `result-figure-consistencycheck` only handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.\n\n## Quick Validation\n\n- Check that key scripts, templates, or reference file paths this skill depends on exist.\n- Check that the final output contains the core fields, sections, or files specified for this task.\n- Check that results clearly mark assumptions, limitations, and incomplete items.\n","use_cases":["Verify that all figure legends are referenced in the Results section.","Detect inconsistencies in group labels, units, or n-values between text and legends.","Generate a structured report of discrepancies for editorial review."],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/aipoch\/medical-research-skills\/blob\/686e09dfdb45d9fa1a08664f06bb93769b3c9d91\/scientific-skills\/Other\/result-figure-consistencycheck\/SKILL.md","source_commit":"686e09dfdb45d9fa1a08664f06bb93769b3c9d91","license":"MIT","version":null,"listing_approved_at":"2026-11-26","created_at":"2026-11-24T15:59:23.000000Z","updated_at":"2026-11-26T09:25:03.000000Z","seo_title":"Check Results vs Figure Legends Consistency","seo_description":"Ensure Results text matches figure legends in Markdown paper analysis. Detect missing references and numerical mismatches.","seo_keywords":["results vs figure legends check","markdown paper consistency","figure legend validation","results text alignment","medical research markdown"]}}