Skip to main content

معلومات المصدر

المستودع
google/adk-kotlin
آخر نشاط في المصدر
٧ أكتوبر ٢٠٢٦ في ١٢:٢٤
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٢٧١
التفرعات
٤٣

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.

مستكشف الملفات
3 ملفات

عرض SKILL.md

SKILL.md
تعليمات المصدر · معاينة للقراءة فقط
name
translate
description
Translates a common phrase into one or more languages.
Translate a phrase using the bundled phrasebook, rather than from memory. Run `scripts/translate.py` with Python 3 through the `run_skill_script` tool, from the skill's directory so that it finds the phrasebook. The script takes the phrase as its first argument, followed by one argument per target language, and prints one `language: translation` line per language. Quote the phrase. Example usage: call the `run_skill_script` tool with `skill_name` "translate", `file_path` "scripts/translate.py", and this `command`: ``` cd skills/translate && python3 scripts/translate.py 'good morning' french japanese ``` That prints: ``` french: bonjour japanese: ohayō ``` The phrasebook covers a small set of phrases (hello, goodbye, thank you, good morning, please, yes, no) in Spanish, French, German, Polish, and Japanese. The script exits with a non-zero status and writes to stderr when a phrase or language is missing; report that to the user instead of guessing a translation.
عرض على GitHub