Commit Graph
2 Commits
Author SHA1 Message Date
affaan-m a0444eb8a6 feat(skills): add scoped JSON locale synchronization workflow
Preserve contributor history while applying the exact reviewed current-main repair.

Source-PR: https://github.com/affaan-m/ECC/pull/2444
Source-Parent: 21cb5e733f
Integration-Main: d3b8a3e908
Review-Manifest-SHA256: 4f76d01c75de844ab771a3d03e12e840565e73c6d8daa09ca7a1c0d3841e3607
2026-09-28 04:48:51 -04:00
BerkayandClaude Fable 5 21cb5e733f feat(skills): add i18n-sync skill for agent-driven locale file translation
Adds a community skill that turns the agent into the translation layer
for JSON locale files, delegating the deterministic work (key diffing,
lockfile staleness tracking, placeholder/glossary validation, safe JSON
writes) to the locakit CLI (npm, MIT, zero dependencies).

What makes it different from API-based translation flows:
- No translation API keys or SaaS accounts; the agent itself translates
- The skill instructs the agent to read each key's real usage context
  in the codebase before translating (nav label vs page title vs toast)
- locakit apply rejects keys that don't exist in the source locale,
  containing hallucinated keys
- locakit check gives CI-enforceable validation incl. a Turkish
  language pack (suffix-after-placeholder, dotless-uppercase-i)

Validated end-to-end on a production Next.js 16 portfolio: 175 keys
translated tr->en in one pass, locakit check reporting 0 errors.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-05 01:50:39 +03:00