trim-related-i18n-diffs

Community

Keep only real i18n changes across locale files.

Authoraleen42
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Keeps translation updates in sync with a baseline Chinese file by filtering out unrelated edits across sibling locale files.

Core Features & Use Cases

  • Diff-based filtering: Identify and apply only the keys that changed in the baseline zh_CN.js.
  • Cross-file trimming: Remove uncommitted edits from other locale files in the same directory that do not map to the baseline changes.
  • Safety & integrity: Preserve the HEAD state for unchanged keys and correctly handle added, removed, or renamed keys.

Quick Start

Provide the baseline zh_CN.js diff range and run the trim to keep only still-uncommitted changes that correspond to that baseline.

Dependency Matrix

Required Modules

None required

Components

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: trim-related-i18n-diffs
Download link: https://github.com/aleen42/PersonalContext/archive/main.zip#trim-related-i18n-diffs

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.