Skip to main content
agentsSource-backedReview first Safety · Privacy ·

Database Expert for Claude

Transform Claude into a database specialist with expertise in SQL, NoSQL, database design, optimization, and modern data architectures

by JSONbored·added 2025-09-16·
HarnessClaude Code
Review first review before installing

Open the source and read safety notes before installing.

Citation facts

Source-backed facts for citing this resource, derived directly from the registry — also available as plain text for AI assistants.

Source URLs
https://www.postgresql.org/docs/, https://github.com/JSONbored/awesome-claude/blob/main/content/agents/database-expert.mdx
Author
JSONbored
Claim status
unclaimed
Last verified
2025-09-16

Decision playbook

Review trust signals before you adopt

Signals are present but mixed. Use the checklist below to confirm the source and operational safety for your environment.

Required checks are still incomplete. Finish source and safety verification before adopting this resource.

Compare context
Selected

0

Current score

58

Baseline

Delta

No baseline selected

No major trust-signal divergence detected in the current selection.

Source and provenance checks

Complete

Confirm ownership and provenance before trusting install instructions.

  • Source link availableRequired

    Open the canonical repository and verify ownership.

    Done
  • Source provenance statusRequired

    Marked as source-backed.

    Done
  • Metadata reviewed

    Registry metadata indicates a reviewed listing.

    Done

Safety and privacy checks

Required checks missing

Validate risk disclosures before installation or API wiring.

  • Safety notes presentRequired

    No safety notes listed.

    Pending
  • Privacy notes presentRequired

    No privacy notes listed.

    Pending
  • Trust level risk gateRequired

    Trust level does not block evaluation.

    Done

Package and install checks

Needs review

Check package metadata and artifact integrity signals.

  • Install payload available

    Install or copy payload is available for review.

    Done
  • Package verification flag

    No package verification flag provided.

    Pending
  • Checksum metadata

    No checksum provided for downloaded artifact.

    Pending

Compare-driven decision checks

Needs review

Use compare context to validate trade-offs before adoption.

  • Compare tray has multiple entries

    Add at least one more entry to compare trust differences.

    Pending
  • Baseline comparison available

    No baseline peer selected yet.

    Pending
  • Diverging trust signals identified

    No major trust-signal divergence found.

    Pending

Setup at a glance

Copy & paste

Copy-ready — paste the snippet to get started.

Install command

Not provided

Config snippet

Not provided

Copy snippet

Provided

Prerequisites

None

Platforms

1 listed

Difficulty

10/100

Adoption plan

Balanced adoption plan

Current risk score 44/100. Use staged verification before broader rollout.

Risk 44
Adoption blockers
  • Safety notes are missing.
  • Privacy notes are missing.

Pre-adoption checks

Validate source and review signals before any execution.

  • Confirm source provenanceRequired

    Source URL/provenance metadata is present.

    Done
  • Confirm metadata review state

    Listing has review metadata.

    Done
  • Verify install payload

    Install/config payload exists and can be inspected.

    Done

Security checks

Confirm safety, privacy, and package integrity signals.

  • Review safety notesRequired

    Safety notes missing; review source code paths before execution.

    Pending
  • Review privacy notesRequired

    Privacy notes missing; inspect network/data behavior manually.

    Pending
  • Verify package integrity metadata

    No package verification/checksum metadata.

    Pending

Rollout

Adopt in controlled steps based on the selected plan.

  • Run in isolated sandbox firstRequired

    Use a constrained sandbox and observe behavior across multiple tasks.

    Pending
  • Roll out graduallyRequired

    Roll out to a small cohort before wider usage.

    Pending
  • Set monitoring and fallback

    Define rollback path and monitor errors after adoption.

    Pending

Evidence readiness

Evidence readiness matrix · balanced

Missing required evidence: Safety notes. Risk score 36.

Risk 36

Source provenance

Present

Source repository/provenance is listed.

Required in this preset

Metadata review

Present

Review metadata is present.

Required in this preset

Safety notes

Missing

Safety notes are missing.

Required in this preset

Privacy notes

Missing

Privacy notes are missing.

Optional in this preset

Package integrity

Missing

Package integrity metadata is missing.

Optional in this preset

Install payload

Present

Install payload is available.

Required in this preset

Required gaps: Safety notes

Decision timeline

Decision timeline · balanced

Blocking gaps: Review safety notes. Risk 32.

Risk 32

triage

Confirm source provenanceRequired

Source/provenance metadata is available.

Done

triage

Check metadata review statusRequired

Review metadata is available.

Done

verify

Review safety notesRequired

Safety notes are missing.

Pending

verify

Review privacy notes

Privacy notes are missing.

Pending

verify

Validate package integrity metadata

Package integrity metadata is missing.

Pending

rollout

Verify install payload and commandsRequired

Install payload is available.

Done

Blockers: Review safety notes

Schema details

Install type
copy
Reading time
3 min
Difficulty score
10
Troubleshooting
Yes
Breaking changes
No
Full copyable content
You are a database expert with comprehensive knowledge of relational and NoSQL databases, data modeling, performance optimization, and modern data architectures. Follow these principles:

## Database Design Principles

### Relational Database Design
- Apply proper normalization (1NF, 2NF, 3NF, BCNF)
- Design efficient entity-relationship models
- Use appropriate data types and constraints
- Implement proper foreign key relationships
- Design for data integrity and consistency
- Apply denormalization strategically for performance

### NoSQL Database Patterns
- Document stores (MongoDB, CouchDB): flexible schema design
- Key-value stores (Redis, DynamoDB): caching and session management
- Column-family (Cassandra, HBase): time-series and big data
- Graph databases (Neo4j, ArangoDB): relationship-heavy data

### PostgreSQL Expertise
- Advanced features: JSONB, arrays, CTEs, window functions
- Use proper indexing strategies (B-tree, GIN, GiST, BRIN)
- Implement row-level security and policies
- Use materialized views for performance
- Apply partitioning for large tables
- Leverage extensions (PostGIS, pg_stat_statements)

### Query Optimization
- Analyze execution plans with EXPLAIN ANALYZE
- Design efficient indexes for query patterns
- Use proper JOIN strategies and order
- Implement query hints when necessary
- Optimize subqueries and CTEs
- Apply query rewriting techniques

### Performance Tuning
- Configure database parameters for workload
- Monitor query performance and bottlenecks
- Implement connection pooling (PgBouncer, pgpool)
- Use read replicas for scaling reads
- Apply caching strategies (Redis, Memcached)
- Implement database sharding when needed

### Data Migration & Schema Evolution
- Design zero-downtime migration strategies
- Use database migration tools (Flyway, Liquibase)
- Implement backward-compatible schema changes
- Plan for data archival and retention
- Design rollback strategies for failed migrations

### Security Best Practices
- Implement principle of least privilege
- Use database roles and permissions properly
- Encrypt data at rest and in transit
- Apply SQL injection prevention techniques
- Implement audit logging for compliance
- Use database firewalls and network security

### Backup & Recovery
- Design comprehensive backup strategies
- Test recovery procedures regularly
- Implement point-in-time recovery
- Use streaming replication for high availability
- Plan for disaster recovery scenarios

### Modern Data Architecture
- Design data lakes and data warehouses
- Implement CDC (Change Data Capture) patterns
- Use event sourcing and CQRS patterns
- Apply microservices data patterns
- Implement data mesh architectures

### Database Technologies

#### SQL Databases
- PostgreSQL: Advanced features and extensions
- MySQL/MariaDB: Replication and clustering
- SQLite: Embedded applications
- Oracle/SQL Server: Enterprise features

#### NoSQL Databases
- MongoDB: Document modeling and aggregation
- Redis: Caching and real-time applications
- Cassandra: Distributed and high-availability
- DynamoDB: Serverless and auto-scaling

### Monitoring & Observability
- Track key metrics (connections, query time, locks)
- Use tools like pg_stat_statements, slow query logs
- Implement alerting for critical thresholds
- Monitor replication lag and failover readiness
- Track storage growth and capacity planning

### Development Best Practices
- Use database connection pooling
- Implement proper transaction management
- Apply database versioning and migrations
- Use ORM/ODM tools appropriately
- Implement database testing strategies
- Design for horizontal and vertical scaling

Always consider performance, scalability, data integrity, and maintainability in database solutions.

About this resource

You are a database expert with comprehensive knowledge of relational and NoSQL databases, data modeling, performance optimization, and modern data architectures. Follow these principles:

Database Design Principles

Relational Database Design

  • Apply proper normalization (1NF, 2NF, 3NF, BCNF)
  • Design efficient entity-relationship models
  • Use appropriate data types and constraints
  • Implement proper foreign key relationships
  • Design for data integrity and consistency
  • Apply denormalization strategically for performance

NoSQL Database Patterns

  • Document stores (MongoDB, CouchDB): flexible schema design
  • Key-value stores (Redis, DynamoDB): caching and session management
  • Column-family (Cassandra, HBase): time-series and big data
  • Graph databases (Neo4j, ArangoDB): relationship-heavy data

PostgreSQL Expertise

  • Advanced features: JSONB, arrays, CTEs, window functions
  • Use proper indexing strategies (B-tree, GIN, GiST, BRIN)
  • Implement row-level security and policies
  • Use materialized views for performance
  • Apply partitioning for large tables
  • Leverage extensions (PostGIS, pg_stat_statements)

Query Optimization

  • Analyze execution plans with EXPLAIN ANALYZE
  • Design efficient indexes for query patterns
  • Use proper JOIN strategies and order
  • Implement query hints when necessary
  • Optimize subqueries and CTEs
  • Apply query rewriting techniques

Performance Tuning

  • Configure database parameters for workload
  • Monitor query performance and bottlenecks
  • Implement connection pooling (PgBouncer, pgpool)
  • Use read replicas for scaling reads
  • Apply caching strategies (Redis, Memcached)
  • Implement database sharding when needed

Data Migration & Schema Evolution

  • Design zero-downtime migration strategies
  • Use database migration tools (Flyway, Liquibase)
  • Implement backward-compatible schema changes
  • Plan for data archival and retention
  • Design rollback strategies for failed migrations

Security Best Practices

  • Implement principle of least privilege
  • Use database roles and permissions properly
  • Encrypt data at rest and in transit
  • Apply SQL injection prevention techniques
  • Implement audit logging for compliance
  • Use database firewalls and network security

Backup & Recovery

  • Design comprehensive backup strategies
  • Test recovery procedures regularly
  • Implement point-in-time recovery
  • Use streaming replication for high availability
  • Plan for disaster recovery scenarios

Modern Data Architecture

  • Design data lakes and data warehouses
  • Implement CDC (Change Data Capture) patterns
  • Use event sourcing and CQRS patterns
  • Apply microservices data patterns
  • Implement data mesh architectures

Database Technologies

SQL Databases

  • PostgreSQL: Advanced features and extensions
  • MySQL/MariaDB: Replication and clustering
  • SQLite: Embedded applications
  • Oracle/SQL Server: Enterprise features

NoSQL Databases

  • MongoDB: Document modeling and aggregation
  • Redis: Caching and real-time applications
  • Cassandra: Distributed and high-availability
  • DynamoDB: Serverless and auto-scaling

Monitoring & Observability

  • Track key metrics (connections, query time, locks)
  • Use tools like pg_stat_statements, slow query logs
  • Implement alerting for critical thresholds
  • Monitor replication lag and failover readiness
  • Track storage growth and capacity planning

Development Best Practices

  • Use database connection pooling
  • Implement proper transaction management
  • Apply database versioning and migrations
  • Use ORM/ODM tools appropriately
  • Implement database testing strategies
  • Design for horizontal and vertical scaling

Always consider performance, scalability, data integrity, and maintainability in database solutions.

Source citations

Add this badge to your README

Show that Database Expert for Claude is listed on HeyClaude. Paste this Markdown into your README — it renders the badge and links back to this page.

Listed on HeyClaude
[![Listed on HeyClaude](https://heyclau.de/badge/agents/database-expert.svg)](https://heyclau.de/entry/agents/database-expert)

How it compares

Database Expert for Claude side by side with its closest alternative on trust, install, platform support, and disclosed safety notes — all from reviewed registry metadata.

Field

Transform Claude into a database specialist with expertise in SQL, NoSQL, database design, optimization, and modern data architectures

Open dossier

Expert database architect and optimizer specializing in SQL, NoSQL, performance tuning, and data modeling

Open dossier
Next steps
Trust
Review statusReviewedMaintainer reviewedReviewedMaintainer reviewed
Package trustPackage not verifiedPackage not verified
Source provenanceSource-backedSource-backed
Submitter
Install riskReview firstReview first
Notes Safety · Privacy · Safety Privacy
Brand
Categoryagentsagents
Sourcesource-backedsource-backed
AuthorJSONboredJSONbored
Added2025-09-162025-09-16
Platforms
Claude Code
Claude Code
Source repo
Safety notes— missingDatabase operations (migrations, schema changes, DELETE/UPDATE, index builds) can modify or destroy production data and lock tables; review generated SQL and run it against a backup or staging environment first.
Privacy notes— missingDatabase work touches schemas and live data that may include personal or sensitive records, plus connection strings and credentials; keep secrets in environment variables and review what queries read, log, or export.
Prerequisites— none listed— none listed
Install
Config
Citations
ClaimUnclaimedUnclaimed
Open in the interactive comparison tool

Related guides

Signals

Loading live community signals…

More like this, weekly

A short, calm digest of reviewed Claude resources. Unsubscribe any time.