setup-database

Initializes database projects with migrations, seed data, and configuration for Supabase, PostgreSQL, MongoDB, MySQL, or SQLite.

3|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/gabrielnsmnto/kord-aios --skill setup-database-gabrielnsmnto
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: setup-database
Source: https://github.com/gabrielnsmnto/kord-aios/tree/main/src/features/builtin-skills/kord-aios/database/setup-database
Command: npx skills add https://github.com/gabrielnsmnto/kord-aios --skill setup-database-gabrielnsmnto

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up a new database project involves repetitive boilerplate: creating directory structures, writing initial migrations, configuring connection strings, and preparing seed data. This Skill automates that scaffolding across five database platforms so developers start from a consistent, working foundation. ## Core Features & Use Cases - Multi-Database Support: Scaffolds projects for Supabase, PostgreSQL, MongoDB, MySQL, and SQLite with platform-appropriate structures. - Auto-Detection: Detects the intended database type by scanning PRD and architecture documents for keywords. - Starter Artifacts: Generates initial schema migrations, seed data, .env configuration templates, and migration runner scripts. - Use Case: A developer starting a new project with Supabase runs this Skill to install the CLI, initialize the project, create an initial users table migration with RLS policies, and launch the local development environment in one flow. ## Quick Start Ask the agent to set up a new database project for your chosen platform, for example by saying: set up a Supabase database for this project.

Frequently Asked Questions about setup-database

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a new database project with migrations?▼

Run the setup-database skill and select your database type. It creates the project directory structure, an initial schema migration, seed data, and a .env configuration template, plus a migration runner script for PostgreSQL.

Which databases does this setup skill support?▼

It supports Supabase, PostgreSQL, MongoDB, MySQL, and SQLite. Each type gets a platform-appropriate structure, such as supabase/migrations with RLS policies for Supabase or JSON schema validators for MongoDB.

Can the skill detect my database type automatically?▼

Yes. It scans docs/prd and docs/architecture YAML files for keywords like supabase, postgres, mongodb, mysql, or sqlite, then pre-selects the detected database type as the default in the prompt.

Does the Supabase setup install the Supabase CLI?▼

Yes. It checks whether the Supabase CLI is already installed, and if not, installs it via Homebrew on macOS or by downloading the release binary on Linux before running supabase init.

What happens if the target directory is not empty?▼

The skill's error handling covers the directory-not-empty case. It prompts for confirmation and offers to merge or abort rather than overwriting existing files.