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

tinybird

它能做什么

这个技能为 AI 智能体提供编写 Tinybird 项目文件和 SQL 的规则。适合在 Tinybird 中构建分析数据管道的开发者。

适用场景

  • ✓当你创建或修改 Tinybird 数据源、管道或端点文件的时候。
  • ✓当你为 Tinybird 编写或加快 SQL 查询的时候。
  • ✓当你在 Tinybird 中设置物化视图或去除重复数据的时候。

技能链接

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

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“请帮我编写一个返回每日注册数的 Tinybird 端点,并保持查询速度快。”

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

工作原理

智能体遵循该技能中的文件格式规则和 SQL 限制,然后加入有助于提升速度和数据处理的模式。它将本地项目文件视为事实来源。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Tinybird Best Practices

Guidance for Tinybird file formats, SQL rules, optimization patterns, and data modeling. Use this skill when creating or editing Tinybird datafiles.

When to Apply

  • Creating or updating Tinybird resources (.datasource, .pipe, .connection)
  • Writing or optimizing SQL queries
  • Designing endpoint schemas and data models
  • Organizing project structure and data layers
  • Working with materialized views or copy pipes
  • Implementing deduplication patterns
  • Reviewing or refactoring Tinybird project files

Rule Files

  • rules/project-files.md
  • rules/build-deploy.md
  • rules/datasource-files.md
  • rules/pipe-files.md
  • rules/endpoint-files.md
  • rules/materialized-files.md
  • rules/materialized-join-prefilter.md
  • rules/sink-files.md
  • rules/copy-files.md
  • rules/connection-files.md
  • rules/sql.md
  • rules/endpoint-optimization.md
  • rules/tests.md
  • rules/deduplication-patterns.md

Quick Reference

  • Project local files are the source of truth.
  • Build target comes from tinybird.config.json dev_mode (local or branch).
  • tb deploy targets Tinybird Cloud production.
  • Commands like tb sql and tb logs default to local unless --cloud or --branch=<branch-name> is set.
  • SQL is SELECT-only with Tinybird templating rules and strict parameter handling.
  • Use MergeTree by default; AggregatingMergeTree for materialized targets.
  • Filter early, select only needed columns, push complex work later in the pipeline.
常见问题

Tinybird SQL 可以修改数据吗?

该技能说明,Tinybird SQL 仅支持 SELECT,因此查询只会读取数据。

它建议使用哪种存储引擎?

该技能说明默认使用 MergeTree,并说明何时 AggregatingMergeTree 更合适。

它涵盖测试吗?

涵盖。该技能包含 Tinybird 测试的规则。

详情

作者的原始描述

Tinybird file formats, SQL rules, optimization patterns, and best practices for datasources, pipes, endpoints, and materialized views.

repo: TryGhost/Ghost

热度

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能