Skip to main content

We earn commissions when you shop through the links below.

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

  • New
  • v1.0.2
  • Reviewed Jul 21
  • No reviews yet

Getting started

Full instructions

Install the skill, then ask your AI tool for the task in plain words. The full SKILL.md below shows what it covers.

Instructions: SKILL.mdv1.0.2

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.

Explore more skills

Browse all
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

More from Tinybird

View source →

Frequently asked questions about tinybird

What does the tinybird skill do?

Tinybird file formats, SQL rules, optimization patterns, and best practices for datasources, pipes, endpoints, and materialized views. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the tinybird skill?

Run `npx @skills-hub-ai/cli install tinybird` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/tinybird/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does tinybird work with?

tinybird runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the tinybird skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use tinybird after installing it?

In Claude Code, type `/tinybird` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the tinybird skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.

Badge for your README

Show that this skill is on Skills Hub. The badge links back to this page and shows the live install count.

Install on Skills Hub badge preview
Markdown
[![Install on Skills Hub](https://skills-hub.ai/api/badges/skill/tinybird)](https://skills-hub.ai/skills/tinybird)
HTML
<a href="https://skills-hub.ai/skills/tinybird"><img src="https://skills-hub.ai/api/badges/skill/tinybird" alt="Install on Skills Hub"></a>

More options in the badge docs.