langbot-testing
Skill này làm gì
Skill này chỉ cho một agent AI cách kiểm tra LangBot hoạt động đúng bằng giao diện web và đọc log backend. Dành cho người kiểm thử và lập trình viên của LangBot.
Khi nào nên dùng
- ✓Khi bạn muốn xác nhận thiết lập nhà cung cấp mô hình LangBot và nút kiểm thử của nó hoạt động.
- ✓Khi một cuộc trò chuyện gỡ lỗi hoặc pipeline LangBot cần được kiểm tra đầu cuối.
- ✓Khi một bài kiểm thử trình duyệt LangBot thất bại và bạn cần tìm nguyên nhân trong log.
Liên kết skill
https://github.com/langbot-app/LangBot/blob/master/skills/skills/langbot-testing/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tôi cần kiểm thử thiết lập nhà cung cấp mô hình LangBot trong giao diện web và xem nút kiểm thử có hoạt động không.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent mở giao diện web LangBot trong một trình duyệt tự động, chạy luồng được yêu cầu, và đọc log backend. Một hướng dẫn định tuyến chỉ nó đến ghi chú phù hợp cho từng khu vực.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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.
Câu hỏi thường gặp
Skill này có kiểm thử code mà không cần trình duyệt không?
Không. Nó kiểm tra hành vi qua giao diện web và cũng dùng log backend.
Nó bao phủ những phần nào của LangBot?
Giao diện web, trò chuyện gỡ lỗi pipeline, thiết lập nhà cung cấp mô hình, plugin và cơ sở tri thức, cùng nhiều phần khác.
Các bước chi tiết được giữ ở đâu?
Skill gửi agent đến các ghi chú tham chiếu riêng cho từng khu vực, nên nó chỉ đọc những gì cần.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 19k
- Vị trí xếp hạng
- #10514
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
langbot-deploy
19kGiúp agent của bạn triển khai và cấu hình một instance LangBot tự lưu trữ bằng Docker, Compose hoặc Kubernetes, kèm cài đặt mô hình và khóa API.
langbot-env-setup
19kGiúp agent của bạn chạy môi trường kiểm thử LangBot cục bộ, gồm kiểm tra khởi động, cài đặt proxy và trình duyệt giữ đăng nhập.
langbot-mcp-ops
19kCho phép agent của bạn quản lý instance LangBot qua máy chủ MCP tích hợp sẵn, xử lý bot, pipeline, mô hình và cơ sở tri thức mà không cần gọi web thô.
langbot-plugin-dev
19kDạy agent của bạn xây dựng, gỡ lỗi và kiểm thử plugin LangBot, gồm các thành phần, SDK plugin và các lượt kiểm thử WebSocket tự động.
Skill tương tự
test-driven-development
311kDạy agent của bạn viết kiểm thử thất bại trước, xem nó thất bại, rồi viết đoạn mã ngắn nhất để vượt qua trước khi làm bất kỳ tính năng hay bản sửa nào.
verification-before-completion
311kDạy agent của bạn chạy kiểm tra thực tế và đọc kết quả đầu ra trước khi khẳng định một việc, bản sửa hoặc bản build đã hoàn thành hay vượt qua.
migrate-to-shoehorn
310kThay các ép kiểu rủi ro trong tệp kiểm thử bằng thư viện shoehorn, để các bài kiểm thử dùng dữ liệu một phần vẫn qua được kiểm tra kiểu.