Skip to content
Back to skills

I18n Completeness Sakataka Tetris Game2

ASecurity

Comprehensive i18n consistency check with dynamic pattern detection and hardcoded string analysis. Use when working with translations, localization, i18n keys, or when the user mentions translation issues, missing keys, or language support. Auto-triggers on phrases like "check translations", "i18n consistency", "localization issues", or "translation keys".

  • 666 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 9, 2026
toolsbash

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill i18n-completeness-sakataka-tetris-game2 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of I18n Completeness Sakataka Tetris Game2?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for I18n Completeness Sakataka Tetris Game2
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-i18n-completeness-sakataka-tetris-game2/badge)](https://www.skillsdirectory.com/skills/majiayu000-i18n-completeness-sakataka-tetris-game2)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: i18n-completeness
description: Comprehensive i18n consistency check with dynamic pattern detection and hardcoded string analysis. Use when working with translations, localization, i18n keys, or when the user mentions translation issues, missing keys, or language support. Auto-triggers on phrases like "check translations", "i18n consistency", "localization issues", or "translation keys".
allowed-tools: Bash(bun run check:i18n*), Read, Edit, Grep, Glob
---

# i18n Consistency Check & Cleanup

Comprehensive i18n analysis tool for the Tetris project supporting 2 languages (Japanese, English).

## Quick Check

```bash
bun run check:i18n
```

## Detection Capabilities

### πŸ”΄ Missing Keys (Critical)
- Keys used in code but not present in translation files
- **Priority**: Critical (causes runtime errors)
- **Impact**: Displays raw translation keys to users
- **Action**: Add missing keys to all translation files immediately

### πŸ“ Hardcoded Strings (i18n Compliance)
- User-facing strings not using `t()` function
- **Examples**: "AI Replay", "Start AI", "Loading..."
- **Scope**: Production code only (test files excluded)
- **Action**: Convert to translation keys for proper localization

### πŸ”„ Dynamic Key Patterns (Analysis Required)
- Template literal patterns like `t(\`game.${type}\`)`
- **Analysis**: Validates all possible key combinations exist
- **Action**: Verify all generated keys are defined

### ⚠️ Unused Keys (Optimization)
- Keys present in translation files but not used in code
- **Priority**: Medium (cleanup opportunity)
- **Action**: Remove unnecessary keys to optimize file size

## Workflow

1. **Execute Check**: Run `bun run check:i18n`
2. **Identify Issues**: List Missing/Unused keys
3. **Propose Fixes**: Present specific correction methods
4. **Confirm Execution**: Ask user to approve modifications
5. **Apply Fixes**: Update translation files after approval
6. **Verify**: Re-run check after modifications

## Translation Files

- `src/assets/locales/ja.json` - Japanese translations (default)
- `src/assets/locales/en.json` - English translations

## Safety Measures

- Re-verify usage before key deletion
- Execute consistent operations across all language files
- Validate JSON syntax after modifications
- Confirm no issues with tests and build

## When This Skill Activates

- "Check translations"
- "i18n consistency check"
- "Are all translation keys defined?"
- "Find hardcoded strings"
- "Translation cleanup"
- "Localization issues"
- "Missing translation keys"

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.