Edoc Generator
Documentsedoc-generatorEdoc 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.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- 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
- Read Original: Read the user-specified Chinese
.mddocument. - Terminology Alignment: Check if the document contains project-specific abbreviations or codes, and decide their English translation strategy.
- Paragraph-by-Paragraph Translation: Convert content to English with appropriate localization polish.
- 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).