OpenParable
Skip to content
← Back to skills

Edoc Generator

Documents
edoc-generator

Edoc Generator is an Agent Skill for documents published in the MatrixAges/polywise repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Specialized for translating document files and their content into English. Triggered when localization, translation, or converting Chinese documents to English is requested.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/MatrixAges/polywise/blob/HEAD/.opencode/skills/edoc-generator/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/edoc-generator, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

English Doc Generator

This skill is specialized for Chinese-English translation and conversion of documents in the project.

1. Translation Guidelines

  • Accuracy: Must accurately convey the technical meaning of the original Chinese document.
  • Professional Terminology: For technical terms (such as Agent, Prompt, Context, Dependency Injection, etc.), industry-standard English terms must be used.
  • Markdown Format: After translation, the original Markdown format must be strictly maintained (including code blocks, bold, lists, links, etc.).

2. Execution Flow

  1. Read Original: Read the user-specified Chinese .md document.
  2. Terminology Alignment: Check if the document contains project-specific abbreviations or codes, and decide their English translation strategy.
  3. Paragraph-by-Paragraph Translation: Convert content to English with appropriate localization polish.
  4. Overwrite or Save As: Based on user's specific requirements, overwrite the original file with English content or save as a new file (e.g., README_EN.md).