agentsclimarketplace

Correct pdf scraped descriptive chess

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/correct_pdf_scraped_descriptive_chess

AutoSkill: Experience-Driven Lifelong Learning via Skill Self-Evolution

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill correct_pdf_scraped_descriptive_chess

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

What its author says it does

Copied from the file, not written here

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

SKILL.md

2.4 KB, as published. Nobody here has run it

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

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.