baoyu-translate
यह क्या करती है
यह स्किल भाषाओं के बीच टेक्स्ट का अनुवाद करती है और उसे नए पाठकों के लिए स्थानीय रूप भी दे सकती है। यह उन लेखकों और पाठकों के लिए है जो एक से ज़्यादा भाषाओं में सामग्री के साथ काम करते हैं।
कब इस्तेमाल करें
- ✓जब आप कोई लेख चीनी या अंग्रेज़ी में अनुवाद करवाना चाहते हैं।
- ✓जब आपको जल्दी का ड्राफ़्ट अनुवाद चाहिए या सावधानी से प्रूफ़रीड किया हुआ।
- ✓जब आपके पास शब्दों की शब्दावली सूची है जिसे एक जैसा रहना चाहिए।
Skill का लिंक
https://github.com/JimLiu/baoyu-skills/blob/main/skills/baoyu-translate/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इस लेख का परिष्कृत अनुवाद चीनी में कीजिए, और मेरी शब्दावली के शब्द वैसे ही रखिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
आपका एजेंट लंबे markdown को हिस्सों में बाँटता है, आपके चुने मोड में उनका अनुवाद करता है, और जहाँ आप शब्दावली देते हैं वहाँ उसका उपयोग करता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Translator
User Input Tools
When this skill prompts the user, follow this tool-selection rule (priority order):
- Prefer built-in user-input tools exposed by the current agent runtime — e.g.,
AskUserQuestion,request_user_input,clarify,ask_user, or any equivalent. - Fallback: if no such tool exists, emit a numbered plain-text message and ask the user to reply with the chosen number/answer for each question.
- Batching: if the tool supports multiple questions per call, combine all applicable questions into a single call; if only single-question, ask them one at a time in priority order.
Concrete AskUserQuestion references below are examples — substitute the local equivalent in other runtimes.
Script Directory
{baseDir} = this SKILL.md's directory. ${BUN_X} = bun if installed; else npx -y bun if npx available; else suggest installing bun. Replace {baseDir} and ${BUN_X} with actual values.
| Script | Purpose |
|---|---|
scripts/main.ts |
CLI entry point. Default action splits markdown into chunks; also supports explicit chunk subcommand |
scripts/chunk.ts |
Markdown chunking implementation used by main.ts and kept compatible for direct invocation |
Preferences (EXTEND.md)
First one found wins:
| Priority | Path | Scope |
|---|---|---|
| 1 | .baoyu-skills/baoyu-translate/EXTEND.md |
Project |
| 2 | ${XDG_CONFIG_HOME:-$HOME/.config}/baoyu-skills/baoyu-translate/EXTEND.md |
XDG |
| 3 | $HOME/.baoyu-skills/baoyu-translate/EXTEND.md |
User home |
- Found → read and apply. On first use in a session, remind briefly: "Using preferences from [path]. You can edit EXTEND.md to customize glossary, audience, etc."
- Not found → BLOCKING first-time setup before any translation; never silently use defaults. Ask all questions in references/config/first-time-setup.md (target language, mode, audience, style, save location) in ONE call, write EXTEND.md at the chosen location, confirm "Preferences saved to [path]", then continue.
Supports: target language, mode, audience, glossaries (inline or file path), style, chunk settings. Schema: references/config/extend-schema.md.
Defaults
EXTEND.md overrides defaults; CLI flags override EXTEND.md.
| Setting | Default | EXTEND.md key | CLI flag |
|---|---|---|---|
| Target language | zh-CN |
target_language |
--to |
| Mode | normal |
default_mode |
--mode |
| Audience | general |
audience |
--audience |
| Style | storytelling |
style |
--style |
| Chunk threshold (words, triggers chunking) | 4000 |
chunk_threshold |
— |
| Chunk max words | 5000 |
chunk_max_words |
— |
Modes
| Mode | Flag | Steps | When to Use |
|---|---|---|---|
| Quick | --mode quick |
Translate | Short texts, informal content, quick tasks |
| Normal | --mode normal (default) |
Analyze → Translate | Articles, blog posts, general content |
| Refined | --mode refined |
Analyze → Translate → Review → Polish | Publication-quality, important documents |
Auto-detection: "快翻", "quick", "直接翻译" → quick; "精翻", "refined", "publication quality", "proofread" → refined; otherwise the default mode.
Style presets (voice and tone, independent of audience; custom descriptions accepted, e.g. --style "poetic and lyrical"):
| Value | Description | Effect |
|---|---|---|
storytelling |
Engaging narrative flow (default) | Draws readers in, smooth transitions, vivid phrasing |
formal |
Professional, structured | Neutral tone, clear organization, no colloquialisms |
technical |
Precise, documentation-style | Concise, terminology-heavy, minimal embellishment |
literal |
Close to original structure | Minimal restructuring, preserves source sentence patterns |
academic |
Scholarly, rigorous | Formal register, complex clauses OK, citation-aware |
business |
Concise, results-focused | Action-oriented, executive-friendly, bullet-point mindset |
humorous |
Preserves and adapts humor | Witty, playful, recreates comedic effect in target language |
conversational |
Casual, spoken-like | Friendly, approachable, as if explaining to a friend |
elegant |
Literary, polished prose | Aesthetically refined, rhythmic, carefully crafted word choices |
Audience presets (custom descriptions accepted, e.g. `--audience
अक्सर पूछे जाने वाले सवाल
तीन मोड कौन से हैं?
तेज़, सामान्य और परिष्कृत, जो गति और सावधान प्रूफ़रीडिंग के बीच संतुलन बनाते हैं।
क्या मैं अपनी शब्दावली इस्तेमाल कर सकता हूँ?
हाँ। स्किल कस्टम शब्दावली सपोर्ट करती है, ताकि मुख्य शब्द हर बार एक जैसे अनुवादित हों।
लंबे लेखों को यह कैसे संभालती है?
यह markdown को हिस्सों में बाँटती है, ताकि लंबे दस्तावेज़ टुकड़ों में अनुवादित हो सकें।
जानकारी
लेखक का मूल विवरण
This skill should be used when the user asks to "translate", "翻译", "精翻", "translate article", "translate to Chinese", "translate to English", "改成中文", "改成英文", "convert to Chinese", "localize", "本地化", "refined translation", "精细翻译", "proofread translation", "快速翻译", "快翻", "这篇文章翻译一下", or provides a URL/file with translation intent. Supports three modes (quick/normal/refined) with custom glossary support.
repo: JimLiu/baoyu-skills
लोकप्रियता
- GitHub स्टार
- 27k
- रैंकिंग में स्थान
- #9964
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
release-skills
27kयह आपके एजेंट को किसी भी प्रोजेक्ट के रिलीज़ में मार्गदर्शन देती है: वर्ज़न बढ़ाना, changelog अपडेट करना और GitHub release या tag प्रकाशित करना।
baoyu-article-illustrator
27kयह आपके एजेंट को लेख में चित्र जोड़ने में मदद करती है, उन जगहों को खोजकर जहाँ विज़ुअल चाहिए, और एक ही शैली में इमेज बनाकर।
baoyu-comic
27kयह आपके एजेंट को पैनल, कला शैलियों और लहजों के साथ शैक्षिक कॉमिक बनाना दिखाती है, जैसे जीवनी या ट्यूटोरियल।
baoyu-compress-image
27kयह आपके एजेंट को इमेज फ़ाइलों को WebP या PNG में बदलकर छोटा करने देती है, स्वचालित टूल चयन के साथ, ताकि वे तेज़ी से लोड हों।
मिलती-जुलती skills
obsidian-vault-maintainer
394kयह आपके एजेंट को Obsidian के अनुकूल मेमोरी vault व्यवस्थित रखने देती है, जिसमें काम करने वाले wiki लिंक, एक जैसी properties और सुरक्षित जेनरेटेड सेक्शन हों।
wiki-maintainer
394kयह आपके एजेंट को OpenClaw मेमोरी wiki दोहराए जा सकने वाले पेजों, सुरक्षित मैनेज्ड ब्लॉक्स और विरोधाभास या कमियों की जांच के साथ संभालने देती है।
obsidian
394kयह आपके एजेंट को आधिकारिक Obsidian कमांड-लाइन से Obsidian नोट्स, टास्क, लिंक और properties पढ़ने, खोजने, बनाने और बदलने देती है।