langbot-testing
ما الذي تفعله
تُظهر هذه المهارة لوكيل الذكاء الاصطناعي كيفية التأكد من أن LangBot يعمل، باستخدام واجهته الويب وقراءة سجلات الخلفية. وهي لمختبري LangBot ومطوريه.
متى تستخدمها
- ✓عندما تريد التأكد من أن إعداد مزود نموذج في LangBot وزر اختباره يعملان.
- ✓عندما تحتاج دردشة تصحيح أو خط معالجة في LangBot إلى فحص من البداية إلى النهاية.
- ✓عندما يفشل اختبار متصفح في LangBot وتحتاج إلى إيجاد السبب في السجلات.
رابط المهارة
https://github.com/langbot-app/LangBot/blob/master/skills/skills/langbot-testing/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أحتاج إلى اختبار إعداد مزود النموذج في واجهة LangBot الويب ومعرفة إن كان زر الاختبار يعمل.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يفتح الوكيل واجهة LangBot الويب في متصفح آلي، ويشغّل التدفق المطلوب، ويقرأ سجلات الخلفية. ويوجهه دليل توجيه إلى الملاحظات المناسبة لكل مجال.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
LangBot Testing
Use this skill when an agent needs to verify LangBot behavior through the WebUI instead of only reading code.
Routing
- General WebUI testing: read
references/web-ui-testing.md. - Pipeline Debug Chat: read
references/pipeline-debug-chat.md. - Dify Runner: read
references/dify-agent-runner.md. - Model provider setup or test button: read
references/model-provider-testing.md. - Plugin install/runtime/tool/page smoke: read
references/plugin-e2e-smoke.md. - Local Runner: read
references/local-agent-runner.md. - Local Runner path coverage: read
references/local-agent-runner-coverage.md. - Diff-aware Runner QA after code changes: read
references/agent-runner-qa-workflow.md. - Runner release gate: read
references/agent-runner-release-gate.md. - Sandbox-backed skill authoring: read
references/sandbox-skill-authoring.md. - LangRAG knowledge bases: read
references/langrag-knowledge-base.md. - MCP stdio tool testing: read
references/mcp-stdio-testing.md. - Performance, reliability, or chaos probes: read
references/performance-reliability-testing.md. - Cross-repository workspace and release gates: read
references/workspace-release-testing.md. - Drive a live instance over MCP (not raw HTTP): use the
langbot-mcp-opsskill — the instance exposes an MCP server athttp://<host>:5300/mcp(reuses API keys). Useful for setting up bots/pipelines/models as test fixtures programmatically. - Known failures and fixes: read
references/troubleshooting.md. - Reusable test groups: run
bin/lbs suite listandbin/lbs suite plan <suite-id>before manually assembling a case set.
Rules
- Read
../.envfirst and useLANGBOT_FRONTEND_URLandLANGBOT_BACKEND_URLinstead of hardcoded ports. - If a standalone frontend dev server is running,
LANGBOT_FRONTEND_URLmay point toLANGBOT_DEV_FRONTEND_URL; otherwise it may point to the backend WebUI. - Confirm the backend and frontend are actually running before testing.
- Run
bin/lbs fixture checkbefore fixture-heavy MCP, RAG, multimodal, or plugin smoke tests. - For runner externalization release checks, run
bin/lbs test run agent-runner-release-preflightbefore the fullagent-runner-release-gatesuite so configuration blockers are separated from product failures. - Read
Manual Readinessinbin/lbs test plan <case-id>;manual_checkmeans the declared preconditions or setup still need operator confirmation for this run. - Use an authenticated browser profile prepared by
langbot-env-setup. - Do not expose API keys, OAuth secrets, tokens, or localStorage token values in output.
- A WebUI test is not complete until the visible UI result is checked against backend logs or network behavior.
- A performance result is not complete without
metricsevidence and a clear split between LangBot overhead and external provider/tool/network time. - A chaos or reliability result is not complete until the fault scope, cleanup, and recovery checks are recorded.
- For a suite, use
bin/lbs suite start <suite-id>to create the suite evidence root, per-case directories, andsuite-start.json/suite-start.mdhandoff files; usebin/lbs test result <case-id>to write final per-caseresult.json, then runbin/lbs suite report <suite-id> --evidence-dir <dir>. - Do not mark a case
passuntiltest result --evidencecovers every value in the case'sevidence_required. - For runner-specific Debug Chat cases, use the case-specific pipeline env declared by
automation_pipeline_url_env/automation_pipeline_name_env; do not silently reuse a genericLANGBOT_PIPELINE_URL.
الأسئلة الشائعة
هل تختبر هذه المهارة الشيفرة دون متصفح؟
لا. تتحقق من السلوك عبر واجهة الويب، وتستخدم سجلات الخلفية أيضاً.
أي أجزاء من LangBot تغطيها؟
تغطي واجهة الويب ودردشة تصحيح خط المعالجة وإعداد مزود النموذج والإضافات وقواعد المعرفة، وغيرها.
أين توجد الخطوات التفصيلية؟
ترسل المهارة الوكيل إلى ملاحظات مرجعية منفصلة لكل مجال، فيقرأ فقط ما يحتاجه.
التفاصيل
الوصف الأصلي من المؤلف
Test LangBot WebUI and core product flows with an automated browser and backend logs. Use when validating the configured LangBot frontend, pipeline Debug Chat, model provider setup and test buttons, bot and knowledge-base UI flows, or troubleshooting failed LangBot end-to-end tests.
repo: langbot-app/LangBot
الشعبية
- نجوم GitHub
- 19k
- الترتيب
- #10514
- الترخيص
- Apache-2.0
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
langbot-deploy
19kيساعد وكيلك على نشر نسخة LangBot مستضافة ذاتياً وإعدادها باستخدام Docker أو Compose أو Kubernetes، مع إعدادات النموذج ومفتاح الواجهة البرمجية.
langbot-env-setup
19kيساعد وكيلك على تشغيل بيئة اختبار محلية لـ LangBot، مع فحوص بدء وإعدادات وكيل ومتصفح يبقى مسجّل الدخول.
langbot-mcp-ops
19kيتيح لوكيلك إدارة نسخة LangBot عبر خادم MCP المدمج فيها، فيتعامل مع الروبوتات وخطوط المعالجة والنماذج وقواعد المعرفة دون طلبات ويب خام.
langbot-plugin-dev
19kيعلّم وكيلك بناء إضافات LangBot وتصحيح أخطائها واختبارها، بما فيها أجزاؤها وحزمة تطويرها واختبارات WebSocket الآلية.
مهارات مشابهة
test-driven-development
311kيعلّم وكيلك كتابة اختبار فاشل أولًا، ثم رؤيته يفشل، ثم كتابة أصغر شيفرة تنجحه، قبل بناء أي ميزة أو إصلاح.
verification-before-completion
311kيعلّم وكيلك تشغيل فحوصات حقيقية وقراءة نتائجها قبل أن يقول إن المهمة أو الإصلاح أو البناء مكتمل أو ناجح.
migrate-to-shoehorn
310kيستبدل تأكيدات النوع الخطرة في ملفات الاختبار بمكتبة shoehorn، حتى تتمكن الاختبارات من استخدام بيانات جزئية وتجتاز فحوص الأنواع.