tinybirdco1.6K installs
Tinybird file formats, SQL rules, optimization patterns, and best practices for datasources, pipes, endpoints, and materialized views.
Install
npx skills add https://github.com/tinybirdco/tinybird-agent-skills --skill tinybirdSKILL.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.mdrules/build-deploy.mdrules/datasource-files.mdrules/pipe-files.mdrules/endpoint-files.mdrules/materialized-files.mdrules/materialized-join-prefilter.mdrules/sink-files.mdrules/copy-files.mdrules/connection-files.mdrules/sql.mdrules/endpoint-optimization.mdrules/tests.mdrules/deduplication-patterns.md
Quick Reference
- Project local files are the source of truth.
- Build target comes from
tinybird.config.jsondev_mode(localorbranch). tb deploytargets Tinybird Cloud production.- Commands like
tb sqlandtb logsdefault to local unless--cloudor--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 skills
tinybird-cli-guidelinestinybirdcoTinybird CLI commands, workflows, and operations. Use when running tb commands, managing local development, deploying, or working with data operations.tinybird-python-sdk-guidelinestinybirdcoTinybird Python SDK for defining datasources, pipes, and queries in Python. Use when working with tinybird-sdk, Python Tinybird projects, or data ingestion and queries in Python.tinybird-typescript-sdk-guidelinestinybirdcoTinybird TypeScript SDK for defining datasources, pipes, and queries with full type inference. Use when working with @tinybirdco/sdk, TypeScript Tinybird projects, or type-safe data ingestion and queries.find-skillsvercel-labs3.6MHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.