database-schema
Installation
SKILL.md
Database Schema Awareness Skill
Problem: Claude forgets schema details mid-session - wrong column names, missing fields, incorrect types. TDD catches this at runtime, but we can prevent it earlier.
Core Rule: Read Schema Before Writing Database Code
MANDATORY: Before writing ANY code that touches the database:
┌─────────────────────────────────────────────────────────────┐
│ 1. READ the schema file (see locations below) │
│ 2. VERIFY columns/types you're about to use exist │
│ 3. REFERENCE schema in your response when writing queries │
│ 4. TYPE-CHECK using generated types (Drizzle/Prisma/etc) │
└─────────────────────────────────────────────────────────────┘
Related skills
More from alinaqi/claude-bootstrap
android-kotlin
Android Kotlin development with Coroutines, Jetpack Compose, Hilt, and MockK testing
2.0Kpwa-development
Progressive Web Apps - service workers, caching strategies, offline, Workbox
1.4Kplaywright-testing
E2E testing with Playwright - Page Objects, cross-browser, CI/CD
1.2Kui-mobile
Mobile UI patterns - React Native, iOS/Android, touch targets
689posthog-analytics
PostHog analytics, event tracking, feature flags, dashboards
538flutter
Flutter development with Riverpod state management, Freezed, go_router, and mocktail testing
496