skills/frontend-i18n-orchestrator/SKILL.md
End-to-end i18n orchestration for frontend repositories. Use when a user wants to internationalize React/Vue/Next/Nuxt/Vite projects with minimal questions: auto-detect stack and current i18n state, ask only unresolved business decisions, migrate hardcoded strings to locale keys, localize formatting and routing/SEO, and enforce CI quality gates.
npx skillsauth add howell5/willhong-skills frontend-i18n-orchestratorInstall 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.
Internationalize frontend projects with an auto-first workflow:
Do not start bulk code edits before finishing detection and decision confirmation.
Use this skill in both Codex and Claude Code.
$frontend-i18n-orchestrator (or by selecting the skill in UI).Run repository detection first.
Recommended command:
<skill_dir>/scripts/detect_i18n_profile.sh .
The script writes i18n-profile.json in repository root.
Detect at minimum:
lang, hreflang, canonicalRead i18n-profile.json, then ask only missing or ambiguous decisions.
Use question set from references/question-flow.md.
Never ask questions that are already confidently detected.
When presenting questions, start with a short auto-detection summary:
Use framework-specific guidance from references/framework-playbooks.md.
Plan the migration with these phases:
lang, hreflang, canonical, sitemap.Prefer incremental slices (page/module by page/module) over big-bang rewrites.
For each phase:
If a phase introduces conflicts or uncertainty, stop and ask a targeted question.
Run baseline validation:
<skill_dir>/scripts/validate_i18n_basics.sh .
Then integrate project-native checks (lint/test/build/CI) for:
Fail CI on configured strict rules after migration baseline is stable.
Always end with a concise report:
/en/... vs subdomain vs domain)references/question-flow.mdreferences/framework-playbooks.mdreferences/claude-code-usage.mdscripts/detect_i18n_profile.shscripts/validate_i18n_basics.shdevelopment
Generate VitePress documentation sites for source code learning and analysis. Use when creating tutorials that explain how a codebase is implemented internally.
testing
从核心观点生成优质社媒长文。运用 4D 框架深度分析选题,去除 AI 味,6 维度评审确保质量。
development
Use when exploring unfamiliar codebases, before searching for code, or after editing files. Builds a structural AST index (classes, functions, imports, call graph) from 12 languages via tree-sitter. Trigger: /graphify
testing
检查本次对话的改动是否需要更新项目 CLAUDE.md。分析代码变更,识别新模式和约定,建议更新内容。