aiox-data-engineer

Architect Supabase/PostgreSQL schemas with RLS policies and versioned migrations.

1|Updated May 15, 2026
One-click install
npx skills add https://github.com/hyagoviana/Sistema_Hyago_Viana_Adabtech --skill aiox-data-engineer-hyagoviana
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aiox-data-engineer
Source: https://github.com/hyagoviana/Sistema_Hyago_Viana_Adabtech/tree/main/meu-projeto/.claude/skills/AIOX/agents/data-engineer
Command: npx skills add https://github.com/hyagoviana/Sistema_Hyago_Viana_Adabtech --skill aiox-data-engineer-hyagoviana

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It eliminates slow, error-prone database work by guiding you through secure schema design, RLS configuration, safe migrations, and performance-focused query modeling.

Core Features & Use Cases

  • Database design & schema architecture: Model domain entities into relational structures optimized for real access patterns, including baseline auditing fields and integrity via foreign keys.
  • Supabase security & RLS policies: Define and validate RLS strategies with defense-in-depth, plus RLS testing scenarios to prevent accidental data exposure.
  • Safe operations & migrations: Plan, snapshot, dry-run, apply, seed, rollback, and smoke-test changes to support reversible production evolution and monitoring readiness.
  • Performance & query optimization: Analyze query behavior and optimize indexing, joins, hot paths, and execution plans for large datasets.

Quick Start

Ask the agent: Design my Supabase/PostgreSQL schema for the domain and generate an RLS strategy for the main tables, including a migration plan and rollback approach.

Frequently Asked Questions about aiox-data-engineer

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

FAQPage Schema
How do I design a PostgreSQL schema with Row Level Security policies for Supabase?

To design a PostgreSQL schema with Row Level Security (RLS), model domain entities with baseline audit fields and foreign keys, then define a defense-in-depth RLS strategy with testing scenarios to prevent accidental data exposure in Supabase.

What is the best way to plan reversible database schema migrations?

The best way to plan reversible database schema migrations is to snapshot, dry-run, apply, seed, rollback, and smoke-test changes. This ensures idempotent, versioned, and reversible database evolution with operational observability.

How do I optimize slow PostgreSQL queries for large datasets?

To optimize slow PostgreSQL queries for large datasets, analyze query behavior using explain-style analysis to improve indexing, joins, hot paths, and execution plans, ensuring performance-focused query modeling.

Does Supabase RLS support defense-in-depth security controls?

Yes, Supabase RLS supports defense-in-depth security controls. You can define and validate RLS strategies that include specific testing scenarios to prevent accidental data exposure and secure access control at the database architecture level.

Why do I need rollback and snapshot strategies for PostgreSQL schema migrations?

You need rollback and snapshot strategies for PostgreSQL schema migrations to support reversible production evolution. They allow you to dry-run, apply, and smoke-test idempotent, versioned changes safely without risking database integrity.

What constraints and baseline fields should I include in a secure database schema architecture?

A secure database schema architecture should include baseline auditing fields, constraints, and foreign keys for data integrity. It also requires versioned migrations and observability-oriented operational practices for reliable access control.