Use native types (Int64) directly in the tuple schema instead of the
String + toXOrZero fallback trick, and note that missing fields simply
resolve to the type's default value.
Repeated per-field visitParamExtract*/JSONExtract* calls re-parse the same
JSON payload from scratch for every field, which is especially costly in
materialized views since it runs on every inserted block. Document parsing
once via JSONExtract(...'Tuple(...)') + getSubcolumn instead, with guidance
on preserving optional-field fallback behavior via String-typed tuple
fields and toXOrZero/toXOrDefault.
AI-assisted with Claude Code; lightly tested against a real production
pipe rewrite.
Branch names must use underscores, not hyphens. Restore the naming
convention note and fix all branch name examples across CI/CD and
branch development docs.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Use `tb --local build` and `tb --local test run` in CI examples
- Use `tb --cloud deploy` and `tb --cloud deploy --check` consistently
- Add `tb dev` as the main development command across workflows
- Add `--with-connections` flag and connector management for branches
- Fix preview branch naming to `tmp-ci-<branch>` per docs
- Add two-step deployment: `tb --cloud deployment create --wait` / `promote`
- Add `datasource sample` and `datasource start` for connector testing
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add tb build and tb test run steps before deploy --check in CI examples
to match the official Tinybird CI workflow with Tinybird Local service
containers. Add preview environments section covering both SDK-based
(tinybird preview) and manual (tb branch create) approaches, cleanup,
and connector support.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add development workflow documentation covering local, branch, and cloud
workflows so users can choose the right approach for their project. Document
the branch development workflow including --last-partition, branch tokens,
and client app integration patterns. Add CI/CD integration patterns with
GitHub Actions and GitLab CI examples.
Expand best practices with data layer architecture guidance, multi-directory
project organization, Tinybird terminology conventions, richer FORWARD_QUERY
migration examples, endpoint testing tips, and fixture data workflows.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add new tinybird-python-sdk-guidelines skill with 12 rule files covering
the tinybird-sdk Python package features including datasources, endpoints,
connections, materialized views, copy/sink pipes, and JWT tokens.
Extend tinybird-typescript-sdk-guidelines with 4 new rule files (connections,
materialized-views, copy-sink-pipes, tokens) and add migrate/pull CLI commands.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>