PluginBench
Skill
Official
Pass
Audit score 90

tinybird

tinybirdco/tinybird-agent-skills

Tinybird file formats, SQL rules, and optimization patterns for datasources, pipes, and endpoints.

What is tinybird?

Reference guide for Tinybird best practices covering file formats, SQL rules, and data modeling. Use this when creating or editing Tinybird resources, writing SQL queries, designing schemas, or optimizing endpoints and materialized views.

  • Provides SQL rules and templating guidance for Tinybird queries
  • Covers datasource, pipe, endpoint, and materialized view file formats
  • Offers optimization patterns for filtering, column selection, and query performance
  • Documents deduplication patterns and copy pipe strategies
  • Guides project structure organization and build/deploy workflows
  • Includes connection, sink, and test file best practices

How to install tinybird

npx skills add https://github.com/tinybirdco/tinybird-agent-skills --skill tinybird
Claude Code
Cursor
Windsurf
Cline

How to use tinybird

  1. 1.Consult the relevant rule file based on your task (e.g., datasource-files.md, pipe-files.md, sql.md)
  2. 2.Apply the SQL rules and file format guidelines when writing or editing Tinybird resources
  3. 3.Use optimization patterns (filter early, select needed columns) when designing queries
  4. 4.Reference deduplication patterns when handling duplicate data in pipelines
  5. 5.Run `tb deploy` to push changes to Tinybird Cloud production

Use cases

Good for
  • Creating or updating datasources, pipes, and endpoints in a Tinybird project
  • Optimizing slow SQL queries by applying filter-early and column-selection patterns
  • Designing materialized views and copy pipes for data aggregation
  • Implementing deduplication logic in data pipelines
  • Refactoring existing Tinybird project files for consistency and performance
Who it's for
  • Data engineers building Tinybird projects
  • Backend developers creating real-time analytics endpoints
  • DevOps engineers managing Tinybird deployments
  • Anyone optimizing Tinybird SQL queries and data models

tinybird FAQ

What is the default table engine in Tinybird?

Use MergeTree by default; use AggregatingMergeTree for materialized targets.

Are local files or cloud files the source of truth?

Project local files are the source of truth. The build target is determined by tinybird.config.json dev_mode setting.

How do I run SQL queries locally vs. in the cloud?

Commands like `tb sql` and `tb logs` default to local unless you add `--cloud` or `--branch=<branch-name>` flags.

What SQL operations are supported in Tinybird?

SQL is SELECT-only with Tinybird templating rules and strict parameter handling.

When should I use materialized views?

Use materialized views to pre-aggregate or transform data for faster endpoint queries, especially with AggregatingMergeTree tables.

Full instructions (SKILL.md)

Source of truth, from tinybirdco/tinybird-agent-skills.


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

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.