AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Db Review

skill-eugeniosegala-claude-connoisseur-db-review · by eugeniosegala

Review database schemas and suggest improvements for indexing, types, and constraints.

No reviews yet
0 installs
12 views
0.0% view→install

Install

$ agentstack add skill-eugeniosegala-claude-connoisseur-db-review

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-eugeniosegala-claude-connoisseur-db-review)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Db Review? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Database Schema Review

Analyse the specified database schema files and provide actionable improvement suggestions.

Files and instructions: $ARGUMENTS

What to review

  • Indexing: missing indexes on foreign keys, frequently queried columns, and composite indexes for multi-column lookups. Flag redundant or duplicate indexes.
  • Data types: overly wide types (e.g. VARCHAR(255) where VARCHAR(50) suffices, BIGINT where INT is enough), incorrect types (e.g. strings for dates, floats for currency), and missing precision on decimals.
  • Normalisation: repeated data that should be extracted into separate tables, denormalisation without justification, and violation of normal forms.
  • Naming conventions: inconsistent table/column naming (mixed camelCase and snake_case, plural vs singular), unclear or ambiguous column names.
  • Constraints: missing NOT NULL where nullability is unlikely intentional, missing UNIQUE constraints, missing CHECK constraints for bounded values, and missing DEFAULT values.
  • Referential integrity: missing or incorrect foreign key relationships, cascading deletes that may be dangerous, orphan-prone relationships.
  • Performance: tables likely to grow large without partitioning strategy, missing covering indexes for known query patterns, N+1-prone relationship structures.
  • Schema-level concerns: missing created_at/updated_at audit columns, soft-delete patterns without indexes on the deleted flag, missing composite primary keys on junction tables.

How to interpret arguments

The arguments are free-form and flexible. They may contain:

  • File references of any type and in any format: @schema.sql, migrations/001.sql, models.py, schema.prisma, schema.rb db/structure.sql
  • Additional natural language instructions alongside file references, such as:
  • "focus on indexing only"
  • "this is a read-heavy workload"
  • "we use PostgreSQL 16"
  • "also check the migration files in db/migrations"

Parse the arguments to identify which files to review and what additional instructions apply. When additional instructions reference related files (e.g. migrations, ORM models), follow those instructions to identify and include those files as well.

Examples

  • /db-review @schema.sql — review a single schema file
  • /db-review schema.prisma, migrations/001.sql — review multiple files
  • /db-review @models.py this is a write-heavy OLTP workload on PostgreSQL — review with workload context
  • /db-review @schema.sql focus on indexing and performance only — targeted review

How to proceed

  1. Read each specified file to understand the schema, dialect (PostgreSQL, MySQL, SQLite, etc.), and ORM (if applicable)
  2. If the user included additional instructions (e.g. "also check migrations"), follow them to identify further files
  3. Analyse the schema against every review category listed above
  4. For each finding, provide:
  • What: the specific issue
  • Why: why it matters (performance, correctness, maintainability)
  • Fix: a concrete SQL or schema change to resolve it
  1. Group findings by category and order by severity (critical first)
  2. If the database engine is known, tailor recommendations to its specific features and best practices

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.