How arathi8/chess-trainer-system works
This is a small Python proof of concept for chess-move coaching: it validates a FEN position and UCI move, analyzes the position before and after the move with Stockfish, formats both evaluations into a coaching prompt, copies it to the clipboard, and prints it. The single script contains all product behavior; there is no documented README or separate subsystem architecture. Edges reflect calls visible in the excerpt.
Main entry points: chess_trainer_system_poc.py Prompt generation
Components 9
Position analysis
- Prompt generation
chess_trainer_system_poc.py - FEN parsing
chess_trainer_system_poc.py - Move validation
chess_trainer_system_poc.py - Stockfish engine
Coaching output
- Evaluation summary
chess_trainer_system_poc.py - Analysis formatting
chess_trainer_system_poc.py
Other components
- Chess user
- System clipboard
- Terminal output
Connections 8
- Chess user → Prompt generation: provides position
chess_trainer_system_poc.py - Prompt generation → FEN parsing: parses FEN
chess_trainer_system_poc.py - Prompt generation → Move validation: validates move
chess_trainer_system_poc.py - Prompt generation → Stockfish engine: analyzes positions
chess_trainer_system_poc.py - Prompt generation → Evaluation summary: formats results
chess_trainer_system_poc.py - Prompt generation → Analysis formatting: formats prompt
chess_trainer_system_poc.py - Prompt generation → System clipboard: copies prompt
chess_trainer_system_poc.py - Prompt generation → Terminal output: prints prompt
chess_trainer_system_poc.py