docs: add /tinybird skill for pipe and datasource deploys - #4572
Conversation
Signed-off-by: Efren Lim <elim@linuxfoundation.org>
PR SummaryLow Risk Overview The new skill spells out an end-to-end flow (venv, auth handoff, workspace selection for Reviewed by Cursor Bugbot for commit 10063a7. Bugbot is set up for automated code reviews on this repo. Configure here. |
|
|
|
Your PR title doesn't contain a Jira issue key. Consider adding it for better traceability. Example:
Projects:
Please add a Jira issue key to your PR title. |
There was a problem hiding this comment.
Pull request overview
Adds a /tinybird skill for safely editing and deploying Tinybird resources.
Changes:
- Documents setup, staging, PR, and production workflows.
- Registers Tinybird-related trigger phrases.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
.claude/skills/tinybird/SKILL.md |
Defines the deployment workflow and safeguards. |
.claude/rules/skill-guidance.md |
Registers /tinybird routing triggers. |
Suppressed comments (1)
.claude/skills/tinybird/SKILL.md:126
- The production path omits the explicit current-workspace verification required by lines 70–71 and demonstrated for staging. Add the check here so the workspace shown during confirmation is provably
lfx_insightsbefore the production push.
tb workspace use lfx_insights
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| cd services/libs/tinybird | ||
| source .venv/bin/activate | ||
| tb --version # expect 5.x — ignore the "upgrade to 6.x" nag, that's a different product line |
| tb workspace ls | ||
| tb workspace use lfx_insights_stg # staging/dev | ||
| tb workspace use lfx_insights # production |
| `lfx_insights_stg`: | ||
|
|
||
| ```bash | ||
| tb pull --force --match <resource_name> |
| in parens at the end, `--signoff -S`, and the PR title must carry the CM key (CI-enforced by | ||
| `pr-title-jira-key-lint.yml`). Note: this repo's Tinybird CI (`tinybird-ci.yml`) only checks |
Summary
/tinybirdskill documenting the edit-and-deploy cycle for Tinybird pipes/datasources (venv setup, workspace selection betweenlfx_insights_stg/lfx_insights, format, push, PR, prod rollout gated on explicit confirmation).claude/rules/skill-guidance.mdwith trigger phrasesContext
This was originally opened as linuxfoundation/insights#2087, but the Tinybird resources it documents (
.pipe/.datasource,format.sh, the README) all live in this repo underservices/libs/tinybird/, not in insights. Moving the skill here removes the need for it to locate a sibling checkout or guard against editing a submodule — it now just operates directly on this repo's own Tinybird resources and PR conventions.Test plan
tb pushto thelfx_insights(prod) workspaceNote: no JIRA (CM) key included in this title yet —
pr-title-jira-key-lintwill fail until one is added.