
Book Translation
Translates "The Interactive Book of Prompting" into new languages by guiding you through copying MDX chapter files, JSON UI strings, and interactive component locales. You'll work through 25 chapters across 7 parts, translating from English while preserving all JSX components and code blocks. The skill recommends copying the Turkish translation as your base since it maintains proper React structure, then registering your new locale in the components index (easy to miss but required for interactive demos to work). Includes a verification script and clear warnings about the steps people typically skip. Most useful if you're comfortable editing MDX and JSON but need the specific file paths and gotchas for this particular codebase.
- skills.sh installs
- 682
- GitHub stars
- 176.8K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add f/prompts.chat --skill book-translation --agent claude-codeInstalls into .claude/skills of the current project.
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
Sponsors
Details
- Repository
- github.com/f/prompts.chat
- Category
- Automation & Workflows
- First seen
- Jun 3, 2026