What problem does it solve? Legacy C/C++ codebases often contain unguarded division operations that crash when the divisor is zero. Manually finding, assessing, and rewriting every division across hundreds of .cpp files is slow and error-prone, especially in Big5-encoded BCB6 projects. ## Core Features & Use Cases - Division Discovery: Scans all .cpp files with regex-based filtering that skips comments, string literals, preprocessor directives, and C++ keywords, producing a candidate CSV. - Risk Filtering: Analyzes 20 lines of surrounding context to exclude divisions already protected by if-checks, ternary guards, constant divisors, or existing safe-template calls. - Automated Replacement: Generates Old-to-New expression pairs and applies them bottom-up using Big5/CP950 encoding, wrapping risky divisions in the ChangeToFloatNonPcnt safe template. - Post-Replacement Verification: Detects and auto-repairs two known corruption patterns (member-function misplacement and function-argument separation), then produces a Traditional Chinese report. - Use Case: A maintainer of a BCB6 machine-control project needs to harden 300 division sites against divide-by-zero crashes before release; the skill scans, filters, replaces, verifies, and reports in one workflow. ## Quick Start Ask the AI to scan the project directory for all division operations, filter out the ones already protected against zero divisors, and replace the risky ones with the ChangeToFloatNonPcnt safe template.