Skip to content
Docksoft

Tinybird Best Practices

A

tinybird-best-practices

Tinybird project guidelines for datasources, pipes, endpoints, and SQL.

tinybirdanalyticssqlreal-time

Install

npx skills add tinybirdco/tinybird-best-practices
Author
Tinybird
License
MIT
Updated
January 2026
Type
Single skill
Document
1.6 KB
Platforms
Claude Code, Codex, Cursor, Multi Platform
View source

SKILL.md

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/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.

Related

Backend & APIs

A

.NET 11

dotnet11

Skills for new .NET 11 APIs and language features: System.Text.Json improvements, runtime updates, and adoption patterns.

claude-codegithub-copilotcursor+1MIT

Backend & APIs

A

.NET Core Skills

dotnet

Common everyday C#/.NET coding skills useful to all .NET developers. Skill bundle covering C# scripting, P/Invoke patterns, and NuGet trusted publishing.

claude-codegithub-copilotcursor+1MIT

Backend & APIs

A

ASP.NET Core

dotnet-aspnet

ASP.NET Core web development skills: middleware, endpoints, real-time communication, API patterns, OpenTelemetry, and Minimal API patterns.

claude-codegithub-copilotcursor+1MIT

Agent tooling

Want agents that know your stack?

This index is ours, and so is the tooling behind it. If your team wants agents that understand how your own systems actually work, that is a thing we build.

Contact the dock

One address, read by the people who would do the work. No intake form, no calendar link — just an email.

tphamdn@gmail.com
Other reasons to writeWe reply within two business days