Tinybird file formats, SQL rules, optimization patterns, and best practices for datasources, pipes, endpoints, and materialized views.
Add this skill
npx mdskills install tinybirdco/tinybird-best-practicesComprehensive reference for Tinybird development with clear rule files and well-scoped use cases
1---2name: tinybird3description: Tinybird file formats, SQL rules, optimization patterns, and best practices for datasources, pipes, endpoints, and materialized views.4---56# Tinybird Best Practices78Guidance for Tinybird file formats, SQL rules, optimization patterns, and data modeling. Use this skill when creating or editing Tinybird datafiles.910## When to Apply1112- Creating or updating Tinybird resources (.datasource, .pipe, .connection)13- Writing or optimizing SQL queries14- Designing endpoint schemas and data models15- Working with materialized views or copy pipes16- Implementing deduplication patterns17- Reviewing or refactoring Tinybird project files1819## Rule Files2021- `rules/project-files.md`22- `rules/datasource-files.md`23- `rules/pipe-files.md`24- `rules/endpoint-files.md`25- `rules/materialized-files.md`26- `rules/sink-files.md`27- `rules/copy-files.md`28- `rules/connection-files.md`29- `rules/sql.md`30- `rules/endpoint-optimization.md`31- `rules/tests.md`32- `rules/deduplication-patterns.md`3334## Quick Reference3536- Project local files are the source of truth.37- SQL is SELECT-only with Tinybird templating rules and strict parameter handling.38- Use MergeTree by default; AggregatingMergeTree for materialized targets.39- Filter early, select only needed columns, push complex work later in the pipeline.40
Full transparency — inspect the skill content before installing.