Db
Description
# Database Guide Use this guide when working with database schema design, migrations, queries, and optimization. ## Migration Templates ### Create Table Migration ```sql -- migrations/YYYYMMDDHHMMSS_create_<table>.sql -- UP CREATE TABLE table_name ( id SERIAL PRIMARY KEY, name VARCHAR(255) NOT NULL, status VARCHAR(50) NOT NULL DEFAULT 'active', is_active BOOLEAN NOT NULL DEFAULT true, metadata JSONB, created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(), updated_at TIMESTA
Installation
Installs to ~/.claude/commands/sahin-ai-rules-db.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/sahin/ai-rules/HEAD/.claude/commands/db.md -o ~/.claude/commands/sahin-ai-rules-db.md Restart Claude Code, or start a new session, for it to be picked up.
Full documentation available on GitHub
View Source RepositoryRelated Skills
mcp-server-postgres
Read-only PostgreSQL database access.
Data mcp-server-sqlite
SQLite database interaction and querying.
Data mcp-server-google-maps
Google Maps integration for location data.
Data Bitbucket Data Center
---
Data Csv Data Summarizer
Automatically analyze CSV files and generate comprehensive insights with visualizations
Data Financial Services
Reference agents, skills, and data connectors for the financial-services workflows we see most — investment ba
Data