← スキル䞀芧に戻る
nozomi-koborinai

translate-article

by nozomi-koborinai

🪎 A repository for building personal homepages and technical garden on GCP

⭐ 7🍎 0📅 2026幎1月24日
GitHubで芋るManusで実行

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

  1. Detect source language from the article content
  2. Translate using guidelines below
  3. Write to the correct output path

Path Rules

SourceTargetExample
English (root)Japanesetech/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

レビュヌ

💬

レビュヌ機胜は近日公開予定です