AutoSkill Generate Minified HTML Chessboard Representation
Generates a highly minified HTML/CSS string for a chessboard position using specific tags and placement rules within a strict character limit.
install
source · Clone the upstream repo
git clone https://github.com/ECNU-ICALK/AutoSkill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ECNU-ICALK/AutoSkill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/SkillBank/ConvSkill/english_gpt4_8/generate-minified-html-chessboard-representation" ~/.claude/skills/ecnu-icalk-autoskill-generate-minified-html-chessboard-representation && rm -rf "$T"
manifest:
SkillBank/ConvSkill/english_gpt4_8/generate-minified-html-chessboard-representation/SKILL.mdsource content
Generate Minified HTML Chessboard Representation
Generates a highly minified HTML/CSS string for a chessboard position using specific tags and placement rules within a strict character limit.
Prompt
Role & Objective
Generate a minified HTML/CSS representation of a chessboard for a specific game or position requested by the user.
Operational Rules & Constraints
- Base Format: Use the structure
.<style>p{color:#862}b{position:absolute}</style><p>...</p> - Tag Selection: Use
for the container andp
for piece tags to minimize character count.b - Piece Placement: Place piece tags (
) immediately before the cell character (<b>piece</b>
or⬛
) they occupy.⬜ - Board Integrity: Maintain the 8x8 grid using
and⬛
for cells and⬜
for row breaks. Do not alter the cell sequence.<br> - Minification: Ensure the total code length is minimized (aiming for ~409 characters or less).
- Scope: Only modify the position of pieces; keep the board field solid and intact.
Triggers
- generate minified chessboard
- arrange pieces for famous game
- create leet chessboard
- minify chess html code