.claude/skills/check-i18n/SKILL.md
Validate that all translation keys used in source code exist in both en.json and hu.json. Use when the user runs /check-i18n or wants to audit translation completeness.
npx skillsauth add mark-lengyel-attrecto/movies-app-react check-i18nInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Translation files and source usage are pre-populated below. Analyse them, then report.
messages/en.json:
!cat messages/en.json
messages/hu.json:
!cat messages/hu.json
useTranslations / getTranslations calls (gives namespace per file):
!grep -rn "useTranslations\|getTranslations" src/ --include="*.tsx" --include="*.ts" 2>/dev/null || echo "(none)"
t('key') calls:
!grep -rn "t('" src/ --include="*.tsx" --include="*.ts" 2>/dev/null || echo "(none)"
!grep -rn 't("' src/ --include="*.tsx" --include="*.ts" 2>/dev/null || echo "(none)"
Using the data above, check for:
useTranslations/getTranslations that doesn't exist as a top-level key in en.json or hu.jsont('key') call whose key doesn't exist inside its namespace in either fileen.json but is absent from hu.json, or vice versaReport each issue with the file and line where it's used. If everything is in sync, confirm that clearly.
development
Sync AI documentation (CLAUDE.md, AGENTS.md, memory files) with recent code changes. Use when the user runs /sync-ai-docs, has just finished writing code manually, has completed a notable feature or refactor, or asks to update/sync the project AI docs.
tools
Add a new page to the app following project conventions. Use when the user runs /new-page or asks to create a new route or page.
development
Detect unused files, exports, and dependencies with knip. Use when the user runs /find-dead-code or asks to find dead code, unused exports, or unused dependencies.
development
Audit the codebase for project-specific convention violations. Use when the user runs /check-conventions or asks to validate that the code follows project conventions.