hup-incremental-localization-workflow
Handles localization updates, bundle caching, and release syncing for desktop shell systems.
Install
mkdir -p .claude/skills/hup-incremental-localization-workflow && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/14989" && unzip -o skill.zip -d .claude/skills/hup-incremental-localization-workflow && rm skill.zipInstalls to .claude/skills/hup-incremental-localization-workflow
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Work with HGP incremental localization sources, compiled locale bundles, and release-time locale mirroring. Use when changing src-tauri/localizations, shell localization bootstrap/cache logic, or the release workflow that freezes the current English working file into the next increment for every official locale.Key capabilities
- →Refactor locale packs into source directories
- →Build shell bootstrap logic for compiled locale bundles
- →Implement per-locale bundle cache metadata
- →Update localization validation scripts
- →Add release-time command to freeze English working files
- →Manage official and community locale chains
How it works
This skill manages the HGP incremental localization workflow by defining rules for mutable working files, immutable historical increments, and release-time freezing. It also covers shell-side bundle compilation and caching.
Inputs & outputs
When to use hup-incremental-localization-workflow
- →Update localization source files for the next release
- →Configure the locale bundle compiler and cache
- →Freeze English working files into a new locale increment
About this skill
HGP Incremental Localization Workflow
Use this skill when working on the desktop-shell localization system under
src-tauri/localizations, the shell-side bundle compiler and
cache, or the release-time workflow that advances official locale chains.
The mutable pre-release working file is
src-tauri/localizations/en/working.json.
When To Use
- Refactor flat locale packs into per-locale source directories
- Build or change shell bootstrap logic for compiled locale bundles
- Implement per-locale bundle cache metadata or incremental replay
- Update localization validation or sync scripts for the incremental layout
- Add the release-time command that freezes the current English working file into the next increment for every official locale
- Review locale workflow questions such as
working file,increment,official locale,community locale,bundle cache, orfallback locale
Critical Rules
- Canonical source: English is the canonical authoring source during normal development.
- Mutable work surface: immediately after each release, create
src-tauri/localizations/en/working.jsonfor the next localization cycle; only that file may be edited during day-to-day development. - Frozen history: numbered
increment-<n>.jsonfiles are release artifacts and must remain immutable once created. - Release freeze: the release workflow freezes the current English working
file into the next numbered increment and mirrors that increment into every
other official locale, including
en. - Runtime ownership: the desktop shell consumes compiled locale bundles, not raw increment sources.
- Cache ownership: bundle cache validity is keyed to the frozen increment chain plus the current working-file state for the locale being compiled.
- Selector contract: primary locale selection may include community locales; fallback locale selection must include official locales only.
- Terminal fallback: English remains the terminal fallback bundle when a key is absent from other bundles.
Procedure
- Start from the smallest localization surface that still controls the behavior: source layout, shell bootstrap/cache logic, or release tooling.
- Keep official locale source discovery directory-driven; do not reintroduce hardcoded locale file names.
- Treat
en/working.jsonas the only mutable localization input between releases; never patch a historical numbered increment to add new copy. - Separate persisted editable locale sources from derived compiled bundle cache.
- Preserve community locales in persisted storage when syncing official locales.
- When implementing caching, prefer per-locale incremental replay from the last frozen increment plus one mutable working overlay rather than replaying the full chain on every boot.
- When implementing release tooling, freeze only the current working file; never rewrite historical numbered increments.
- After a release freeze, recreate
en/working.jsonfor the next cycle instead of leaving the mutable file absent. - Validate the narrowest affected surface first, then run the relevant build or test command for the touched shell or UI slice.
Validation
npm run localization:check- focused Rust tests for shell localization bootstrap, sync, and cache logic
cargo build --package desktop-shellwhen shell localization contracts changenpm run build --prefix src-reactwhen the frontend localization consumer changes
Limitations
- →Only src-tauri/localizations/en/working.json may be edited during day-to-day development
- →Numbered increment-<n>.json files must remain immutable once created
- →Never patch a historical numbered increment to add new copy
How it compares
This skill provides a specific, incremental workflow for managing localizations with distinct mutable and immutable states, unlike a general localization process that might overwrite previous translations.
Compared to similar skills
hup-incremental-localization-workflow side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| hup-incremental-localization-workflow (this skill) | 0 | 4mo | No flags | Advanced |
| build-macos-apps | 70 | 10mo | Review | Intermediate |
| cloudflare-manager | 25 | 11mo | Review | Intermediate |
| railway-cli-management | 9 | 10mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
build-macos-apps
glittercowboy
Build professional native macOS apps in Swift with SwiftUI and AppKit. Full lifecycle - build, debug, test, optimize, ship. CLI-only, no Xcode.
cloudflare-manager
qdhenry
Comprehensive Cloudflare account management for deploying Workers, KV Storage, R2, Pages, DNS, and Routes. Use when deploying cloudflare services, managing worker containers, configuring KV/R2 storage, or setting up DNS/routing. Requires CLOUDFLARE_API_KEY in .env and Bun runtime with dependencies installed.
railway-cli-management
CaptainCrouton89
Deploy, manage services, view logs, and configure Railway infrastructure. Use when deploying to Railway, managing environment variables, viewing deployment logs, scaling services, or managing volumes.
unity-editor-toolkit
Dev-GOM
Automate and control Unity Editor with 500+ commands, real-time WebSocket communication, and SQLite integration for efficient game development.
miniprogram-development
TencentCloudBase
WeChat Mini Program development rules. Use this skill when developing WeChat mini programs, integrating CloudBase capabilities, and deploying mini program projects.
azure-functions
aj-geddes
Create serverless functions on Azure with triggers, bindings, authentication, and monitoring. Use for event-driven computing without managing infrastructure.