【强制触发·最高优先级·write 工具拦截】跨平台纯文本文件写入技能。 ## ‼️ WRITE 工具拦截规则(最高优先级,无豁免) 当你准备调用内置 `write` 工具写任何文本文件时,必须先执行此检查: > 这个文件是最终目标文件吗? > → 是 → 立即停止,改用此技能的 scripts/write_fi...
qclaw-text-file 1.0.0 - Introduces a strict, enforced rule set mandating all pure text file writes use this skill’s scripts, never the built-in write tool, for all code, data, config, and script files. - Implements automatic encoding and line ending adaptation (including utf-8/utf-8-sig/GBK, BOM handling, CRLF/LF), ensuring platform compatibility and preventing encoding issues. - Provides detailed command-line interface and decision flow for target platform detection and --platform flag usage. - Covers a comprehensive range of file types (code, config, scripts, data, markup, and more) with per-platform default encoding logic. - Outputs clear, structured JSON results, including error handling for write failures and encoding problems. - Only binary files (images, audio, etc.) are exempt from interception by this skill.