xiaohongshu
xiaohongshu
i18n-check
Analyze code for internationalization issues, understanding the UI context and user impact before flagging problems. Use when reviewing code for global readiness.
Full skill instructions
Analyze code for internationalization issues, with emphasis on understanding impact and user experience.
This is not about flagging every hardcoded string. It's about asking:
"If someone in Cairo, Munich, or Tokyo uses this, will it work for them?"
i18n issues aren't just bugs—they're barriers. A date shown as "12/05/2024" is ambiguous to most of the world. A text field that truncates German words breaks the experience. A layout that assumes left-to-right excludes 400 million RTL readers.
The user may specify a file path, glob pattern, or directory. If not specified, ask what they'd like to check.
Before starting, check for .inclusion-config.md in the project root.
If it exists:
## i18n Analysis: [path]
**Skipped:** i18n checks disabled per project config (US-only)
To re-enable, update .inclusion-config.md
First, read the code to understand:
Think through what users see:
Critical (breaks functionality):
Serious (degraded experience):
Minor (suboptimal):
left/right instead of logical propertiesNot everything needs fixing. Use judgment:
Probably needs attention:
Probably fine:
For detailed patterns to check, see references/i18n-checklist.md. Use this as a guide for what to look for, not a checklist to grep through.
Keep it compact. Group by severity, use tables, actionable fixes.
## i18n Analysis: [path]
[1-2 sentences: What is this? i18n setup present? Overall readiness?]
**Readiness:** Not ready / Partial / Good / Excellent
---
### Critical (breaks functionality)
| Location | Issue | Who's Affected | Fix |
|----------|-------|----------------|-----|
| form.tsx:17 | Hardcoded MM/DD/YYYY | Non-US users (ambiguous date) | `Intl.DateTimeFormat(locale)` |
| form.tsx:52 | Required "State" field | International users | Make optional or use "Region" |
### Serious (degraded experience)
| Location | Issue | Who's Affected | Fix |
|----------|-------|----------------|-----|
| card.tsx:34 | Fixed 200px width | German (+30% text) | Use flexible width |
| btn.tsx:72 | `text-align: left` | RTL users (Arabic, Hebrew) | `text-align: start` |
### Minor (improvements)
| Location | Issue | Fix |
|----------|-------|-----|
| utils.ts:15 | Hardcoded `$` | `Intl.NumberFormat` |
---
### Exceptions
- Timestamp in logger.ts:8 — internal debug, fine
### Summary
**5 issues**: 2 critical, 2 serious, 1 minor. Priority: date format and State field block international users.
**i18n setup:** None detected. Consider react-intl or i18next.
A linter would flag every margin-left. You should:
Your value is understanding user impact, not finding patterns.
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience