database-agent

Automate Supabase schema design, migrations, queries, and TypeScript type generation.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/akkpol/crafe-flow-nextjs --skill database-agent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-agent
Source: https://github.com/akkpol/crafe-flow-nextjs/tree/main/.codex/skills/database-agent
Command: npx skills add https://github.com/akkpol/crafe-flow-nextjs --skill database-agent

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamline database schema design, migrations, queries, and type generation for CraftFlow ERP by giving direct access to Supabase MCP tools.

Core Features & Use Cases

  • Direct MCP tool orchestration for listing tables, running queries, applying migrations, and generating TypeScript types.
  • Schema and migration management for versioned changes across environments.
  • Advisory checks and safety to verify RLS, indexes, and security posture before deployment.

Quick Start

Run the skill to list current tables and apply a migration to update the schema.

Frequently Asked Questions about database-agent

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

FAQPage Schema
How do I automate Supabase database migrations using MCP tools?

You can automate Supabase database migrations using MCP tools by orchestrating commands to list tables, apply versioned schema changes, and execute SQL directly across environments. This skill manages schema design and applies migrations through direct MCP tool integration.

Can I generate TypeScript types directly from a Supabase database schema?

Yes, you can generate TypeScript types directly from a Supabase database schema. The skill orchestrates Supabase MCP tool commands to automatically generate TypeScript types for your database, ensuring your codebase stays synchronized with your schema design.

Does this skill verify Row Level Security and indexes before applying migrations?

Yes, the skill verifies Row Level Security, indexes, and overall security posture before deployment. It runs advisory checks and safety validations to ensure your Supabase database schema changes are secure before you apply migrations to your environments.

What is the best way to manage Supabase schema design for an ERP system?

The best way to manage Supabase schema design for an ERP system is to use direct MCP tool orchestration for versioned changes. This skill streamlines schema design, migrations, and queries specifically for CraftFlow ERP using Supabase MCP tools.

How do I list current tables and execute SQL queries on Supabase via MCP?

You can list current tables and execute SQL queries on Supabase via MCP by running the skill to orchestrate Supabase MCP tool commands. It provides direct integration to list tables, run data queries, and apply schema migrations programmatically.