langbot-testing
它能做什么
这个技能展示 AI 智能体如何通过 LangBot 的网页界面并阅读后端日志,来检查 LangBot 是否正常工作。适合 LangBot 的测试人员和开发者。
适用场景
- ✓当你想确认 LangBot 模型提供商的设置及其测试按钮可以正常工作时。
- ✓当 LangBot 调试对话或流水线需要端到端检查时。
- ✓当 LangBot 浏览器测试失败,你需要在日志中找出原因时。
技能链接
https://github.com/langbot-app/LangBot/blob/master/skills/skills/langbot-testing/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我需要在网页界面中测试 LangBot 模型提供商的设置,并确认测试按钮是否可用。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会在自动化浏览器中打开 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
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
langbot-deploy
19k帮你的智能体使用 Docker、Compose 或 Kubernetes 部署并配置自托管的 LangBot 实例,包括其模型和 API 密钥设置。
langbot-env-setup
19k帮你的智能体在本地运行 LangBot 测试环境,包括启动检查、代理设置,以及保持登录状态的浏览器。
langbot-mcp-ops
19k让你的智能体通过 LangBot 内置的 MCP 服务器管理实例,处理机器人、流水线、模型和知识库,无需原始网页调用。
langbot-plugin-dev
19k教你的智能体构建、调试和测试 LangBot 插件,包括插件的各个部分、插件 SDK 以及自动化的 WebSocket 测试运行。