mcpField
T
tinybird

tinybird

github.com/tinybirdcoData & databases221.7k installsUpdated 13w ago
Repository

About tinybird

tinybird is a guidance skill for creating and editing Tinybird project files. It is intended for developers working on datafiles, SQL, endpoints, and data models, with rules covering file formats, deployment, optimization, and common data patterns.

Key features

  1. 01Tinybird file format guidance
  2. 02SQL rules and optimization patterns
  3. 03Endpoint and data model design
  4. 04Build and deployment practices
  5. 05Materialized view and deduplication guidance

Use cases

  1. 01Creating or updating Tinybird datafiles
  2. 02Reviewing SQL queries and endpoint schemas
  3. 03Refactoring a Tinybird project

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/tinybirdco/tinybird-agent-skills --skill tinybird

After installing, type/tinybirdin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

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

Details

From the project README

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.

Comments

Markdown supported