encoding-guard

Community

Detect mojibake and prevent text loss.

Authormuddyrain
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill helps prevent encoding corruption and silent text loss when editing source files containing non-ASCII text (e.g., Chinese, Japanese, Korean). It guards against Mojibake and unexpected replacement of user-visible text during edits.

Core Features & Use Cases

  • Seamless detection of mojibake with actionable recovery guidance.
  • Detection of suspicious text-loss such as repeated '?' in user-visible strings or JSX-like content.
  • Safe editing workflow guidance, including pre- and post-edit checks and corrective recommendations.

Quick Start

Run this tool before and after edits to detect mojibake and suspicious text-loss with python .codex/skills/encoding-guard/scripts/check_mojibake.py.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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: encoding-guard
Download link: https://github.com/muddyrain/valley-mas/archive/main.zip#encoding-guard

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.