docs: fix README - correct references from Claude to Clawdbot (#3405)

This commit is contained in:
澄潭
2026-01-29 11:30:53 +08:00
committed by GitHub
parent da3848c5de
commit e824653378

View File

@@ -1,12 +1,12 @@
# Higress 社区治理日报 - Claude Skill # Higress 社区治理日报 - Clawdbot Skill
这个 skill 让 AI 助手(如 Claude能够自动追踪 Higress 项目的 GitHub 活动,并生成结构化的每日社区治理报告。 这个 skill 让 AI 助手通过 Clawdbot 自动追踪 Higress 项目的 GitHub 活动,并生成结构化的每日社区治理报告。
## 架构概览 ## 架构概览
``` ```
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
│ Clawdbot │────▶│ Claude + Skill │────▶│ GitHub API │ │ Clawdbot │────▶│ AI + Skill │────▶│ GitHub API │
│ (Gateway) │ │ │ │ (gh CLI) │ │ (Gateway) │ │ │ │ (gh CLI) │
└─────────────────┘ └─────────────────┘ └─────────────────┘ └─────────────────┘ └─────────────────┘ └─────────────────┘
│ │ │ │
@@ -26,9 +26,9 @@
## 什么是 Clawdbot ## 什么是 Clawdbot
[Clawdbot](https://github.com/clawdbot/clawdbot) 是一个 AI Agent 网关,可以将 Claude 等 AI 模型连接到各种消息平台Discord、Slack、Telegram 等和工具GitHub CLI、浏览器、文件系统等 [Clawdbot](https://github.com/clawdbot/clawdbot) 是一个 AI Agent 网关,可以将 Claude、GPT、GLM 等 AI 模型连接到各种消息平台Discord、Slack、Telegram 等和工具GitHub CLI、浏览器、文件系统等
通过 ClawdbotClaude 可以: 通过 ClawdbotAI 助手可以:
- 接收来自 Discord 等平台的消息 - 接收来自 Discord 等平台的消息
- 执行 shell 命令(如 `gh` CLI - 执行 shell 命令(如 `gh` CLI
- 读写文件 - 读写文件
@@ -50,7 +50,7 @@ cron:
### 2. Skill 加载 ### 2. Skill 加载
Claude 收到生成日报的指令时,会自动加载此 skillSKILL.md获取 AI 助手收到生成日报的指令时,会自动加载此 skillSKILL.md获取
- 数据获取方法gh CLI 命令) - 数据获取方法gh CLI 命令)
- 数据结构定义 - 数据结构定义
- 日报格式模板 - 日报格式模板
@@ -58,13 +58,13 @@ cron:
### 3. 数据获取 ### 3. 数据获取
Claude 使用 GitHub CLI 获取数据: AI 助手使用 GitHub CLI 获取数据:
```bash ```bash
# 获取昨日新建的 issues # 获取昨日新建的 issues
gh search issues --repo alibaba/higress --created yesterday --json number,title,author,url,body,state,labels gh search issues --repo alibaba/higress --created yesterday --json number,title,author,url,body,state,labels
# 获取昨日新建的 PRs # 获取昨日新建的 PRs
gh search prs --repo alibaba/higress --created yesterday --json number,title,author,url,body,state gh search prs --repo alibaba/higress --created yesterday --json number,title,author,url,body,state
# 获取特定 issue 的评论 # 获取特定 issue 的评论
@@ -73,7 +73,7 @@ gh api repos/alibaba/higress/issues/{number}/comments
### 4. 状态追踪 ### 4. 状态追踪
Claude 维护一个 JSON 文件追踪每个 issue 的状态: AI 助手维护一个 JSON 文件追踪每个 issue 的状态:
```json ```json
{ {
@@ -91,7 +91,7 @@ Claude 维护一个 JSON 文件追踪每个 issue 的状态:
### 5. 知识沉淀 ### 5. 知识沉淀
当 issue 被解决时,Claude 会将问题模式和解决方案记录到知识库: 当 issue 被解决时,AI 助手会将问题模式和解决方案记录到知识库:
```markdown ```markdown
## KB-001: OPTIONS 预检请求被认证拦截 ## KB-001: OPTIONS 预检请求被认证拦截
@@ -114,7 +114,7 @@ Claude 维护一个 JSON 文件追踪每个 issue 的状态:
### 7. 消息推送 ### 7. 消息推送
Claude 通过 Clawdbot 将日报发送到指定的 Discord 频道。 AI 助手通过 Clawdbot 将日报发送到指定的 Discord 频道。
## 快速开始 ## 快速开始
@@ -136,7 +136,7 @@ cp -r .claude/skills/higress-daily-report ~/.clawdbot/skills/
**手动触发:** **手动触发:**
``` ```
@Claude 生成 Higress 昨日日报 生成 Higress 昨日日报
``` ```
**定时触发(推荐):** **定时触发(推荐):**
@@ -147,7 +147,7 @@ cp -r .claude/skills/higress-daily-report ~/.clawdbot/skills/
``` ```
higress-daily-report/ higress-daily-report/
├── README.md # 本文件 ├── README.md # 本文件
├── SKILL.md # Skill 定义(Claude 读取) ├── SKILL.md # Skill 定义(AI 助手读取)
└── scripts/ └── scripts/
└── generate-report.sh # 辅助脚本(可选) └── generate-report.sh # 辅助脚本(可选)
``` ```