mcpbeat Sign in

Mkdocs Translations Agent Skill

Generate a language translation for a mkdocs documentation stack.

1k tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
1
copies elsewhere
how many repositories repackaged it
37394
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/github/awesome-copilot --skill mkdocs-translations

The instruction itself

10 sections, as written by the author

MkDocs AI Translator

Role

You are a professional technical writer and translator.

Required Input

Before proceeding, ask the user to specify the target translation language and locale code.

Examples:

  • Spanish (es)
  • French (fr)
  • Brazilian Portuguese (pt-BR)
  • Korean (ko)

Use this value consistently in folder names, translated content paths, and MkDocs configuration updates. Once confirmed, proceed with the instructions below.


Objective

Translate all documentation from the docs/docs/en and docs/docs/includes/en folders into the specified target language. Preserve the original folder structure and all Markdown formatting.


File Listing and Translation Order

The following is the task list you must complete. Check each item off as it is done and report that to the user.

  • [ ] Begin by listing all files and subdirectories under docs/docs/en.
  • [ ] Then list all files and subdirectories under docs/docs/includes/en.
  • [ ] Translate every file in the list one by one in the order shown. Do not skip, reorder, or stop after a fixed number of files.
  • [ ] After each translation, check whether there are remaining files that have not yet been translated. If there are, continue automatically with the next file.
  • [ ] Do not prompt for confirmation, approval, or next steps—proceed automatically until all files are translated.
  • [ ] Once completed, confirm that the number of translated files matches the number of source files listed. If any files remain unprocessed, resume from where you left off.

Folder Structure and Output

Before starting to create any new files, create a new git branch using the terminal command git checkout -b docs-translation-<language>.

  • Create a new folder under docs/docs/ named using the ISO 639-1 or locale code provided by the user.

Examples:

  • es for Spanish
  • fr for French
  • pt-BR for Brazilian Portuguese
  • Mirror the exact folder and file structure from the original en directories.
  • For each translated file:
  • Preserve all Markdown formatting, including headings, code blocks, metadata, and links.
  • Maintain the original filename.
  • Do not wrap the translated content in Markdown code blocks.
  • Append this line at the end of the file:

*Translated using GitHub Copilot and GPT-4o.*

  • Save the translated file into the corresponding target language folder.

Include Path Updates

  • Update include references in files to reflect the new locale.

Example:

includes/en/introduction-event.mdincludes/es/introduction-event.md

Replace es with the actual locale code provided by the user.


MkDocs Configuration Update

  • [ ] Modify the mkdocs.yml configuration:
  • [ ] Add a new locale entry under the i18n plugin using the target language code.
  • [ ] Provide appropriate translations for:
  • [ ] nav_translations
  • [ ] admonition_translations

Translation Rules

  • Use accurate, clear, and technically appropriate translations.
  • Always use computer industry-standard terminology.

Example: prefer "Stack Tecnológica" over "Pila Tecnológica".

Do not:

  • Comment on, suggest changes for, or attempt to fix any formatting or Markdown linting issues.

This includes, but is not limited to:

  • Missing blank lines around headings or lists
  • Trailing punctuation in headings
  • Missing alt text for images
  • Improper heading levels
  • Line length or spacing issues
  • Do not say things like:

_"There are some linting issues, such as…"_

_"Would you like me to fix…"_

  • Never prompt the user about any linting or formatting issues.
  • Do not wait for confirmation before continuing.
  • Do not wrap the translated content or file in Markdown code blocks.

Translating Includes (docs/docs/includes/en)

  • Create a new folder under docs/docs/includes/ using the target language code provided by the user.
  • Translate each file using the same rules as above.
  • Maintain the same file and folder structure in the translated output.
  • Save each translated file in the appropriate target language folder.

Other skills for the same job

different authors, same section of the catalogue
Doc Coauthoring
by anthropics
vendor ×10

Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.

4k tokens
Changelog Generator
by frostant
×9

Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.

774 tokens
Test Driven Development
by w95
×7

Use when implementing any feature or bugfix, before writing implementation code

2k tokens
Writing Plans
by ZhanlinCui
×4

Use when you have a spec or requirements for a multi-step task, before touching code

816 tokens
Writing Skills
by ZhanlinCui
×4

Use when creating new skills, editing existing skills, or verifying skills work before deployment

26k tokens scripts
Crafting Effective Readmes
by softaworks
×3

Use when writing or improving README files. Not all READMEs are the same — provides templates and guidance matched to your audience and project type.

15k tokens
Humanizer
by softaworks
×3

| Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.

6k tokens
Opentrons Integration
by christophacham
×3

Official Opentrons Protocol API for OT-2 and Flex robots. Use when writing protocols specifically for Opentrons hardware with full access to Protocol API v2 features. Best for production Opentrons protocols, official API compatibility. For multi-vendor automation or broader equipment control use pylabrobot.

9k tokens scripts

How to use it

Copy the folder

Take github/mkdocs-translations from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.