result-figure-consistencycheck
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.
Best use case
result-figure-consistencycheck is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
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.
Teams using result-figure-consistencycheck should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/result-figure-consistencycheck/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How result-figure-consistencycheck Compares
| Feature / Agent | result-figure-consistencycheck | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
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.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
> **Source**: [https://github.com/aipoch/medical-research-skills](https://github.com/aipoch/medical-research-skills)
## When to Use
- You converted a paper PDF to Markdown and need to verify that **Results text** matches **figure legends** (without inspecting the images).
- You want to detect **missing figure references** in the Results section (e.g., a legend describes an analysis not mentioned in text).
- You need to find **numerical/label mismatches** (e.g., group names, time points, units, n-values) between Results paragraphs and legends.
- You are preparing a revision and want an **actionable discrepancy list** down to the **panel/sub-figure** level.
- You need standardized outputs (Markdown report + CSV) for editorial or QA workflows.
## Key Features
- Compares **Results descriptions** vs **figure legend text** using the PDF-to-Markdown source (including `## Page XX` markers).
- Produces:
- A **Markdown consistency report** (UTF-8).
- A **CSV issue list** (UTF-8) with structured fields for tracking and revision.
- Enforces a **template-based report format** using `assets/consistency_template.md`.
- Uses a **rule/checklist reference** from `references/guide.md`.
- Text-only validation: **does not read figure images** and **does not infer visual content**.
## Dependencies
- None (no external runtime dependencies specified).
- Input prerequisite (if starting from PDF): a PDF-to-Markdown conversion step (e.g., `pdf-extract`) must be completed before running this check.
## Example Usage
### Input
Place the converted full text Markdown in your working location (example: `inputs/paper_fulltext.md`). The file should include page headers like:
```md
## Page 12
... Results text ...
Figure 3. ...
(A) ...
(B) ...
```
### Run (conceptual workflow)
1. Read the full Markdown input (PDF conversion output).
2. Identify:
- Result paragraphs describing findings.
- Figure legend blocks (including panel labels such as A/B/C).
3. Compare legend statements against Results statements and record discrepancies.
4. Write outputs to `outputs/`:
- `outputs/consistency_report.md` (UTF-8)
- `outputs/consistency_issues.csv` (UTF-8)
### Output files
**`outputs/consistency_issues.csv`** (UTF-8) columns:
```csv
Figure Number,Location/Reference,Issue Description,Suggested Revision,Priority
```
Notes:
- `Location/Reference` must contain only `Page XX`.
- Issues should be granular to the **panel/sub-figure** level when applicable.
**`outputs/consistency_report.md`** (UTF-8) must follow:
- Template: `assets/consistency_template.md`
- If no issues are found, write **"None found"** in the relevant sections.
## Implementation Details
- **Scope of comparison**
- Only compare **main text Results descriptions** and **figure legend text** present in the Markdown input.
- Do **not** inspect images or infer information not explicitly stated in text.
- **Rules and checklist**
- Follow the specific checking rules and required output points defined in:
- `references/guide.md`
- **Report formatting**
- The Markdown report must be generated by filling:
- `assets/consistency_template.md`
- Ensure all outputs are saved under:
- `outputs/` (within the skill directory)
- **Granularity and actionability**
- Record discrepancies at the most specific level possible (e.g., Figure 2B vs Figure 2 overall).
- Provide a concrete **Suggested Revision** whenever feasible (e.g., align terminology, correct numbers/units, add missing reference).
- **Language**
- Default output language is **Chinese**.
- If the user explicitly specifies another language, output in that language.Related Skills
multi-panel-figure-assembler
Assemble 6 sub-figures (A–F) into a high-resolution composite figure with consistent labels, padding, and publication-ready DPI.
meta-results-sensitivity-analysis
Generates the "Results" section for meta-analysis sensitivity analysis based on statistical tables and titles. Use when the user wants to describe sensitivity analysis results or format sensitivity tables for a meta-analysis paper.
meta-results-risk-of-bias
Generates the "Risk of Bias" results section for a meta-analysis based on assessment tables and statistics. Use when the user wants to draft the risk of bias analysis text from provided data tables.
meta-results-funnel-plot-generator
Generates a Meta-analysis results section description for funnel plots, including statistical tables (Egger's, Begg's, Trim & Fill) and figure legends. Supports English and Chinese outputs. Use when user provides a funnel plot image and statistics and wants a formatted report.
meta-results-forest-plot-analyzer
Analyzes forest plots for meta-analysis, generating detailed descriptions and formatting figure legends in Chinese or English. Use when the user wants to interpret a forest plot image, describe its statistical significance (heterogeneity, p-value), and format the output with specific figure legends.
figure-reference-checker
Use figure reference checker for academic writing workflows that need structured execution, explicit assumptions, and clear output boundaries.
figure-legend-gen
Generate standardized figure legends for scientific charts and graphs.
result-reliability-checker
Assesses whether study results are trustworthy by auditing design integrity, sample structure, statistical handling, bias control, validation chain, and claim discipline. It identifies where results are robust, fragile, overfit, under-validated, or overclaimed. Always separate reported findings from reliability judgment. Never fabricate references, PMIDs, DOIs, trial identifiers, study features, or validation claims.
figure-first-paper-reader
Reads a paper figure by figure before re-integrating the full narrative, so the user can identify the core findings quickly and check whether each visual actually supports the authors' main claims. Always separate figure content, figure-linked claim, evidentiary strength, and unsupported interpretation. Never fabricate references, PMIDs, DOIs, figure content, panel labels, result values, or study details that were not actually provided.
results-section-writer
Writes the full Results section of a biomedical manuscript from a sufficiently clear result structure, figure inventory, or analysis summary while preserving evidence boundaries and result hierarchy.
results-section-structurer
Organizes biomedical figures, analyses, and result blocks into a clear Results section structure with disciplined narrative ordering and evidence-aware presentation.
figure-legend-writer
Writes complete, publication-grade figure legends that can stand on their own. Use when writing or revising figure legends for any scientific figure — bar charts, line graphs, scatter plots, box plots, heatmaps, survival curves, flow cytometry plots, western blots, microscopy images, or schematic diagrams. Also triggers on "write a figure legend for", "help me describe this figure", "my figure needs a legend", "write Figure 1 legend", or "what should a figure legend include".