vespertide

Solid

Define database schemas in JSON and generate migration plans. Use this skill when creating or modifying database models, defining tables with columns, constraints, and ENUM types for Vespertide-based projects.

Code & Development 22 stars 7 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 78/100

Stars 20%
45
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Vespertide Database Schema Definition Declarative database schema management. Define tables in JSON, generate typed migrations and SQL. ## Schema Validation (MANDATORY) Every model file MUST include `$schema`. Before saving: ensure no IDE validation errors, then run `vespertide diff`. ```json { "$schema": "https://raw.githubusercontent.com/dev-five-git/vespertide/refs/heads/main/schemas/model.schema.json", "name": "table_name", "columns": [] } ``` ## Post-Edit Validation (MANDATORY) After EVERY model edit, run: ```bash vespertide diff # Check for parsing errors and expected changes vespertide sql # Preview generated SQL for correctness ``` Only proceed to `vespertide revision` after both pass cleanly. --- ## Installation ```bash cargo install vespertide-cli ``` ## CLI Commands | Command | Description | |---------|-------------| | `vespertide init` | Initialize `vespertide.json` with defaults | | `vespertide new <name>` | Create model template with `$schema` | | `vespertide new <name> -f yaml` | Create model in specific format (`json`/`yaml`/`yml`) | | `vespertide diff` | Show pending changes between migrations and models | | `vespertide sql` | Preview SQL for next migration (default: postgres) | | `vespertide sql -b mysql` | SQL for specific backend (`postgres`/`mysql`/`sqlite`) | | `vespertide log` | Show SQL per applied migration | | `vespertide log -b mysql` | Migration log for specific backend | | `vespertide status` | Show config and sync overvi...

Details

Author
dev-five-git
Repository
dev-five-git/vespertide
Created
5 months ago
Last Updated
today
Language
Rust
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

API & Backend Solid

vespera

Build APIs with Vespera - FastAPI-like DX for Rust/Axum. Covers route handlers, Schema derivation, and OpenAPI generation.

26 Updated today
dev-five-git
Data & Documents Solid

migrating-json-schemas

Migrates JSON Schemas between draft versions for use with z-schema. Use when the user wants to upgrade schemas from draft-04 to draft-2020-12, convert between draft formats, update deprecated keywords, replace id with $id, convert definitions to $defs, migrate items to prefixItems, replace dependencies with dependentRequired or dependentSchemas, adopt unevaluatedProperties or unevaluatedItems, or adapt schemas to newer JSON Schema features.

345 Updated 4 days ago
zaggino
Web & Frontend Solid

mviz

A chart & report builder designed for use by AI.

214 Updated 1 months ago
matsonj
API & Backend Solid

ezorm-skills

Entry point for ezorm repo skills. Use to pick the right skill based on task (write YAML vs generate code, and mongo vs mysql/mysqlr).

50 Updated 2 months ago
ezbuy
Data & Documents Solid

pensieve

Project knowledge base and workflow router. knowledge/ caches previously explored file locations, module boundaries, and call chains for direct reuse; decisions/maxims are established architectural decisions and coding standards -- follow, don't re-debate; pipelines are reusable workflows; short-term/ holds new conclusions temporarily, promoted or deleted upon expiry. Use self-improve to capture new insights after completing tasks. Provides five tools: init, upgrade, migrate, doctor, self-improve.

2,517 Updated 2 weeks ago
kingkongshot