Book Translation
Step-by-step playbook for translating a 31-chapter prompting book and its interactive demo strings into a new locale.
- CCM score
- 67 of 100
- skills.sh installs
- 694
- GitHub stars
- 178.8K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers copying the Turkish translation as a base, then translating MDX chapters, JSON keys, and locale data files
- Includes a 31-row chapter table, JSON structure examples for titles, parts, and demo examples, and a
check-translations.jsverification step - Enforces locale registration in
src/components/book/elements/locales/index.ts, and requires JSX, code blocks, and Markdown syntax to stay unchanged - Designed for contributors localizing prompts.chat's book at
/bookwho work in multiple agentic sessions
Install
$ npx -y skills add f/prompts.chat --skill book-translation -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Book Translation Skill
This skill guides translation of book content for The Interactive Book of Prompting at prompts.chat.
Overview
The book has 31 chapters across 7 parts. Translation requires:
- MDX content files - Full chapter content in
src/content/book/{locale}/ - 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:
mkdir -p src/content/book/{locale}
cp -r src/content/book/*.mdx src/content/book/{locale}/
cp src/components/book/elements/locales/en.ts src/components/book/elements/locales/{locale}.ts
Details
- Repository
- github.com/f/prompts.chat
- Categories
- Writing & Content, Learning & Teaching
- First seen
- Jun 3, 2026
Questions
What does the book-translation skill do?
The book-translation skill translates the chapters of The Interactive Book of Prompting and its UI strings into a new language. It copies the complete Turkish translation as a base, then guides the agent through the MDX content files and the JSON translation keys.
Who is the book-translation skill for?
It is for developers and translators who work on the prompts.chat repository and want to add a new locale to The Interactive Book of Prompting. The steps assume a target locale code such as de, fr or ja.
How do I install the book-translation skill?
Run npx -y skills add f/prompts.chat --skill book-translation -y in your project. After installing, the agent can copy the Turkish base, translate the chapter files, and register the new locale in the book elements index.
Where does book-translation stand in the Writing & Content category?
The skill is listed in the Writing & Content category alongside writing-beats, writing-shape, writing-fragments, wait-what and copywriting. Unlike those general writing skills, it covers the specific workflow for translating this one interactive book.
More from f/prompts.chat
All 4Similar to Book Translation
More Writing & Contenttranslate-bookSkilldeusyu/translate-book2.1K installsTranslate entire books from PDF, DOCX, or EPUB into any language via parallel sub-agents and Markdown chunks.
translate-book-parallelSkillreason-machines/trending-skills1.3K installsParallel, resumable book translation for PDF, DOCX, and EPUB files using Claude Code subagents.
i18n-localizationPluginalirezarezvani/claude-skills30.7K starsShip a new language without the usual breakage. Three deterministic stdlib scripts: a translation-file checker for JSON/ARB (i18next, ICU), .properties, .string
next-intl-add-languageSkillgithub/awesome-copilot9.4K installsStep-by-step guide for adding a new language to a Next.js app that uses next-intl.
baoyu-translateSkilljimliu/baoyu-skills26.5K installsTranslate a source article to Chinese or English with quick, normal, or refined modes and custom glossaries.