Community编程与开发github.com

release-openclaw-plugin-testing

规划和执行发布前的 OpenClaw 插件验证,涵盖捆绑插件、包工件、生命周期命令、doctor/fix、配置往返、网关启动、SDK 兼容性、Docker E2E、包验收和 Testbox 验证。

release-openclaw-plugin-testing 是什么?

此技能用于在 OpenClaw 插件发布前,系统地验证插件系统的产品级质量,而不仅仅是单元测试。它通过一套全面的检查矩阵,覆盖了插件生命周期、包工件、doctor/fix、配置、网关启动、外部 SDK 兼容性以及实况探针等关键表面。该技能支持在多个运行平台(如 GitHub Package Acceptance、Linux 工作节点、各类 Testbox)上执行验证,并提供了明确的运行者选择优先次序和故障排除指导。通过记录每个表面的通过/失败状态、运行 URL 和测试 ID,该技能帮助团队为插件发布建立充分的信心。

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

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

在你喜欢的 AI 中提问

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

文档

OpenClaw 预发布插件测试

当用户询问插件发布信心、插件生命周期扫描、包工件插件验证或“发布前还应测试什么?”时,请使用此技能。它与 openclaw-testing 互补;在选择最便宜的可靠运行器或调试失败通道时,也请使用该技能。

目标

将插件系统作为产品表面进行验证,而不仅仅是源代码测试:

  • 捆绑插件生命周期:安装、检查、启用、禁用、卸载
  • 从干净的 HOME 开始的包工件行为
  • doctor/fix/config 验证和幂等性
  • 配置发现和配置往返
  • 状态/日志可见性和诊断
  • 网关启动/引导,包含插件元数据快照
  • 公共 SDK 对外部真实插件的兼容性
  • 仅在存在安全凭据时进行实况提供商/渠道探测

首要检查

从 OpenClaw 代码库根目录开始:

pnpm docs:list
git status --short --branch
pnpm changed:lanes --json

遵循 openclaw-testing 以了解依赖归属以及本地或远程验证的选择。

运行器选择

优先顺序如下:

  1. GitHub Package Acceptance 用于可安装包的产品验证。
  2. 当前专用 Linux 工作节点 用于受信任的源/包/Docker 验证(当它有所需的依赖和功能时)。
  3. ci-build-artifacts-testbox.yml Testbox 当 Docker/包通道需要预设的 dist、dist-runtime 和包缓存时。
  4. ci-check-testbox.yml Testbox 用于源代码检查、定向 Vitest 测试、包边界检查或聚焦的 Docker 通道。
  5. 仅在工作站上执行的定向命令 用于小型格式/静态/单元探测。

避免从陈旧稀疏的工作树中运行长时间的包 Docker 运行。如果 Testbox 同步报告数百个文件更改或开始删除包输入,请停止并从当前 main 重新创建一个全新的环境,或切换到 Package Acceptance。

现有基线

在规划、运行、扩展或接受生命周期、doctor/fix、网关、配置或外部 SDK 验证之前,请完整阅读生命周期矩阵。

信心矩阵

使用此矩阵进行发布前签署。记录通过/失败、运行 URL/Testbox ID、包 SHA/版本以及跳过的实况原因。

表面验证方式首选运行器
包工件Package Acceptance suite_profile=package 或自定义通道GitHub Actions
捆绑生命周期分片 test:docker:bundled-plugin-install-uninstallTestbox 或 release Docker
外部插件test:docker:plugins 和 plugins-offlineTestbox/package acceptance
更新无操作test:docker:plugin-updateTestbox/package acceptance
Doctor/fix预设的错误配置 + doctor --fix --non-interactive新的 Docker/Testbox 测试框架
配置往返config set/get, inspect, doctor, reload, diff hash新的 Docker/Testbox 测试框架
网关启动干净的 HOME,插件组启用/禁用,status JSON新的 Docker/Testbox 测试框架
SDK 兼容性使用 SDK 子路径的目录、tgz 和 file: 外部插件test:docker:plugins 加新的冒烟测试
实况探测仅对存在的环境变量进行编辑后的提供商/渠道探测Testbox live 通道

Package Acceptance 计划

完整的发布验证拥有候选资格检验(在准入确认阶段)以及确切的发布 tar 包的所有权。独立的 Package Acceptance 提供诊断或发布后信心。在运行或接受它之前,请完整阅读 Package Acceptance 流程。

插件 npm 工件资格

完整的发布验证拥有候选插件 npm 资格和不可变的发布描述符的所有权;独立的预检仅用于验证。在运行或接受此验证之前,请完整阅读插件工件流程。

新的 Testbox 测试框架计划

在规划、运行、扩展或接受生命周期、doctor/fix、网关、配置或外部 SDK 验证之前,请完整阅读生命周期矩阵。

Doctor/Fix 矩阵

在规划、运行、扩展或接受生命周期、doctor/fix、网关、配置或外部 SDK 验证之前,请完整阅读生命周期矩阵。

网关启动矩阵

在规划、运行、扩展或接受生命周期、doctor/fix、网关、配置或外部 SDK 验证之前,请完整阅读生命周期矩阵。

配置往返代表

在规划、运行、扩展或接受生命周期、doctor/fix、网关、配置或外部 SDK 验证之前,请完整阅读生命周期矩阵。

外部 SDK 冒烟测试

在规划、运行、扩展或接受生命周期、doctor/fix、网关、配置或外部 SDK 验证之前,请完整阅读生命周期矩阵。

实况探测规则

在开始实况工作之前,在 Testbox 中获取允许的环境变量,并生成一个编辑后的可用性矩阵:仅显示存在/缺失,绝不显示值。

仅对存在的凭据运行探测。优先使用认证/目录/状态探测,而不是发送用户可见的消息。如果某个探测可能联系到外部用户、频道或工作区,请停止并询问用户。

报告

按以下格式报告:

package/ref:
tbx ids / run urls:
matrix:
  bundled lifecycle:
  package acceptance:
  doctor/fix:
  gateway bootstrap:
  config round-trip:
  sdk external:
  live-ish:
failures:
skips:
next highest-value gap:

明确说明失败是由于 Testbox 同步/环境损坏而非产品行为,并通过在干净环境中重新运行或与当前 main 分支比较来证明这一点。

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.

相关技能