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/config/first-time-setup.md
1---2name: first-time-setup3description: First-time setup flow for baoyu-translate preferences4---56# First-Time Setup78## Overview910When no EXTEND.md is found, guide user through preference setup.1112**BLOCKING OPERATION**: This setup MUST complete before ANY translation. Do NOT:13- Start translating content14- Ask about files or output paths15- Proceed to any workflow steps1617ONLY ask the questions in this setup flow, save EXTEND.md, then continue.1819## Setup Flow2021```22No EXTEND.md found23|24v25+---------------------+26| AskUserQuestion |27| (all questions) |28+---------------------+29|30v31+---------------------+32| Create EXTEND.md |33+---------------------+34|35v36Continue translation37```3839## Questions4041**Language**: Use user's input language or saved language preference.4243Use AskUserQuestion with ALL questions in ONE call:4445### Question 1: Target Language4647```yaml48header: "Target Language"49question: "Default target language?"50options:51- label: "简体中文 zh-CN (Recommended)"52description: "Translate to Simplified Chinese"53- label: "繁體中文 zh-TW"54description: "Translate to Traditional Chinese"55- label: "English en"56description: "Translate to English"57- label: "日本語 ja"58description: "Translate to Japanese"59```6061Note: User may type a custom language code.6263### Question 2: Translation Mode6465```yaml66header: "Mode"67question: "Default translation mode?"68options:69- label: "Normal (Recommended)"70description: "Analyze content first, then translate"71- label: "Quick"72description: "Direct translation, no analysis"73- label: "Refined"74description: "Full workflow: analyze → translate → review → polish"75```7677### Question 3: Target Audience7879```yaml80header: "Audience"81question: "Default target audience?"82options:83- label: "General readers (Recommended)"84description: "Plain language, more translator's notes for jargon"85- label: "Technical"86description: "Developers/engineers, less annotation on tech terms"87- label: "Academic"88description: "Formal register, precise terminology"89- label: "Business"90description: "Business-friendly tone, explain tech concepts"91```9293Note: User may type a custom audience description.9495### Question 4: Translation Style9697```yaml98header: "Style"99question: "Translation style?"100options:101- label: "Storytelling (Recommended)"102description: "Engaging narrative flow, smooth transitions"103- label: "Formal"104description: "Professional, structured, neutral tone"105- label: "Technical"106description: "Precise, documentation-style, concise"107- label: "Literal"108description: "Close to original structure"109- label: "Academic"110description: "Scholarly, rigorous, formal register"111- label: "Business"112description: "Concise, results-focused, action-oriented"113- label: "Humorous"114description: "Preserves humor, witty, playful"115- label: "Conversational"116description: "Casual, friendly, spoken-like"117- label: "Elegant"118description: "Literary, polished, aesthetically refined"119```120121Note: User may type a custom style description.122123### Question 5: Save Location124125```yaml126header: "Save"127question: "Where to save preferences?"128options:129- label: "User (Recommended)"130description: "$HOME/.baoyu-skills/ (all projects)"131- label: "Project"132description: ".baoyu-skills/ (this project only)"133```134135## Save Locations136137| Choice | Path | Scope |138|--------|------|-------|139| User | `$HOME/.baoyu-skills/baoyu-translate/EXTEND.md` | All projects |140| Project | `.baoyu-skills/baoyu-translate/EXTEND.md` | Current project |141142## After Setup1431441. Create directory if needed1452. Write EXTEND.md with selected values1463. Confirm: "Preferences saved to [path]"1474. Mention: "You can add custom glossary terms to EXTEND.md anytime. See the `glossary` section in the file for the format."1485. Continue with translation using saved preferences149150## EXTEND.md Template151152```yaml153target_language: [zh-CN/zh-TW/en/ja/...]154default_mode: [quick/normal/refined]155audience: [general/technical/academic/business/custom]156style: [storytelling/formal/technical/literal/academic/business/humorous/conversational/elegant]157158# Custom glossary (optional) — add your own term translations here159# glossary:160# - from: "Term"161# to: "翻译"162# - from: "Another Term"163# to: "另一个翻译"164# note: "Usage context"165```166167## Modifying Preferences Later168169Users can edit EXTEND.md directly or delete it to trigger setup again.170