Vibeleaderboard
← All Intel
Clip / AI Agents

Be opinionated: the DDL-first schema workflow

From Combine Skills and MCP to Close the Context Gap — Pedro Rodrigues, Supabase · ≈9:14

Encodes a concrete opinionated workflow in the skill — free DDL on dev/staging, run advisors, fix issues, and only then create the migration file — preventing agents from generating a migration per schema tweak.

What’s in it
  • Encodes a concrete opinionated workflow in the skill — free DDL on dev/staging, run advisors, fix issues, and only then create the migration file — preventing agents from generating a migration per schema tweak.
Clip transcript
And lastly, the third principle that I have for you when writing a product skill is to be opinionated. You know your product the best. You know how to work with it. You know how your users or you should know how your users are using it. Don't be afraid of guiding the agents on what on workflows that you think are the most effective when working with your product. In our case for example, managing a database schema, right? I have actually haven't asked this and should have in the the beginning. How many of you know Superbase and what Superbase does? Okay, for So for the ones who who don't know, we're basically a backend as a service. We provide a storage database, authentication and other uh features that you would need to create a back end out of the box. So, we provide as I said we provide a database and the agent can interact and manipulate your your schema, right? We found that this for our platform was the best workflow for the agents to efficiently manage the schema. So, in this case run uh direct DDL operations like change the schema freely on your um development or staging database. Once you're happy about it, we provide an advisor to our basically linked to give any uh security or performance issues that the database could have, fix them, and only then create the migration file. So, this will prevent the agent to create a migration file every time he changes the schema. We found this to be the best um workflow to manage the schema. So, for us it should be in the um in the skill when working with with Superbase.
Recommended reads
Comments

Checking sign-in…

Loading comments…