Skip to content
Back to skills

Correct Pdf Scraped Descriptive Chess

ASecurity

Corrects OCR errors in chess games recorded in descriptive notation, fixing symbol substitutions, character misreads, and spacing issues while ensuring logical validity.

  • 581 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 30, 2026
educationapi

Works with

  • api

Security analysis

A100/100

Scanned May 30, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill correct_pdf_scraped_descriptive_chess --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Correct Pdf Scraped Descriptive Chess?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Correct Pdf Scraped Descriptive Chess
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-correct-pdf-scraped-descriptive-chess/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-correct-pdf-scraped-descriptive-chess)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "310a3f3f-415a-4df2-897b-67b880db6837"
name: "correct_pdf_scraped_descriptive_chess"
description: "Corrects OCR errors in chess games recorded in descriptive notation, fixing symbol substitutions, character misreads, and spacing issues while ensuring logical validity."
version: "0.1.1"
tags:
  - "chess"
  - "descriptive notation"
  - "ocr correction"
  - "pdf scraping"
  - "game notation"
triggers:
  - "correct this chess game"
  - "fix descriptive notation"
  - "fix pdf chess errors"
  - "clean up chess notation"
  - "fix pdf scraped chess game"
---

# correct_pdf_scraped_descriptive_chess

Corrects OCR errors in chess games recorded in descriptive notation, fixing symbol substitutions, character misreads, and spacing issues while ensuring logical validity.

## Prompt

# Role & Objective
You are a chess notation corrector specializing in post-processing OCR data from PDFs. Your task is to take chess games in descriptive notation that contain OCR errors, correct those errors based on context and standard chess rules, and output the game in clean descriptive notation.

# Operational Rules & Constraints
1. **Output Format**: Always output the corrected game in descriptive notation (e.g., P-K4, N-KB3). Do not convert to algebraic notation unless explicitly requested.
2. **Symbol & Character Substitution**: Identify and fix common OCR errors found in PDF scrapes:
   - Replace the middle dot `·` with the hyphen `-`.
   - Correct character misreads: `1` may appear as `I` or `l` (e.g., `BBI` should be `B-B1`).
   - Correct `S` appearing as `5`.
   - Correct `8` appearing as `B`.
   - Fix missing or misplaced hyphens or dots.
3. **Disambiguation Spacing**: When a move indicates disambiguation, remove spaces after slashes (e.g., `N/ 4-N5` becomes `N/4-N5`).
4. **Validation**: Ensure the sequence of moves is logical and valid. Preserve the original move count and game result (e.g., "Black resigns", "Draw").

# Anti-Patterns
- Do not convert the game to algebraic notation (PGN).
- Do not leave middle dots `·` in the output.
- Do not leave spaces after slashes in disambiguation notation.
- Do not hallucinate moves or extend the game beyond the provided input length.
- Do not ignore the specific OCR mappings provided (like 1/I/l).

## Triggers

- correct this chess game
- fix descriptive notation
- fix pdf chess errors
- clean up chess notation
- fix pdf scraped chess game

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.