android-emulator
ما الذي تفعله
تستخدم هذه المهارة أداة agent-device لتشغيل تطبيقات أصلية وReact Native وExpo وFlutter واختبارها على محاكي Android. وهي موجهة للمطورين الذين يريدون التحقق من تغيير على Android.
متى تستخدمها
- ✓عندما تريد التحقق من أن تغيير تطبيق Android يعمل في المحاكي.
- ✓عندما تريد إعادة إنتاج خطأ خطوة بخطوة على محاكي Android.
- ✓عندما تريد لقطات شاشة وسجلات من اختبار فاشل لتطبيق Android.
رابط المهارة
https://github.com/callstack/agent-device/blob/main/skills/android-emulator/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“شغّل تطبيق Flutter الخاص بي على محاكي Android، واشرح لي مسار الدفع خطوة بخطوة، مع لقطات شاشة إن فشل أي شيء.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يفتح الوكيل التطبيق على المحاكي، ويقرأ شاشته، وينقر ويكتب عبر الخطوات. ويجمع لقطات الشاشة وتفاصيل التصحيح عندما تفشل خطوة.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Android Emulator
Require the agent-device CLI to be installed separately before driving an emulator:
npm install -g agent-device@latest
Treat installation and upgrades as user-owned setup steps. Do not run that command autonomously or substitute a mutable npx -y agent-device@latest invocation.
For a normal app-driving task, start immediately. Do not probe first with --help, --version, devices, appstate, snapshot, or screenshot. Target Android explicitly when opening an app or package id:
agent-device open <app-or-package-id> --platform android --foreground
Follow the initial interactive snapshot and corrective error hints. If the shell reports that agent-device is unavailable, stop and ask the user to install it or expose their existing installation on PATH.
When you finish, if your session booted the emulator, run agent-device close --shutdown, unless the user asks to keep it running.
Only when the task is specialized or a command shape is unclear, read the relevant version-matched help topic:
agent-device help validate # engineering validation and build freshness
agent-device help debugging # screenshots, logs, traces, video, and failures
agent-device help react-native # React Native and Expo runtime guidance
agent-device help react-devtools # React components, props/state/hooks, render profiling
agent-device help scripting # durable replay and CI workflows
الأسئلة الشائعة
هل أحتاج إلى تثبيت شيء أولًا؟
نعم. يجب أن تثبّت أداة agent-device بنفسك قبل أن يستخدمها الوكيل.
هل سيحدّث الوكيل الأداة لي؟
لا. التثبيت والتحديث خطوات تقوم بها أنت، لا الوكيل.
ماذا يحدث للمحاكي عند انتهاء الاختبار؟
إذا شغّلت الجلسة المحاكي، يغلقه الوكيل إلا إذا طلبت إبقاءه شغالًا.
التفاصيل
الوصف الأصلي من المؤلف
Verify and debug native, React Native, Expo, or Flutter apps on an Android Emulator with agent-device. Use when an agent needs to launch an app, inspect its live UI, tap, type, scroll, validate a code change, collect failure evidence, or reproduce a workflow on an Android virtual device.
repo: callstack/agent-device
الشعبية
- نجوم GitHub
- 5.2k
- الترتيب
- #15027
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
agent-device
5.2kتتيح لوكيلك فتح تطبيقات على أجهزة Apple وAndroid، بما فيها أجهزة التلفاز، والتحكم فيها بالنقر والكتابة وقراءة الشاشة.
dogfood
5.2kتتيح لوكيلك استكشاف تطبيق جوال على iOS أو Android كمختبر، يبحث عن الأخطاء والنقاط الخشنة، ويحفظ أدلة لكل مشكلة.
ios-simulator
5.2kتساعد وكيلك على فتح تطبيق iPhone أو iPad في محاكي Apple، وفحص شاشته، والمرور على خطوات لاختبار تغيير.
مهارات مشابهة
android-clean-architecture
280kينظّم وكيلك مشاريع أندرويد بكفاءة، ويبني الشيفرة بطريقة تجعل الصيانة وإضافة الميزات الجديدة أسهل.
compose-multiplatform-patterns
280kيساعد وكيلك على استعمال أنماط Compose Multiplatform وJetpack Compose في مشاريع KMP، وتشمل الحالة والتنقل والتصميم والأداء.
dart-flutter-patterns
280kيساعد وكيلك على كتابة شيفرة تطبيقات Dart وFlutter، باستعمال أنماط حديثة لبناء تطبيقات متينة وسهلة الإدارة.