协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
localize【开发与工程】Run the localization workflow: extract strings, validate localization readiness, check for hardcoded text, and generate translation-ready string tables.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
When this skill is invoked:
Parse the subcommand from the argument:
scan — Scan for localization issues (hardcoded strings, missing keys)extract — Extract new strings and generate/update string tablesvalidate — Validate existing translations for completeness and formatstatus — Report overall localization statusFor scan:
src/ for hardcoded user-facing strings:
%s, %d) instead of named ones ({playerName})For extract:
assets/data/[category].[subcategory].[description]For validate:
assets/data/{name} but translation is missing it)For status:
## Localization Status
Generated: [Date]
| Locale | Total | Translated | Missing | Stale | Coverage |
|--------|-------|-----------|---------|-------|----------|
| en (source) | [N] | [N] | 0 | 0 | 100% |
| [locale] | [N] | [N] | [N] | [N] | [X]% |
### Issues
- [N] hardcoded strings found in source code
- [N] strings exceeding character limits
- [N] placeholder mismatches
- [N] orphaned keys (can be cleaned up)