What problem does it solve?
This Skill provides a structured, production-ready approach to creating PowerShell scripts with robust encoding handling for Japanese environments, standardized headers, error handling, and logging.
Core Features & Use Cases
- Header-driven scripting: All scripts begin with a standard header including Synopsis, Description, Parameters, Examples, Notes, and Link.
- Encoding discipline: Save script files containing Japanese text in Shift_JIS (SJIS) with UTF-8 outputs for logs and data.
- Error handling & Logging: Centralized patterns for Try/Catch, error propagation, and structured log entries.
- GRANDIT ERP SQL integration: Guidance and patterns for interacting with SQL Server and exporting data for GRANDIT ERP workflows.
- Cross‑version compatibility: Supports both PowerShell 5.1 and PowerShell 7+ environments.
Quick Start
Create a new PowerShell script following the header structure, ensure the script is saved in Shift_JIS when it includes Japanese text, and verify that all outputs (logs and CSVs) are UTF-8 encoded.