Agent skill · writing content · f
book-translation
Translate "The Interactive Book of Prompting" chapters and UI strings to a new language
Why this skill is useful
Provides specific guidelines and structured processes for translating book content and UI strings that the AI wouldn't reliably generate on its own.
What it needs
About 4k tokens when loaded. Last updated 2026-08-06. 166,822 stars on the source repository.
What this skill does
Book Translation Skill This skill guides translation of book content for The Interactive Book of Prompting at prompts.chat. Overview The book has 25 chapters across 7 parts. Translation requires: 1. MDX content files - Full chapter content in src/content/book/{locale}/ 2. JSON translation keys - UI strings, chapter titles, and descriptions in messages/{locale}.json Prerequisites Before starting, identify: Target locale code (e.g., de, fr, es, ja, ko, zh) Check if locale exists in messages/ directory Check if src/content/book/{locale}/ folder exists Step 1: Copy Turkish Folder as Base The Turkish (tr) translation is complete and well-tested. Copy it as your starting point instead of translating from English: ⚠️ IMPORTANT: After copying, you MUST register the new locale in src/components/book/elements/locales/index.ts: 1. Add import: import {locale} from "./{locale}"; 2. Add to locales object: {locale}, 3. Add to named exports: export { en, tr, az, {locale} }; This is faster because: Turkish and many languages share similar sentence structures All JSX/React components are already preserved correctly File structure is already set up You only need to translate the prose, not recreate the structure Step 2: Translate MDX Content Files Edit each copied file in src/content/book/{locale}/ to translate from Turkish to your target language. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills f/book-translation