Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Translate articles and documents between languages in three modes: quick, normal, and refined publication-quality.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
references/workflow-mechanics.md
1# Workflow Mechanics23Details for source materialization, output directory creation, and conflict resolution.45## Materialize Source67| Input Type | Action |8|------------|--------|9| File | Use as-is (no copy needed) |10| Inline text | Save to `translate/{slug}.md` |11| URL | Fetch content, save to `translate/{slug}.md` |1213`{slug}`: 2-4 word kebab-case slug derived from content topic.1415## Create Output Directory1617Create a subdirectory next to the source file: `{source-dir}/{source-basename}-{target-lang}/`1819Examples:20- `posts/article.md` → `posts/article-zh/`21- `translate/ai-future.md` → `translate/ai-future-zh/`2223## Conflict Resolution2425If the output directory already exists, rename the existing one to `{name}.backup-YYYYMMDD-HHMMSS/` before creating the new one. Never overwrite existing results.26