The master skill in PlanetScale's official pack: runs a full read-only best-practices assessment of a database or org, then produces one evidence-backed report.
Tinybird Best PracticesSkill
Summary
Tinybird's own datafile and SQL rules for coding agents — datasources, pipes, endpoints, materialized views, deduplication and query optimisation.
Features
- House rules for .datasource, .pipe and .connection files
- SQL and endpoint optimisation guidance (filter early, project narrow, defer expensive work)
- Materialized view patterns, including join prefiltering
- Deduplication patterns and engine selection (MergeTree / AggregatingMergeTree)
- Local vs Cloud build semantics for the tb CLI
Install This Skill
Add this skill to your favorite AI agent in a few steps.
Skill Content
Usage Instructions
Learn how to use this skill with different AI agents.
Description
The official agent skill from the Tinybird team, covering how to write and review the datafiles a Tinybird project is made of.
Tinybird projects are defined in plain text — .datasource, .pipe and .connection files that tb deploy pushes to Tinybird Cloud. That makes them exactly the kind of artefact a coding agent will happily generate, and exactly the kind where a small mistake (the wrong engine, an unfiltered join in a materialized view, a template parameter handled loosely) shows up as a slow endpoint or a wrong number rather than a syntax error.
The skill loads Tinybird's house rules for each file type and for the SQL inside them: MergeTree by default and AggregatingMergeTree for materialized targets; filter early and select only the columns you need; push expensive work later in the pipeline; SELECT-only SQL with strict parameter handling in Tinybird's templating syntax. It carries fourteen focused rule files an agent pulls in on demand — project layout, build and deploy, each datafile type, materialized-view join prefiltering, endpoint optimisation, tests and deduplication patterns — plus the local-versus-cloud distinction that trips people up (tb sql and tb logs default to local unless --cloud or --branch is passed, and dev_mode in tinybird.config.json decides the build target).
Use it whenever an agent is creating or refactoring Tinybird resources, designing an endpoint schema, or reviewing a project's SQL.
Related Skills
Build crash-safe AI agents on AgentKit and step.ai — durable tool calls, human-in-the-loop approval, realtime progress, and when not to reach for an agent loop at all.
Inngest's durable-execution playbook as an agent skill — steps and memoisation, event and cron triggers, idempotency, cancellation, retries and non-retriable errors.
Temporal's official skill for building durable workflows — SDK patterns across seven languages, plus the determinism rules that decide whether a workflow survives a replay.