Analyzes surgical pathology cancer reports for compliance with CAP (College of American Pathologists) and ICCR (International Collaboration on Cancer Reporting) guidelines. Validates pTNM staging (AJCC 8th edition), checks required element completeness with severity-based scoring, generates blank or pre-filled CAP synoptic templates, creates 3-5 line tumor board summaries, suggests SNOMED CT and ICD-O-3 codes, converts free-text narratives to structured synoptic format, and drafts amendments/addenda. Use when the user pastes or uploads a pathology report (txt, pdf, docx, image, xlsx) and asks to "check CAP compliance", "verify staging", "generate synoptic template", "tumor board summary", "convert to synoptic", "calculate TNM stage", or "code with SNOMED" for breast invasive carcinoma, colorectal resection, exocrine pancreas carcinoma, or gastric carcinoma. Supports English and Turkish. Do NOT use for non-cancer pathology (inflammatory, infectious), cytology, or unsupported tumor types.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pathology-report-checker:pathology-report-checkerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Analyze surgical pathology cancer reports against CAP (College of American Pathologists), ICCR (International Collaboration on Cancer Reporting), and AAPA (American Association of Pathology Assistants) guidelines.
examples/README.mdexamples/breast_complete_en.txtexamples/breast_complete_tr.txtexamples/breast_incomplete_en.txtexamples/colorectal_complete_en.txtexamples/colorectal_errors_en.txtexamples/colorectal_incomplete_tr.txtexamples/expected_outputs/breast_complete_en_output.txtexamples/expected_outputs/colorectal_errors_en_output.txtexamples/gastric_complete_en.txtexamples/gastric_incomplete_tr.txtexamples/pancreas_complete_en.txtexamples/pancreas_staging_error_en.txtreferences/amendments/amendment_generator.mdreferences/autofill/autofill_suggestions.mdreferences/biomarkers/BIOMARKERS_INDEX.mdreferences/coding/snomed_ct_codes.mdreferences/converters/freetext_to_synoptic.mdreferences/diagnosis/breast_invasive_carcinoma.mdreferences/diagnosis/colorectal_resection.mdAnalyze surgical pathology cancer reports against CAP (College of American Pathologists), ICCR (International Collaboration on Cancer Reporting), and AAPA (American Association of Pathology Assistants) guidelines.
CRITICAL: Always read the relevant reference file BEFORE producing analysis or templates. The skill's value comes from grounded clinical guidelines, not memorized knowledge.
| Action | English | Turkish |
|---|---|---|
| Compliance Check | "Check this report for CAP compliance" | "Bu raporu CAP uyumluluğu için kontrol et" |
| Synoptic Template | "Generate breast synoptic template" | "Meme sinoptik şablonu oluştur" |
| Tumor Board Summary | "Generate tumor board summary" | "Tümör kurulu özeti oluştur" |
| Free-text → Synoptic | "Convert to synoptic format" | "Sinoptik formata dönüştür" |
| Auto-fill | "Suggest pTNM staging" | "pTNM evrelemesi öner" |
| Amendment | "Generate amendment for this" | "Düzeltme oluştur" |
| SNOMED Coding | "What's the SNOMED code for..." | "... için SNOMED kodu nedir?" |
| TNM Calculator | "Calculate stage for pT2 N1 M0" | "pT2 N1 M0 için evreyi hesapla" |
Determine the task before reading any references:
references/staging/tnm_stage_calculator.mdreferences/coding/snomed_ct_codes.mdreferences/converters/freetext_to_synoptic.mdreferences/autofill/autofill_suggestions.mdreferences/amendments/amendment_generator.md| Type | CAP Protocol | ICCR Dataset |
|---|---|---|
| Breast invasive carcinoma | Breast.Invasive | Invasive Carcinoma of the Breast |
| Colorectal primary resection | ColoRectal | Colorectal Cancer |
| Exocrine pancreas carcinoma | Panc.Exo | Carcinoma of the Exocrine Pancreas |
| Gastric carcinoma | Stomach | Gastric Carcinoma |
| Tumor | File |
|---|---|
| Breast | references/diagnosis/breast_invasive_carcinoma.md |
| Colorectal | references/diagnosis/colorectal_resection.md |
| Pancreas | references/diagnosis/exocrine_pancreas.md |
| Gastric | references/diagnosis/gastric_carcinoma.md |
| Tumor | File |
|---|---|
| Common | references/macroscopy/MACROSCOPY_COMMON.md |
| Breast | references/macroscopy/breast_macroscopy.md |
| Colorectal | references/macroscopy/colorectal_macroscopy.md |
| Pancreas | references/macroscopy/pancreas_macroscopy.md |
| Gastric | references/macroscopy/gastric_macroscopy.md |
| Feature | File |
|---|---|
| TNM Staging | references/staging/tnm_stage_calculator.md |
| Synoptic Templates (EN) | references/templates/synoptic_templates.md |
| Synoptic Templates (TR) | references/templates/synoptic_templates_tr.md |
| SNOMED CT / ICD-O-3 | references/coding/snomed_ct_codes.md |
| Tumor Board Summary | references/summaries/tumor_board_summary.md |
| Free-text Converter | references/converters/freetext_to_synoptic.md |
| Auto-fill Suggestions | references/autofill/autofill_suggestions.md |
| Amendment Generator | references/amendments/amendment_generator.md |
| Biomarker Index | references/biomarkers/BIOMARKERS_INDEX.md |
For large reference files, use grep to find specific content quickly instead of loading the entire file.
Find tumor-type template (saves ~3,300 tokens vs full file):
grep -A 80 "## Breast Invasive" references/templates/synoptic_templates.md
grep -A 80 "## Colorectal" references/templates/synoptic_templates.md
grep -A 80 "## Pancreas" references/templates/synoptic_templates.md
grep -A 80 "## Gastric" references/templates/synoptic_templates.md
Find specific staging table:
grep -A 20 "Breast Cancer Stage" references/staging/tnm_stage_calculator.md
grep -A 20 "Colorectal Stage" references/staging/tnm_stage_calculator.md
grep -A 20 "Pancreas Stage" references/staging/tnm_stage_calculator.md
grep -A 20 "Gastric Stage" references/staging/tnm_stage_calculator.md
Find SNOMED / ICD-O-3 code:
grep -i "ductal carcinoma" references/coding/snomed_ct_codes.md
grep -i "adenocarcinoma" references/coding/snomed_ct_codes.md
Find amendment template:
grep -A 15 "Addendum Template" references/amendments/amendment_generator.md
grep -A 15 "Correction Template" references/amendments/amendment_generator.md
references/.references/staging/tnm_stage_calculator.md.references/templates/synoptic_templates.md (or synoptic_templates_tr.md for Turkish).references/summaries/tumor_board_summary.md.| Level | Elements | Score Impact |
|---|---|---|
| CRITICAL | pT, pN, margins, grade, receptors | -15 each |
| MAJOR | LVI, PNI, tumor size, node counts | -5 each |
| MINOR | Focality, gross details | -2 each |
Score formula: 100 - (Critical × 15) - (Major × 5) - (Minor × 2)
| Score | Status |
|---|---|
| 90-100 | COMPLIANT |
| 70-89 | INCOMPLETE - MINOR |
| 50-69 | INCOMPLETE - MAJOR |
| <50 | INCOMPLETE - CRITICAL |
| Format | Extensions | Use Case |
|---|---|---|
| Plain Text | .txt, .md | Interactive CLI, direct paste |
.pdf | Scanned or digital reports | |
| Word | .docx | Office documents |
| Excel/CSV | .xlsx, .xls, .csv | Batch processing, LIS exports |
| Images | .jpg, .png, .tiff | Scanned paper reports (Claude Vision) |
Expected columns:
report_text (required): Full pathology report textpatient_id (optional): Case identifiertumor_type (optional): breast, colorectal, gastric, or pancreas (auto-detected if absent)COMPLIANCE ANALYSIS
Tumor: Breast invasive carcinoma
Protocol: CAP Breast.Invasive
COMPLIANCE SCORE: 82/100
STATUS: INCOMPLETE - MINOR
MISSING ELEMENTS (3):
CRITICAL (1):
- ER/PR/HER2 receptor studies (-15)
MAJOR (2):
- Lymphovascular invasion status (-5)
- Perineural invasion status (-5)
CROSS-VALIDATION:
- pT2 consistent with 2.3 cm tumor size (AJCC 8th)
- pN1a consistent with 2 positive nodes
- Margins negative (5 mm) -> R0 correct
RECOMMENDATIONS:
1. Add IHC results for ER, PR, HER2
2. Document LVI presence/absence
3. Document PNI presence/absence
58F with invasive ductal carcinoma of the left breast.
Lumpectomy: 2.3 cm IDC, Grade 2, pT2 N1a M0 (Stage IIB).
Margins negative. LVI present. Nodes 2/15 positive.
ER 95% / PR 80% / HER2 negative / Ki-67 25%.
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
npx claudepluginhub patolojiai/pathology-report-checker-skill --plugin pathology-report-checker