Community编程与开发github.com

openclaw-qa-testing

运行、监控、调试、扩展或解释 OpenClaw qa-lab 和 qa-channel 场景、工件和实时测试流水线。

openclaw-qa-testing 是什么?

此技能专为 OpenClaw 项目的 QA 测试工作设计,旨在帮助开发者高效管理和执行 qa-lab 和 qa-channel 中的测试场景、工件及实时测试流水线。它支持从概要读取到完整套件运行、输出监控、故障修复及场景扩展的全流程,并特别强调了模型策略(如避免默认传递 --model 等标志)、凭证管理(通过 1Password 和详细的平台文档)以及实时测试结果的观察方式。该技能适用于任何需要自动化端到端 QA 测试的 OpenClaw 仓库,通过预定义的默认工作流(如 mock-openai 或 live-frontier 模式)简化操作,同时提供用于 OpenTelemetry 烟雾测试、字符评估和 WhatsApp 凭据管理的专用命令和参考链接。其实质是将分散的测试操作整合为一个可基于用户上下文自动决策的智能工作流,显著减少手动配置时间和错误可能性。

兼容平台~Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/.agents/skills/openclaw-qa-testing

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

OpenClaw QA 测试

使用此技能进行 qa-lab / qa-channel 相关工作。仅限仓库本地 QA。

首要阅读

  • docs/concepts/qa-e2e-automation.md
  • docs/help/testing.md
  • docs/channels/qa-channel.md
  • qa/README.md
  • qa/scenarios/index.yaml
  • extensions/qa-lab/src/suite.ts
  • extensions/qa-lab/src/character-eval.ts

模型策略

  • 正常的实时套件运行依赖 QA Lab 的源感知和认证感知默认值。
  • 不要默认传递 --model、--alt-model 或 --fast。省略 --fast 并不意味着 fast 被禁用;fast 行为由源方控制。
  • 对于特定场景的运行,完整的 execution.summary 是权威的,并覆盖通用的默认指导,包括当它要求其他标志时。仅当 execution.config.requiredProvider 或 requiredModel 要求时,才添加明确的提供者/模型固定。

默认工作流

  1. 读取场景包和当前套件实现。
  2. 决定运行模式:
    • 模拟/开发:mock-openai
    • 真实验证:live-frontier
  3. 对于正常的实时套件,使用:
pnpm openclaw qa suite \
  --provider-mode live-frontier \
  --output-dir .artifacts/qa-e2e/run-all-live-frontier-<tag>
  1. 监控输出:
    • 摘要:.artifacts/qa-e2e/run-all-live-frontier-<tag>/qa-suite-summary.json
    • 报告:.artifacts/qa-e2e/run-all-live-frontier-<tag>/qa-suite-report.md
  2. 如果用户想要监控实时用户界面,找到当前的 openclaw-qa 监听端口并报告 http://127.0.0.1:<port>。
  3. 如果场景失败,修复产品或测试框架的根本原因,然后重新运行整个流水线。

OTEL 烟雾测试

对于本地 QA-lab OpenTelemetry 验证,使用:

pnpm qa:otel:smoke

这将启动一个本地 OTLP/HTTP 跟踪接收器,通过 qa-channel 运行 otel-trace-smoke 场景,解码发出的 protobuf spans,并验证导出的跟踪名称和隐私契约。它不需要 Opik、Langfuse 或外部收集器凭证。

QA 凭证和 1Password

在任何 QA 密钥查找或需要凭证的流水线之前,完整阅读 QA 凭证和 1Password。该文档拥有 tmux 专属的密钥访问、批准的引用、Convex 角色以及缺失引用处理。分派操作不会配置凭证或绕过拒绝。

WhatsApp 实时凭证

对于 WhatsApp 凭证设置、替换或会话恢复,在共享的 QA 凭证要求 之后,完整阅读 WhatsApp 实时凭证。将实时账户和凭证材料保留在仓库和证据工件之外。

字符评估

对于风格、角色或氛围比较,在选择模型、构建 QA 流水线或编写场景之前,完整阅读 字符评估。该参考拥有候选/评判默认值、源码构建要求、场景格式和角色设置。

Codex CLI 模型流水线

当 QA 应使用 Codex 作为模型后端时,在运行套件、手动 QA 或字符评估之前,完整阅读 Codex CLI 模型流水线。将具体的模型名称作为用户/配置输入;该参考还涵盖了实时与模拟环境处理以及认证分类。

仓库事实

  • 种子场景位于 qa/scenarios/index.yaml 和 qa/scenarios/<theme>/*.yaml。
  • 主要的实时运行器:extensions/qa-lab/src/suite.ts
  • QA 实验室服务器:extensions/qa-lab/src/lab-server.ts
  • 子网关测试框架:extensions/qa-lab/src/gateway-child.ts
  • 合成通道:extensions/qa-channel/

“完成”的标准

  • 请求的流水线全套绿色通过。
  • 用户获得:
    • 监控 URL(如适用)
    • 通过/失败计数
    • 工件路径
    • 关于修复内容的简洁说明

常见失败模式

  • 实时超时太短:
    • 在 extensions/qa-lab/src/suite.ts 中放宽实时等待时间
  • 发现无法找到仓库文件:
    • 在种子工作空间内将提示指向 repo/...
  • 子代理证据过于脆弱:
    • 优先使用稳定的最终回复证据,而非临时的子会话列表
  • 测试框架“重建”延迟:
    • 脏树可能触发运行前构建;在端口出现之前预期会有此延迟

添加场景时

  • 在 qa/scenarios/ 下添加或更新场景 YAML;不要添加 .md 场景文件或围栏 YAML 块。
  • 保持 qa/scenarios/index.yaml 中的启动期望对齐
  • 在 extensions/qa-lab/src/suite.ts 中添加可执行的测试覆盖
  • 优先使用端到端断言而非仅模拟检查
  • 将输出保存到 .artifacts/qa-e2e/

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Grok Build, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills and agent Templates when requested; add Templates; install, verify, update, uninstall, publish, or sync skills.

相关技能