wl-encoding-and-regex
CommunityPrevent encoding bugs and regex mishandling in Wolfram files.
Software Engineering#regular expression#wolfram language#unicode escaping#encoding safety#windows mathematica#json over http
Authortransreal
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents Wolfram Language (.wl/.m) editing and generation from breaking due to Unicode escape misuse, double-escaped RegularExpression patterns, and Windows Mathematica ShiftJIS/CP932 encoding issues, which can lead to garbled Japanese text or syntax/runtime errors.
Core Features & Use Cases
- Unicode escape validation: Detects prohibited \uXXXX and \xNN patterns in notebook-generated Mathematica code blocks and enforces correct handling for Japanese text and .wl package editing rules.
- RegularExpression double-escape verification: Ensures escape sequences inside RegularExpression strings are not over-escaped or mis-escaped so patterns match as intended.
- Windows HTTP/API encoding safety: Enforces safe request/response encoding for HTTP bodies by using ByteArray paths to avoid implicit system-encoding corruption.
Quick Start
Ask your AI to verify that the generated .wl/.m content contains no prohibited Unicode escapes and that RegularExpression strings are correctly escaped for Wolfram Language.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: wl-encoding-and-regex Download link: https://github.com/transreal/claudecode/archive/main.zip#wl-encoding-and-regex Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.