← Back to list

lingui
by RedBoardDev
⭐ 0🍴 0📅 Jan 19, 2026
SKILL.md
name: lingui description: Use lingui to manage translations. Use when adding/modifying translations.
Lingui
When to Use
Adding/modifying translations.
Rules
- React:
<Trans>Label</Trans>ort\Text`(viauseLingui()from@lingui/react/macro`) - Non-React:
msg\Text`(via@lingui/macro`) - Catalogues:
packages/i18n/locales/<locale>/messages.po - Commands:
npm run lingui:extract→ edit.po→npm run lingui:compile - Never use:
useTranslate, old i18n helpers
Workflow
- Identify context: React component/hook →
<Trans>/t\...`, Domain →msg`...`` - Detect old system:
useTranslate(), old helpers, anti-patterns - Propose Lingui API: React JSX →
<Trans>, React logic →t\...`, Domain →msg`...`` - Migration plan: replace old calls, structure messages, imports (see
references/patterns.md) - Catalogue update: extract → edit
.po→ compile - Verification: display in fr/en/de, no fallback, no old API residue, key consistency
Output
- i18n Context
- Old Implementation Analysis
- Proposed Lingui Strategy
- Migration / Addition Plan
- Catalogue Update
- Functional Verification
Guardrails
- Never reintroduce old API
- Never mix Lingui + old system
- Always use correct imports:
@lingui/react/macro,@lingui/react,@lingui/macro - Respect existing patterns in component
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon