Install any skill in seconds. Free to start, no credit card required.
Get Started Free →butterbase-ai/schema-design
Use when designing database schemas, creating or modifying tables, choosing column types, adding indexes, or working with the Butterbase declarative schema DSL
Passed 21 of 22 test cases with the skill, and 12 of 22 without it.
and 9 more in the full report
9 fixed12 passed either way1 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 9 test cases the skill fixed. Same model, same prompt, with and without the skill.
Construct the tool call request to retrieve the current active database schema definition for application `app_11092`.
| Checked | Without skill | With skill |
|---|---|---|
| Sets action parameter to get | Missed | Passed |
| Invokes manage_schema tool | Missed | Passed |
The instructions your model reads when the skill loads.
Reference guide for Butterbase's declarative schema DSL. Covers column types, constraints, indexes, and common data modeling patterns.
Butterbase uses a declarative schema DSL — you describe the desired end state of your database, and the platform computes and applies the diff. You never write raw ALTER TABLE or CREATE TABLE SQL. Instead, call manage_schema with action: "apply" and a JSON payload describing your tables, columns, and indexes.
The single manage_schema tool exposes four actions:
| Action | Purpose |
|---|---|
"get" | Read the current schema |
"dry_run" | Preview SQL that apply would execute, without running it |
"apply" | Apply a declarative schema (diffs against current, runs safe DDL) |
"list_migrations" | List applied migrations, most recent first |
Key principles:
_drop / _dropColumnsaction: "dry_run" to see what will change before committing| Type | PostgreSQL | Use case |
|---|---|---|
uuid | UUID | Primary keys, foreign keys |
text | TEXT | Strings of any length |
integer | INTEGER | Whole numbers (-2B to 2B) |
bigint | BIGINT | Large whole numbers |
boolean | BOOLEAN | True/false flags |
timestamptz | TIMESTAMPTZ | Dates with timezone |
jsonb | JSONB | Structured/semi-structured data |
real | REAL | 32-bit floating point |
test cases passed, vs 12 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.