tina-schema-sync
Installation
SKILL.md
TinaCMS Schema Sync
Regenerate TinaCMS artifacts locally and commit them after schema changes. This handles the hybrid deployment strategy where tinacms build is skipped on Vercel and artifacts are pre-committed.
When to Use
- After editing
tina/config.ts(adding fields, blocks, collections) - After upgrading
@tinacms/cli - When
pnpm tina:buildfails with "Unable to seed" (content references unknown block types) - When Vercel deploys succeed but new blocks don't render
Prerequisites
- TinaCloud credentials in
.env.local:NEXT_PUBLIC_TINA_CLIENT_ID="..." TINA_TOKEN="..." - If
.env.localdoesn't exist, run./scripts/pull-secrets.shor copy from.env.exampleand fill in values from TinaCloud dashboard.