inspect-db

Installation
SKILL.md
Contains Shell Commands

This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.

Context

DATABASE_URL presence: !test -f .env && grep -q '^DATABASE_URL=' .env && echo "in .env" || echo "(none)"

ORM marker: !if ls drizzle.config.* >/dev/null 2>&1; then echo "drizzle"; elif test -f prisma/schema.prisma; then echo "prisma"; elif { test -f wrangler.jsonc && grep -q d1_databases wrangler.jsonc; } || { test -f wrangler.toml && grep -q d1_databases wrangler.toml; }; then echo "wrangler d1"; else echo "(none)"; fi

Packages with a database directory or schema file: !find . -name node_modules -type d -prune -o \( -type d \( -iname db -o -iname database \) -o -iname schema.prisma -o -iname schema.ts \) -print 2>/dev/null | head -10 || echo "(none)"

Instructions

Read the live database first with targeted SQL, compare it against the ORM schema second, and treat any mismatch as the finding; write only when explicitly asked.

Process

Installs
4
First Seen
Jul 25, 2026
inspect-db — okisdev/ai-reference