Community라이팅 & 에디팅github.com

MoonshotAI/translate-docs

사용자 문서를 docs/zh/와 docs/en/ 간에 번역하고 동기화하여 docs/AGENTS.md에 정의된 진실 공급원 규칙을 따릅니다.

translate-docs란 무엇인가요?

이 스킬은 중국어(zh)와 영어(en)로 작성된 사용자 문서를 페이지 단위로 동기화하는 AI 에이전트 전용 도구입니다. `gen-docs`(증분 업데이트)와 `audit-docs`(전체 출시 전 감사) workflow에서 호출되어 두 로케일이 항상 일치하도록 보장합니다. 주요 기능은 변경된 파일을 감지하고(git diff 활용), 각 페이지를 섹션별로 번역하며, `docs/AGENTS.md`에 정의된 용어표, 타이포그래피 규칙, 진실 공급원 규칙을 엄격히 적용합니다. 지원하는 문서 유형으로는 일반 페이지(`docs/en/`, `docs/zh/` 미러 쌍), 변경 로그(`release-notes/changelog.md`, 영어→중국어), 주요 변경 사항(`release-notes/breaking-changes.md`, 영어→중국어)이 있습니다. 번역 시 코드 블록, 명령어, 파일 경로, URL, 인라인 코드는 그대로 유지하며, 중국어 문서는 한자와 ASCII 문자 사이에 공백을 삽입하고 전각 문장 부호를 사용합니다. 최종적으로 빌드 테스트를 통해 문서 무결성을 검증합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/MoonshotAI/kimi-code/tree/main/.agents/skills/translate-docs

Installed? Explore more 라이팅 & 에디팅 skills: steipete/notion, langchain-ai/langchain, bytedance/podcast-generation · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

문서 번역 가이드

개요

이 저장소는 docs/zh/와 docs/en/ 아래에 사용자 문서를 이중 언어로 유지합니다. 이 스킬은 한쪽이 업데이트된 후 두 로케일을 페이지 단위로 동기화합니다.

이 스킬은 gen-docs(증분 업데이트)와 audit-docs(전체 출시 전 감사) 모두에서 호출되어 로케일 미러를 동기화 상태로 유지합니다.

사전 요구 사항

다음 중 하나라도 누락된 경우 중단하고 계속하기 전에 사용자에게 보고하십시오:

  • docs/zh/와 docs/en/의 미러된 디렉터리 구조
  • docs/AGENTS.md — 용어표, 타이포그래피 규칙, 진실 공급원 규칙

로케일 동기화 규칙

  • 변경 로그(release-notes/changelog.md): 영어가 원본입니다. 중국어로 번역하십시오.
  • 주요 변경 사항(release-notes/breaking-changes.md): 영어가 원본입니다. 중국어로 번역하십시오.
  • 기타 모든 페이지: docs/en/와 docs/zh/는 미러 쌍입니다. 어느 한쪽이 변경되면 동일한 변경에서 다른 로케일을 업데이트하십시오.

비변경 로그 페이지가 한 로케일에서 변경되면 출시 전에 미러를 동기화하십시오. 영어 변경 로그가 변경되면 중국어 변경 로그를 동기화하십시오.

작업 흐름

  1. 동기화가 필요한 항목 감지

    • git diff main..HEAD --stat docs/ — 어떤 파일이 변경되었는지 확인
    • docs/en/ 또는 docs/zh/ 아래의 각 변경된 파일에 대해 다른 로케일에서 해당 미러 파일을 찾습니다(동일한 상대 경로).
  2. 페이지별, 섹션별로 번역

    • 제목 계층 구조, 목록 구조, 코드 블록, 콜아웃 블록, 링크 대상을 두 버전 간에 동일하게 유지하십시오.
    • 기술 용어가 의심스러울 경우 실제 코드를 읽어 동작을 확인하고 추측하지 마십시오.
  3. docs/AGENTS.md의 용어 및 타이포그래피 규칙 적용

    • 용어표를 정확히 사용하십시오. 번역을 임의로 만들거나 동의어를 사용하지 마십시오.
    • 영어 H2+는 문장형 대문자(sentence case)를 사용합니다(용어표에 명시된 고유 명사 제외).
    • 중국어 타이포그래피: 전각 문장 부호(,。;:?!()), 한자와 ASCII 문자(영문자/숫자/인라인 코드/링크) 사이에 공백 삽입.
    • 콜아웃 제목(::: tip / ::: warning / ::: info / ::: danger)은 docs/AGENTS.md의 짧은 중국어 레이블을 사용하십시오.
  4. 검증

    • git diff docs/ — 용어 이탈이나 문장 부호 회귀 검사.
    • 가능하면 문서 빌드를 실행하여(pnpm --filter docs run build 또는 동등 명령) 끊어진 링크와 Markdown 오류를 잡으십시오.

규칙 및 관례

  • 일방적인 수정 금지: 변경된 로케일에 불명확하거나 부정확한 내용이 있으면 먼저 그쪽을 수정하고 미러만 패치하지 마십시오.
  • 단어뿐 아니라 스타일도 일치: 중국어 문서는 서술형 어조를 사용합니다(docs/AGENTS.md의 작성 스타일 예시 참조). 중국어에서는 그 어조를 유지하고, 영어에서는 문장형 대문자 제목과 간결한 영어 스타일을 유지하십시오.
  • 코드 블록과 식별자는 그대로 유지: 코드, 명령어 이름, 플래그 이름, 파일 경로를 번역하지 마십시오.
  • 공개 예제: 번역하면서 실제 내부 엔드포인트, 키 이름, 계정 이름, 서비스 이름을 도입하지 마십시오. 두 로케일에서 example.com, example.test, YOUR_API_KEY 등 중립적인 플레이스홀더로 유지하거나 대체하십시오.

일반적인 실수

  • 대상 언어에서 어색한 표현 때문에 미러만 다시 작성하는 경우 — 변경된 로케일을 먼저 수정한 후 동기화하십시오.
  • 영어 제목이 Title Case로 빠지는 경우(H2+는 문장형 대문자만 허용).
  • 중국어 문자와 인라인 코드 또는 영어 단어 사이에 공백을 추가하는 것을 잊는 경우.
  • 용어표에 나열된 고유 명사(Wire, MCP, ACP, JSON, OAuth, macOS, uv 등)를 번역하는 경우.
  • 한 방향만 업데이트하고 다른 로케일을 낡은 상태로 두는 경우 — diff로 표시된 모든 페이지를 항상 완료하십시오.
  • 중립적인 example 플레이스홀더 대신 실제 내부 값을 미러에 복사하는 경우.

Individual skills in this repo

This repo contains 13 individual skills — each has its own dedicated page.

MoonshotAI/agent-core-dev

Use when developing in packages/agent-core-v2 (the DI × Scope agent engine) — adding or modifying a domain Service, choosing a LifecycleScope, wiring DI dependencies, splitting a domain across scopes, owning or migrating a config section, gating behavior behind an experimental flag, raising coded errors, working on the permission system, writing DI/Scope tests, porting business logic from agent-core (v1) to v2, triaging a main-branch commit against v2, or exposing a v2 domain over server-v2 while keeping the /api/v1 wire contract compatible with released clients. Self-contained guide organized by development stage (orient → design → implement → test → verify) plus align workflows for v1→v2 migration, main-branch commit triage, and server-v2 wire exposure; each file carries the rules, examples, and red lines for its step.

MoonshotAI/agent-core-review

Use ONLY for code review and test write/review guidance in `packages/agent-core-v2` (the DI × Scope agent engine). Does NOT apply to the legacy `packages/agent-core` or to any other package — for those, do not load this skill. Groups the review and testing lenses used for agent-core-v2 — `slop` (single-level-of-abstraction / layered error-handling review, invoked only on explicit request) and `test` (contract-driven per-test rules for both authoring and reviewing tests). Apply the sub-skill that matches the task; do not apply `slop` unprompted.

MoonshotAI/consolidate

Apply an approved sub-skill grouping by moving user-specified skills into a parent bundle, with timestamped backups of every modified directory.

MoonshotAI/gen-changesets

Use when generating changesets in the kimi-code repository, including package bump selection, internal package and CLI bundle handling, bump levels, major confirmation, and English changelog wording.

MoonshotAI/gen-docs

Update Kimi Code CLI user documentation after meaningful code changes that affect product behavior or user experience.

MoonshotAI/kimi-datasource

Universal data-source assistant. Use this skill when the user wants external structured data such as stocks, financial reports, technical indicators, A-share/HK/US markets, global macroeconomics, Chinese enterprise registry information, arXiv papers, Google Scholar results, or Chinese laws/regulations and judicial cases. This plugin exposes tools via MCP server `plugin-kimi-datasource_data`; call them in the flow `mcp__plugin-kimi-datasource_data__get_data_source_desc` → `mcp__plugin-kimi-datasource_data__call_data_source_tool`.

MoonshotAI/pre-changelog

Use before merging a kimi-code release PR to preview the user-facing CLI changelog in Chinese. Reads the changelog that changesets pre-generated in the release PR, then reuses sync-changelog's strip / classify / translate logic to render a Chinese preview. Writes no files.

MoonshotAI/review

Analyze the available skill set and recommend candidate groups that could be consolidated into sub-skill bundles. Read-only — proposes a plan, does not move files.

MoonshotAI/slop

Invoke only when the user explicitly asks to review code through the "single level of abstraction / layered error handling" lens — a function does only its own layer's business logic while errors are handled above or below. The agent reports detections, raw-count measurements, and move directions. Apply only when the user explicitly requests this lens.

MoonshotAI/sub-skill

Discover and reorganize the skill inventory into hierarchical sub-skill bundles. Use when the user asks to review, group, or consolidate skills into a parent bundle.

MoonshotAI/sync-changelog

Use after a release succeeds, when maintainers need to sync apps/kimi-code/CHANGELOG.md into docs/en/release-notes/changelog.md and docs/zh/release-notes/changelog.md, then open a PR on a dedicated branch.

MoonshotAI/test

Use when writing or reviewing tests, or when asked how to write a good single test. Encodes the per-test rules behind the "test the contract / responsibility, not the implementation" principle — name and structure one behavior per `it`, drive through the public surface, stub only true external boundaries, control time and config via documented knobs, and keep tests clear, isolated, and refactor-resilient. The same rules drive both authoring (write mode) and auditing existing tests (review mode).

MoonshotAI/write-tui

Use when writing or modifying the kimi-code terminal UI in apps/kimi-code/src/tui — components, dialogs/selectors, slash commands, themes, streaming render, or the KimiTUI controllers. Covers the architecture, where new features go, test placement, the theme system mechanics, and the dialog interaction/visual spec (DESIGN.md).

관련 스킬