代理供应链通讯
- 作者仓库星标 3,626
- 作者仓库 datadog-agent
- 领域
- 人工智能
- 作者声明的智能体
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 运行环境证据
- 未执行;当前没有隔离运行测试证据
- 作者 / 版本 / 许可证
- @DataDog · 未声明许可证
- 上下文用量评级
- 低消耗
- 接入复杂程度
- 即装即用
- 是否需要外部接口密钥
- 不需要
- 兼容的系统
- 未声明(默认跨平台)
- 运行环境要求
- 未检出明确要求
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 网络行为
- 允许外网请求
- 安装命令数
- 无(仅作为资料)
需要注意: 未声明工具权限范围;实际权限由运行环境决定。
从 GitHub 获取代理供应链团队成员的当前列表:询问用户是否应排除任何成员(例如移动团队的人员)。
在 ASC1 Confluence 空间中搜索最新的博客文章:`mcp__claude_ai_Atlassian__searchConfluenceUsingCql` 和 `cql`:`type = "blogpost" AND space = "ASC1" ORDER BY created DESC`(限制 3) 使用 `mcp__claude_ai_Atlassian__getConfluencePage` 阅读最新的新闻通讯(内容格式:`markdown`,内容类型:`blog`)以匹配其结构和语气。时事通讯格式为: 标题:问候语、团队链接(ASC1、ABLD、BARX、ADX 空格)、OKR 链接、支持渠道链接
对于每个团队成员,启动后台代理(使用`run_in_background: true`)来搜索期间合并的PR。分成每个代理约 8 个成员的批次进行并行化。每个代理都应该为每个用户运行:每个代理应该返回每个用户的摘要,按主题分组(构建改进、CI/CD、新功能、错误修复等)。跳过琐碎的 PR(版本升级、依赖项更新)。重点关注影响代理供应链之外的团队的项目。
启动后台代理来搜索在此期间创建的相关文档: 使用 CQL 查询: `space = "ASC1" AND lastModified >= "START_DATE" AND lastModified <= "END_DATE" ORDER BY lastModified DESC`(限制 25) `space = "ADX" AND lastModified >= "START_DATE" AND lastModified <= "END_DATE" ORDER BY lastModified DESC`(限制 25) 识别具有新闻通讯价值的 RFC、设计文档、操作报告和指南。
应用时事通讯指南的过滤器:“此信息是否会影响代理供应链团队之外的团队?”仅包含答案为“是”的项目。对于每个项目: 提供可量化的改进(节省时间、百分比变化、成本降低)(如果可用) 链接到相关 PR、Confluence 页面或文档 保持描述简洁(每个项目最多 2-4 个句子)
返回给用户:Confluence 草稿和 Gmail 草稿的链接 所涵盖部分的要点摘要 提醒他们:检查两个输出的准确性
Generate the Agent Supply Chain newsletter for the period **$ARGUMENTS** by researching what team members accomplished on GitHub and Confluence, then producing both a Confluence blog post draft and a Gmail draft.
## Step 1: Gather team members
Fetch the current list of agent-supply-chain team members from GitHub:
```bash
gh api orgs/DataDog/teams/agent-supply-chain/members --paginate --jq '.[].login'
```
Ask the user if any members should be excluded (e.g. people who moved teams).
## Step 2: Read past newsletters for format reference
1. Search for the latest blog posts in the ASC1 Confluence space:
- `mcp__claude_ai_Atlassian__searchConfluenceUsingCql` with `cql`: `type = "blogpost" AND space = "ASC1" ORDER BY created DESC` (limit 3)
2. Read the most recent newsletter with `mcp__claude_ai_Atlassian__getConfluencePage` (contentFormat: `markdown`, contentType: `blog`) to match its structure and tone.
The newsletter format is:
- **Header**: greeting, team links (ASC1, ABLD, BARX, ADX spaces), OKR link, support channel link
- **"What's new?"** section organized by sub-team (Agent Developer Experience, Agent Build, Agent Delivery)
- Each item has: a short title, **quantified impact** (time saved, percentage improvement, count), and **links to PRs or docs**
- **"Did you know?"** section with one fun/useful tip
- **Footer**: link to all newsletters, support channel reminder
## Step 3: Research GitHub activity
For each team member, launch background agents (use `run_in_background: true`) to search merged PRs during the period. Split into batches of ~8 members per agent to parallelize.
Each agent should run, for every user:
```bash
# PRs in datadog-agent
gh pr list --repo DataDog/datadog-agent --author USERNAME --state merged --search "merged:START_DATE..END_DATE" --limit 50 --json title,url,mergedAt,labels
# PRs across the DataDog org (catches buildimages, k8s-ops, integrations-core, etc.)
gh search prs --author USERNAME --owner DataDog --merged --limit 20 --json repository,title,url -- "merged:START_DATE..END_DATE"
```
Each agent should return a summary per user, grouped thematically (build improvements, CI/CD, new features, bug fixes, etc.). Skip trivial PRs (version bumps, dependency updates). Focus on items that **impact teams outside Agent Supply Chain**.
## Step 4: Research Confluence activity
Launch a background agent to search for relevant documentation created during the period:
```
mcp__claude_ai_Atlassian__searchConfluenceUsingCql
```
With CQL queries:
- `space = "ASC1" AND lastModified >= "START_DATE" AND lastModified <= "END_DATE" ORDER BY lastModified DESC` (limit 25)
- `space = "ADX" AND lastModified >= "START_DATE" AND lastModified <= "END_DATE" ORDER BY lastModified DESC` (limit 25)
Identify RFCs, design docs, operational reports, and guides that are newsletter-worthy.
## Step 5: Synthesize and write the newsletter
Apply the newsletter guide's filter: **"Is this information impacting a team outside of the Agent Supply Chain group?"** Only include items where the answer is yes.
For each item:
- Provide a **quantifiable improvement** (time saved, percentage change, cost reduction) when available
- Link to the relevant **PR, Confluence page, or documentation**
- Keep descriptions concise (2-4 sentences max per item)
Group items under:
1. **Agent Developer Experience** (CI speed, developer tools, workflows, open source)
2. **Agent Build** (Bazel migration, build system, platform support)
3. **Agent Delivery** (releases, deployments, registries, security)
End with a **"Did you know?"** section highlighting one interesting tool, feature, or tip.
## Step 6: Create outputs
### 6a. Confluence blog post draft
Use `mcp__claude_ai_Atlassian__createConfluencePage` with:
- `cloudId`: `datadoghq.atlassian.net`
- `spaceId`: `4662624793` (ASC1 space)
- `title`: `<Period> - Agent Supply Chain Monthly Update`
- `contentType`: `blog`
- `status`: `draft`
- `contentFormat`: `markdown`
### 6b. Gmail draft
Use `mcp__claude_ai_Gmail__gmail_create_draft` with:
- `to`: `agent-community@datadoghq.com`
- `subject`: `<Period> - Agent Supply Chain Monthly Update`
- `contentType`: `text/html`
- Rich HTML body matching the Confluence content
## Step 7: Present results
Return to the user:
1. Links to both the Confluence draft and Gmail draft
2. A bullet-point summary of the sections covered
3. Remind them to:
- Review both outputs for accuracy
- Send the Gmail to themselves first to verify formatting
- Schedule the final send between **2-4pm CET**, not on a Friday
- Ask for review in `#agent-devx-private` / from Damien Desmarets before publishing
按说明文件中的顺序排列。
第 1 步:召集团队成员
第 2 步:阅读过去的时事通讯以获取格式参考
第 3 步:研究 GitHub 活动
第 4 步:研究融合活动
第 5 步:综合并撰写新闻通讯
文件/命令 -> mcp__claude_ai_Atlassian__searchConfluenceUsingCql · cql · type = "blogpost" AND space = "ASC1" ORDER BY created DESC · mcp__claude_ai_Atlassian__getConfluencePage · blog · run_in_background: true · mcp__claude_ai_Atlassian__createConfluencePage · cloudId
内容校验值 -> 6d6df87dde90
当前原文的自动摘译,尚未人工审校。
第 4 步:研究融合活动
启动后台代理来搜索在此期间创建的相关文档: 使用 CQL 查询:
space = "ASC1" AND lastModified >= "START_DATE" AND lastModified <= "END_DATE" ORDER BY lastModified DESC(限制 25)space = "ADX" AND lastModified >= "START_DATE" AND lastModified <= "END_DATE" ORDER BY lastModified DESC(限制 25) 识别具有新闻通讯价值的 RFC、设计文档、运营报告和指南。