# Chat Bot Acceptance Testing

Tests real bot channels such as Discord, Slack and Telegram on macOS.

- Repository: https://github.com/lobehub/lobehub (83676 stars)
- Category: Testing
- License: see repository
- Last updated: 2026-11-01
- Runs scripts: yes, review before use

## Install

Claude Code: `npx skills add lobehub/lobehub --skill agent-testing-bot -g -a claude-code -y`
Codex: `npx skills add lobehub/lobehub --skill agent-testing-bot -g -a codex -y`
Cursor: `npx skills add lobehub/lobehub --skill agent-testing-bot -g -a cursor -y`
Gemini CLI: `npx skills add lobehub/lobehub --skill agent-testing-bot -g -a gemini-cli -y`

## Description

Use for real bot-channel acceptance in Discord, Slack, Telegram, WeChat/Weixin, Lark/Feishu, QQ or iMessage on macOS. Extends acceptance with native chat apps.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Agent Testing, Bot Channels (LobeHub project skill)

This skill **extends** the generic `acceptance` skill (installed alongside at
`../acceptance/`) to the bot-channel surfaces. It does NOT replace the core
process: the same three phases apply, ```text
PLAN (Steps 0, 2) → EXECUTE (Steps 3, 6) → FINISH (Step 7)
```, and the same report + publish pipeline (`result.json` → `report-init.sh` →
`lh acceptance run ingest … --source agent-testing`). Read the acceptance skill's
`SKILL.md` for target grounding, the living logs, the Phase-1 approval gate, the
report format, and teardown. This file only adds the bot-channel surface.

For LobeHub environment/auth/probe specifics (dev server, seeded account, ports),
the adapter is `.agents/acceptance/PROJECT.md`.

## When this surface applies

| Change scope                                   | Surface                           | Why                                              |
| ---------------------------------------------- | --------------------------------- | ------------------------------------------------ |
| **Bot channels** (Discord / WeChat / Lark / …) | Native app via osascript / bridge | Only way to exercise the real channel end-to-end |

Route here only when the behavior under test is a bot channel. For CLI / Web /
Electron changes, use the generic skill's surfaces.

## Platforms

Each platform folder has an `index.md` (activation, navigation, send-message,
verification snippets) and a `test-<platform>-bot.sh` driver.

The rest: https://github.com/lobehub/lobehub/blob/HEAD/.agents/skills/agent-testing-bot/SKILL.md
