What problem does it solve? Divalto text files (.dhsp, .dhsq, .dhsd, .dhsf, .dhpt, .dhps) must use ISO-8859-1 encoding with CRLF line endings, but standard editors and AI coding tools write UTF-8 with LF, corrupting files and causing compilation errors like Erreur 135. This Skill provides scripts that create, patch, verify, and repair Divalto files while guaranteeing the correct encoding. ## Core Features & Use Cases - Safe file creation and rewriting: write_file.py creates files in ISO-8859-1 + CRLF with automatic .bak backups and a guaranteed final CRLF. - Surgical patching: patch_file.py inserts, replaces, or deletes lines by anchor or line range without rewriting the whole file, with --expect guards, --dry-run previews, and automatic refusal of structured files (.dhsd, .dhsf, .dhsi). - Verification and repair: verify_encoding.py detects UTF-8, LF, BOM, and missing final CRLF; convert_file.py fixes corrupted files with backup and post-conversion verification. - Use Case: A developer needs to insert a line after "Procedure Init" in an existing .dhsp file. The Skill patches only that location, preserves all other content, backs up the original, and re-verifies encoding automatically. ## Quick Start Ask the AI to create a Divalto .dhsp file containing a simple procedure with French comments, then verify its encoding.