跳到正文
Skillpedia
数据库56k · #3278

tinybird-cli-guidelines

它能做什么

这个技能教 AI 智能体如何为数据项目使用 Tinybird 命令行工具。适合构建和部署 Tinybird 数据项目的开发者。

适用场景

  • ✓当你为本地开发或部署运行 Tinybird tb 命令的时候。
  • ✓当你需要在本地、分支或云端开发之间做选择的时候。
  • ✓当你需要在 Tinybird 项目中添加、替换或删除数据的时候。

技能链接

https://github.com/TryGhost/Ghost/blob/main/.agents/skills/tinybird-cli-guidelines/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/TryGhost/Ghost/blob/main/.agents/skills/tinybird-cli-guidelines/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我先在本地构建 Tinybird 项目,然后再部署到生产环境。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体遵循 tb 命令行的规则,例如按配置文件中设置的开发环境进行构建,并将部署目标设为 Tinybird Cloud 生产环境。它在使用某个参数前会先检查命令帮助。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Tinybird CLI Guidelines

Guidance for using the Tinybird CLI (tb) for local development, deployments, data operations, and workspace management.

When to Apply

  • Running any tb command
  • Choosing a development workflow (local, branch, or cloud)
  • Local development with Tinybird Local
  • Branch development with Tinybird Cloud branches
  • Building and deploying projects
  • Setting up CI/CD pipelines
  • Appending, replacing, or deleting data
  • Managing tokens and secrets via CLI
  • Generating mock data
  • Running tests

Rule Files

  • rules/development-workflows.md
  • rules/cli-commands.md
  • rules/build-deploy.md
  • rules/local-development.md
  • rules/branch-development.md
  • rules/ci-cd.md
  • rules/data-operations.md
  • rules/append-data.md
  • rules/mock-data.md
  • rules/tokens.md
  • rules/secrets.md

Quick Reference

  • CLI 4.0 workflow: configure dev_mode once, then use plain tb build and tb deploy.
  • tb build targets your configured development environment (branch or local) in tinybird.config.json.
  • tb deploy targets Tinybird Cloud production.
  • Use --cloud/--local/--branch only as explicit manual overrides.
  • Use tb info to check CLI context.
  • Use tb endpoint data <pipe> to test endpoints (not tb pipe data).
  • Never invent commands or flags; run tb <command> --help to verify.
常见问题

生产环境和开发环境有什么区别?

该技能说明,tb deploy 指向 Tinybird Cloud 生产环境,而 tb build 使用配置文件中设置的开发环境。

我如何测试端点?

该技能说明,应使用 endpoint data 命令来测试端点,而不是 pipe data 命令。

智能体可以编造命令吗?

该技能说明,绝不能编造命令或参数,而应先查看帮助文本。

详情

作者的原始描述

Tinybird CLI commands, workflows, and operations. Use when running tb commands, managing local development, deploying, or working with data operations.

repo: TryGhost/Ghost

热度

GitHub 星标
56k
排名
#3278
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能