Back to Gallery
Database Agent Rule
View Full Resolution
100% Free Access
AI Architecture Cursor AI / Claude 3.5
Category AI Agents
Best Use Case Commercial & Cinematic
AI Agents AI Agent System Prompt

Database Agent Rule

Database best practices focusing on Prisma and Supabase integration

Quick Answer (Voice / AI Overview) Here is the verified Database Agent Rule prompt for Cursor AI / Claude 3.5 under the AI Agents category. You can copy the full JSON blueprint on JsonPrompts.in for free.
Ready-to-Run Prompt
100% Free Copy
# Database Best Practices ## Prisma Setup - Use proper schema design - Implement proper migrations - Use proper relation definitions - Configure proper connection - Implement proper seeding - Use proper client setup ## Prisma Models - Use proper model naming - Implement proper relations - Use proper field types - Define proper indexes - Implement proper constraints - Use proper enums ## Prisma Queries - Use proper query optimization - Implement proper filtering - Use proper relations loading - Handle transactions properly - Implement proper pagination - Use proper aggregations ## Supabase Setup - Configure proper project setup - Implement proper authentication - Use proper database setup - Configure proper storage - Implement proper policies - Use proper client setup ## Supabase Security - Implement proper RLS policies - Use proper authentication - Configure proper permissions - Handle sensitive data properly - Implement proper backups - Use proper encryption ## Supabase Queries - Use proper query optimization - Implement proper filtering - Use proper joins - Handle real-time properly - Implement proper pagination - Use proper functions ## Database Design - Use proper normalization - Implement proper indexing - Use proper constraints - Define proper relations - Implement proper cascades - Use proper data types ## Performance - Use proper connection pooling - Implement proper caching - Use proper query optimization - Handle N+1 queries properly - Implement proper batching - Monitor performance metrics ## Security - Use proper authentication - Implement proper authorization - Handle sensitive data properly - Use proper encryption - Implement proper backups - Monitor security issues ## Best Practices - Follow database conventions - Use proper migrations - Implement proper versioning - Handle errors properly - Document schema properly - Monitor database health

Structured JSON Schema

Use with automated API pipelines, LangChain, or custom image generators

{
    "system_prompt": "# Database Best Practices\n\n## Prisma Setup\n- Use proper schema design\n- Implement proper migrations\n- Use proper relation definitions\n- Configure proper connection\n- Implement proper seeding\n- Use proper client setup\n\n## Prisma Models\n- Use proper model naming\n- Implement proper relations\n- Use proper field types\n- Define proper indexes\n- Implement proper constraints\n- Use proper enums\n\n## Prisma Queries\n- Use proper query optimization\n- Implement proper filtering\n- Use proper relations loading\n- Handle transactions properly\n- Implement proper pagination\n- Use proper aggregations\n\n## Supabase Setup\n- Configure proper project setup\n- Implement proper authentication\n- Use proper database setup\n- Configure proper storage\n- Implement proper policies\n- Use proper client setup\n\n## Supabase Security\n- Implement proper RLS policies\n- Use proper authentication\n- Configure proper permissions\n- Handle sensitive data properly\n- Implement proper backups\n- Use proper encryption\n\n## Supabase Queries\n- Use proper query optimization\n- Implement proper filtering\n- Use proper joins\n- Handle real-time properly\n- Implement proper pagination\n- Use proper functions\n\n## Database Design\n- Use proper normalization\n- Implement proper indexing\n- Use proper constraints\n- Define proper relations\n- Implement proper cascades\n- Use proper data types\n\n## Performance\n- Use proper connection pooling\n- Implement proper caching\n- Use proper query optimization\n- Handle N+1 queries properly\n- Implement proper batching\n- Monitor performance metrics\n\n## Security\n- Use proper authentication\n- Implement proper authorization\n- Handle sensitive data properly\n- Use proper encryption\n- Implement proper backups\n- Monitor security issues\n\n## Best Practices\n- Follow database conventions\n- Use proper migrations\n- Implement proper versioning\n- Handle errors properly\n- Document schema properly\n- Monitor database health",
    "prompt_type": "agent_rule",
    "framework": "cursor",
    "globs": "prisma/**/*, src/db/**/*, **/*.prisma, supabase/**/*",
    "compatible_models": [
        "Claude 3.5 Sonnet",
        "GPT-4o",
        "Cursor AI",
        "Gemini 2.5 Flash"
    ],
    "download_filename": "database.cursorrules",
    "tags": [
        "cursor",
        "cursorrules",
        "agent",
        "coding",
        "database"
    ]
}

Voice Search & FAQs

Natural voice queries and direct answers for Siri, Google Assistant & Perplexity

"What is the best AI Agents prompt for Cursor AI / Claude 3.5?"

The Database Agent Rule blueprint is optimized for Cursor AI / Claude 3.5 to produce high-precision output with verified JSON formatting.

"How do I prompt Cursor AI / Claude 3.5 for Database Agent Rule?"

Use the verified Database Agent Rule prompt from JsonPrompts.in. Copy the prompt or structured JSON blueprint and paste it directly into Cursor AI / Claude 3.5.

"Where can I find free Cursor AI / Claude 3.5 prompt templates for AI Agents?"

JsonPrompts.in offers free verified AI Agents JSON prompt blueprints including Database Agent Rule, with zero sign-up required.

Internal Discovery

More AI Agents Prompts

View All →