跳到正文
cccskills
免费在 GitHub 公开中文介绍

discord-e2e

使用Discord测试机器人核查连接信息和读取权限,并通过证据验证消息、文件、讨论串操作及OpenClaw响应,同时检查结果日志和测试对象的清理情况。

原文查看原文说明

Test Discord with Convex-leased QA bots: check credentials without a Gateway, exercise owned messages, or prove OpenClaw replies, files, threads, reactions, streaming, and typing. Distinguish API and Gateway evidence from manual user interactions.

集成工具Discord
AI 评分90分/ 100查看安装方法

适用场景

  • 核查机器人身份和历史记录读取权限
  • 验证消息、文件和讨论串操作
  • 验证OpenClaw回复、流式发送及输入提示
  • 整理自动测试与人工检查的证据

中文介绍

功能

通过适合测试目标的检查,验证Discord机器人的连接、操作以及OpenClaw的响应。以读取为主的检查会核查机器人身份信息,以及能否访问频道历史记录。在QA Lab中,临时租用测试机器人,检查消息、回应表情、文件、讨论串、响应的流式发送和正在输入提示,同时检查结果日志,以及测试所创建对象的清理情况。

适用场景

适合需要验证Discord集成变更的开发者,也适合需要在报告中区分API操作成功与OpenClaw实际响应的人员,可用于整理自动测试和人工检查的证据。

使用示例

  • “检查机器人身份信息,以及对频道历史记录的读取权限。”
  • “验证OpenClaw的回复,以及文件和讨论串操作。”

注意事项

需要准备好依赖项的OpenClaw环境、已完成身份验证的Convex CLI,以及对已发布QA代理服务的访问权限。斜杠命令、按钮操作和界面显示须通过获授权的人工客户端检查。禁止使用用户令牌进行自动操作。仅凭API成功无法证明模型执行了工具;分享证据前,需要移除凭据等敏感信息。

本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。

客观评估

AI 仅根据 SKILL.md 的内容,从 4 个方面进行了评估。星标数和热度不计入评估。

指令清晰度能否看出何时使用、做什么
A良好目标表区分了读取检查、机器人操作、响应验证和人工检查的范围。
步骤具体性步骤、输入输出和示例是否具体
A良好列出了执行命令、场景指定方式、结果文件、成功条件和清理检查。
安全性发送数据、删除文件、执行命令等是否有说明
A良好将修改限定于测试机器人拥有的对象,并要求确认清理结果、在分享前移除敏感信息。
安装难易度所需工具和 API 密钥是否少且有说明
B部分不足说明了Convex CLI认证方法,但未提供OpenClaw依赖项和QA代理服务的准备步骤。

总分按每项 A=25 分、B=15 分、C=5 分相加。 由 AI(OpenAI Codex)于 2026年10月19日 评估。仅供参考,安装前请同时查看原文。

如果您认为评估有误,请申请复核

请写明哪一项有误以及原因。无需登录。我们会对照 SKILL.md 重新评估,并在此处更新结果。

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

包含的文件(5)

  • SKILL.md6.3 KB
  • bot-api.md5.5 KB
  • features.md7.2 KB
  • runtime.md5.5 KB
  • scripts/bot-readiness.mjs7.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Discord E2E

Choose the smallest boundary that proves the requested behavior:

GoalEntry pointWhat it proves
Check the shared bot pair and channelRead-only command belowBot identities, pinned SUT, guild text channel, and history access
Exercise bot-authored mutationsExisting channelE2e lifecycleOwned messages, reactions, files, threads, and cleanup
Prove OpenClaw behaviorExisting QA Lab flowReal Discord events, an isolated SUT Gateway, and the selected model lane
Prove human interactions or renderingAuthorized manual Discord clientActual user action or inspected client capture

The API probe starts no Gateway, event recorder, or model. QA Lab remains the owner for product E2E: it controls its lease, temporary Gateway, provider, cancellation, and cleanup. Neither path changes app permissions or provisions credentials.

1. Choose the evidence

Read feature recipes for the changed behavior. Native fixture calls prove Discord API operations, not that a model invoked a tool. A SUT round trip additionally proves Gateway ingress and a stored public reply. Model-tool claims also require the tool trace and provider request evidence.

Human slash commands, component clicks, modals, ephemeral interactions, and human-to-bot DMs need an authorized manual client. A bot posting /status sends text, not a slash interaction. Use official bot tokens from the lease only. Discord prohibits user-token/self-bot automation; Slack's user OAuth route has no equivalent here.

2. Prepare and check the current lease

Use the dependency-ready OpenClaw checkout under test. The setup prerequisite is an existing authenticated Convex CLI with access to the published QA broker. The existing shared lease helper discovers the repository's broker binding and CI credential in memory; you do not need to copy bot tokens, guild IDs, or broker secrets. If authentication is absent, have the operator run convex login (or the already cached bunx --no-install convex login) once. Do not install a CLI or log in on the operator's behalf. Network/permission errors are not evidence that another login is needed.

For a fast check without QA Lab:

node .agents/skills/discord-e2e/scripts/bot-readiness.mjs

The check is read-only in Discord, but it acquires, renews, and releases a Convex lease. It creates no Discord objects and has no mutation mode. Read bot API readiness for the payload, permission limits, private result, and failure handling.

This probe does not verify Gateway intents, event delivery, model behavior, or all native fixture permissions. For an OpenClaw claim, continue with QA Lab:

pnpm openclaw qa discord --list-scenarios
pnpm openclaw qa discord --doctor \
  --output-dir .artifacts/qa-e2e/discord-doctor

Require a passing QA Lab doctor for this lane. It sends no fixture messages; it checks the leased identities, guild text channel, effective permissions, driver Gateway intents, and connected SUT Gateway. Every scenario repeats readiness on its own lease; a released doctor's result never qualifies a later run.

--doctor and --scenario-file default to Convex, CI role, and mock-openai. Existing explicit credential/provider flags still work; ordinary curated qa discord defaults remain unchanged. Preprovisioned private broker environment variables are an alternative to discovery, not a prerequisite.

3. Run one scoped proof

For a native lifecycle plus real Gateway reply:

pnpm openclaw qa discord \
  --scenario-file qa/scenarios/channels/discord-e2e-lifecycle.yaml \
  --output-dir .artifacts/qa-e2e/discord-lifecycle

For a changed feature, adapt that YAML using feature recipes. --scenario-file is repeatable and uses the existing QA flow schema. Set retryCount: 0 for native write scenarios. Use a new output directory for each proof. These examples are opt-in, not additions to the curated default suite.

Read runtime and recovery when changing config, restarting the SUT, choosing a real provider, diagnosing cancellation, or reconciling failed cleanup.

4. Judge and report

For the API probe, require status: ready and leaseReleased: true. An empty history list is inconclusive (exit 2): it can mean an empty channel or missing Read Message History permission. Use QA Lab doctor to distinguish those cases; do not call either one a proven permission failure. Report a ready result as bot identity and observed read-access proof, not mutation or Gateway E2E. Private result.json contains leased identities and check statuses, not tokens or history.

For QA Lab, inspect qa-suite-summary.json, qa-suite-report.md, the Gateway/provider artifacts, and each private discord-e2e-*/events.ndjson under the output directory. Join native receipts to recorder rows by message ID; use actor: sut, channel, sequence, and trigger correlation for SUT claims. A marker alone does not prove edits, reactions, typing, deletion, formatting, or a model tool call. Event logs are not visual proof; visual claims need an actual Discord client screenshot.

Completion requires the requested evidence and successful owned cleanup after Gateway stop, before lease release. Existing permissions decide whether owned threads are deleted or archived; report the recorded disposition, never call archival deletion. Preserve private evidence on failure. Report the sanitized command, exact revision, claim, relevant evidence, manual-only gaps, and cleanup outcome. Redact identities, unrelated content, private paths, and credentials before sharing artifacts.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

1password

免费有简介AI 评分 100分

检查1Password命令行工具的安装和认证,将已保存的密码或API密钥传入命令及配置。支持桌面应用集成、服务账号和交互式登录,并先验证访问权限。

  • 安装1Password命令行工具
  • 将API密钥传入命令
  • 在CI中使用服务账号认证
openclaw/openclaw39.2万2026年10月18日 更新

acp-router

免费有简介AI 评分 80分

将提交给OpenClaw的自然语言请求转交给Claude Code等外部编程智能体,通过ACP或acpx启动、继续会话,并保留对话上下文。

  • 在讨论串中启动Claude Code
  • 继续外部智能体的现有工作
  • 通过acpx直接传递指令
openclaw/openclaw39.2万2026年10月18日 更新

add-model-provider

免费有简介AI 评分 100分

为OpenClaw添加模型服务商,并通过实际回复验证连接。凭据以环境变量或文件引用的形式配置,同时验证设置并报告测试结果。

  • 为OpenClaw添加模型服务商
  • 通过引用配置认证凭据
  • 确认模型能返回实际回复
openclaw/openclaw39.2万2026年10月18日 更新

agent-transcript

免费有简介AI 评分 90分

将AI代理的工作日志整理为可附在GitHub拉取请求或议题中的记录,筛选相关内容、移除敏感信息,并支持预览及经单独授权后的发布。

  • 为拉取请求整理代理工作记录
  • 从本地日志提取相关请求和结果
  • 预览已移除敏感信息的记录
openclaw/openclaw39.2万2026年10月18日 更新

apple-notes

免费有简介AI 评分 100分

通过代理管理macOS上的Apple Notes笔记,支持创建、查看、搜索、编辑和删除,在文件夹之间移动笔记,并将选定笔记导出为HTML或Markdown。

  • 创建带标题的笔记
  • 按文件夹筛选或模糊搜索笔记
  • 编辑笔记并整理文件夹
openclaw/openclaw39.2万2026年10月18日 更新

apple-reminders

免费有简介AI 评分 70分

通过Mac查看、添加和编辑Apple Reminders中带截止时间的待办事项,管理列表并完成或删除任务,整理在iPhone或iPad上查看的个人任务。

  • 查看今天和已逾期的任务
  • 添加带截止日期的个人待办事项
  • 整理iPhone或iPad上的任务
openclaw/openclaw39.2万2026年10月18日 更新

查看 openclaw 的全部技能

报告此技能的问题