ワンクリックで
i18n
Add internationalization for new Chinese strings in JS files
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Add internationalization for new Chinese strings in JS files
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Debug frontend vanilla JS issues - console errors, rendering bugs, SPA navigation, WebSocket
Automates the process of setting up the first admin user or adding new admins via the bootstrap endpoint. Includes a Python script for easy execution.
Push to remote and wait for CI to pass. If CI fails, read logs, fix bugs, and re-push. Repeat until green.
Use when building or debugging LangGraph multi-agent systems - eval-first execution, task decomposition, model routing by complexity, and cost discipline
Use when AI agent modifies API routes or backend logic - catch systematic blind spots where the same model writes and reviews code
Use when making or recording significant architectural decisions - capture context, alternatives, and rationale as structured ADRs
| name | i18n |
| description | Add internationalization for new Chinese strings in JS files |
web/js/i18n/en.jsonweb/js/i18n/zh-TW.jsonweb/js/i18n.jswindow.I18n ? window.I18n.t('key') : 'fallback'Scan JS files for Chinese characters:
rg "[\u4e00-\u9fff]" web/js/<file>.js
<section>.<element> (e.g., settings.save, forum.postSuccess)// Before
element.textContent = '載入中...';
// After
element.textContent = window.I18n ? window.I18n.t('common.loading') : '載入中...';
For HTML attributes:
<h2 data-i18n="nav.forex">外匯市場</h2>
Always add the key to BOTH en.json AND zh-TW.json simultaneously.
common — shared (loading, error, save, cancel, etc.)nav — navigation labelssidebar — chat sidebarchat — chat interfacemarket — crypto market overviewpulse — AI pulse/analysisstatus — market status barmarketPage — market page shared stringsforex — forex pagecommodity — commodity pagetwstock — Taiwan stock pageusstock — US stock pagecrypto — crypto pageforum — forum pagefriends — friends pagemessages — messages pagesafety — safety/scam trackersettings — settings pagemodals — modal dialogssig.includes('突破'))