â ã¹ãã«äžèŠ§ã«æ»ã
name: translate-article
description: Translate MDX articles between English and Japanese for global engineers. Use when the user says "translate this article", "convert to Japanese/English", or asks to localize content in

translate-article
by nozomi-koborinai
𪎠A repository for building personal homepages and technical garden on GCP
â 7ðŽ 0ð
2026幎1æ24æ¥
SKILL.md
name: translate-article
description: Translate MDX articles between English and Japanese for global engineers. Use when the user says "translate this article", "convert to Japanese/English", or asks to localize content in src/content/docs/. Auto-detects source language and outputs to the correct i18n path.
Translate Article
Translate MDX articles in src/content/docs/ between English and Japanese, targeting global engineering audiences.
Workflow
- Detect source language from the article content
- Translate using guidelines below
- Write to the correct output path
Path Rules
| Source | Target | Example |
|---|---|---|
| English (root) | Japanese | tech/foo.mdx â ja/tech/foo.mdx |
Japanese (ja/) | English (root) | ja/tech/foo.mdx â tech/foo.mdx |
Translation Guidelines
Preserve (Do NOT translate)
- Code blocks and inline code
- Technical terms: API, JSON, REST, HTTP, OAuth, JWT, SDK, CLI, etc.
- Product/service names: Firebase, Vercel, GitHub, etc.
- URLs and file paths
- Frontmatter fields:
slug,sidebar,draft,editUrl
Translate
- Frontmatter:
title,description - Prose paragraphs
- Comments explaining code (translate the explanation, not the code)
- Alt text for images
Style for Global Engineers
English output:
- Use simple, direct sentences
- Prefer active voice
- Avoid idioms and cultural references
- Use standard technical terminology
Japanese output:
- Use ã§ã/ãŸã form
- Keep sentences concise
- Preserve English technical terms in katakana only when commonly used (e.g., ã¯ã©ãŠã, ãµãŒããŒ)
- Keep original English for terms engineers use as-is (e.g., API, JSON, Firebase)
Example
English source (tech/auth.mdx):
---
title: Authentication Guide
description: Learn how to implement OAuth 2.0 authentication.
---
# Authentication Guide
This guide explains how to set up OAuth 2.0 in your app.
\`\`\`typescript
const token = await getAccessToken();
\`\`\`
Japanese output (ja/tech/auth.mdx):
---
title: èªèšŒã¬ã€ã
description: OAuth 2.0 èªèšŒã®å®è£
æ¹æ³ã解説ããŸãã
---
# èªèšŒã¬ã€ã
ãã®ã¬ã€ãã§ã¯ãã¢ããªã« OAuth 2.0 ãèšå®ããæ¹æ³ã説æããŸãã
\`\`\`typescript
const token = await getAccessToken();
\`\`\`
ã¹ã³ã¢
ç·åã¹ã³ã¢
65/100
ãªããžããªã®åè³ªææšã«åºã¥ãè©äŸ¡
âSKILL.md
SKILL.mdãã¡ã€ã«ãå«ãŸããŠãã
+20
âLICENSE
ã©ã€ã»ã³ã¹ãèšå®ãããŠãã
+10
â説ææ
100æå以äžã®èª¬æããã
0/10
â人æ°
GitHub Stars 100以äž
0/15
âæè¿ã®æŽ»å
3ã¶æä»¥å ã«æŽæ°ããã
0/10
âãã©ãŒã¯
10å以äžãã©ãŒã¯ãããŠãã
0/5
âIssue管ç
ãªãŒãã³Issueã50æªæº
+5
âèšèª
ããã°ã©ãã³ã°èšèªãèšå®ãããŠãã
+5
âã¿ã°
1ã€ä»¥äžã®ã¿ã°ãèšå®ãããŠãã
+5
ã¬ãã¥ãŒ
ð¬
ã¬ãã¥ãŒæ©èœã¯è¿æ¥å ¬éäºå®ã§ã
