Guidance for generating legal chess moves using only regex pattern matching and substitution. This skill applies when implementing chess move generators constrained to regex-only solutions, FEN notation parsing/manipulation, or similar pattern-matching-based board game logic. Use this skill for tasks requiring regex-based state transformations on structured string representations.
安装
npx skills add benchflow-ai/skillsbench --skill regex-chessnpx skills add benchflow-ai/skillsbench --skill regex-chess -a claude-code -gnpx skills add benchflow-ai/skillsbench --skill regex-chess -a codex -ggemini skills install https://github.com/benchflow-ai/skillsbench.git --path registry/terminal_bench_2.0/letta_skills_batch/terminal_bench_2_0_regex-chess/environment/skills/regex-chessgh skill install benchflow-ai/skillsbench regex-chessgit clone --depth 1 https://github.com/benchflow-ai/skillsbench /tmp/benchflow-ai__skillsbench
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/benchflow-ai__skillsbench/registry/terminal_bench_2.0/letta_skills_batch/terminal_bench_2_0_regex-chess/environment/skills/regex-chess ~/.claude/skills/regex-chess # Claude Code
cp -R /tmp/benchflow-ai__skillsbench/registry/terminal_bench_2.0/letta_skills_batch/terminal_bench_2_0_regex-chess/environment/skills/regex-chess ~/.agents/skills/regex-chess # Codex, Cursor, Gemini CLI, Copilot, OpenCode