返回顶部
d

driftabotDriftaBot查询

Query the DriftaBot Registry for API spec drifts, breaking changes, and provider information. Use when the user asks about API changes, breaking changes, provider specs, or what changed in a specific API.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
116
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

driftabot

DriftaBot 注册表技能

DriftaBot 注册表(https://github.com/DriftaBot/registry)是一个公共注册表,具备以下功能:

  • - 追踪 59 个以上的 API 提供商(Stripe、GitHub、Twilio、Slack、Shopify 等)
  • 每天从每个提供商的官方 GitHub 仓库抓取规范文档
  • 检测到破坏性变更时生成 Markdown 格式的漂移报告

使用此技能的时机

  • - 用户询问X API 是否发生变化?、Y 的 API 中哪些内容被破坏?、显示 Z 的漂移情况
  • 用户想知道注册表中追踪了哪些提供商
  • 用户询问当前 API 规范版本或类型(OpenAPI、GraphQL、gRPC)

如何查询注册表

基础 URL:https://raw.githubusercontent.com/DriftaBot/registry/main

1. 列出所有提供商

获取 {BASE}/provider.companies.yaml 并解析 YAML 文件。 每个条目包含:name(标识符)、display_name、specs[].type、specs[].repo。

2. 获取提供商的漂移报告

获取 {BASE}/drifts/{org}/{repo}/result.md
  • - 从 provider.companies.yaml 中提供商的 specs[].repo 字段查找 org/repo
  • 示例:stripe → 仓库 stripe/openapi → 获取 drifts/stripe/openapi/result.md
  • 如果文件返回 404 或为空,则表示该提供商未检测到破坏性变更。

3. 获取当前规范文件

获取 {BASE}/companies/providers/{name}/{type}/{filename}
  • - 示例:companies/providers/stripe/openapi/stripe.openapi.json

示例查询与响应

Stripe 的 API 是否破坏了任何内容?
→ 获取 drifts/stripe/openapi/result.md 并总结破坏性变更。

追踪了哪些 API 提供商?
→ 获取 provider.companies.yaml,列出所有公司名称及其规范类型。

Shopify 使用什么类型的规范?
→ 在 provider.companies.yaml 中查找 shopify,返回 specs[].type(graphql)。

工具使用

使用 web 工具(或带 curl 的 bash)获取 URL。使用可用工具解析 YAML。
在构建漂移 URL 之前,务必先从 provider.companies.yaml 中查找仓库信息。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 driftabot-1776124085 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 driftabot-1776124085 技能

通过命令行安装

skillhub install driftabot-1776124085

下载

⬇ 下载 driftabot v1.0.0(免费)

文件大小: 1.64 KB | 发布时间: 2026-4-14 14:37

v1.0.0 最新 2026-4-14 14:37
Initial release of driftabot skill.

- Query the DriftaBot Registry for API spec drifts, breaking changes, and provider info.
- Supports questions about tracked providers, API changes, and spec types (OpenAPI, GraphQL, gRPC).
- Instructions included for listing providers, retrieving drift reports, and getting current API specs.
- Usage guidance and example queries provided for clarity.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部