database-review

Analyze EF Core migrations, index coverage, N+1 risks, and Redis TTL conventions.

Updated Apr 24, 2026
One-click install
npx skills add https://github.com/nhahoang1909/MarketNest --skill database-review-nhahoang1909
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-review
Source: https://github.com/nhahoang1909/MarketNest/tree/main/.claude/skills/database-review
Command: npx skills add https://github.com/nhahoang1909/MarketNest --skill database-review-nhahoang1909

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps teams identify and fix weaknesses across the database layer of a .NET microservice architecture, including EF Core migrations, schema isolation, indexing, query performance, and Redis TTL strategies.

Core Features & Use Cases

  • Phase-based scans of DbContext, migrations, entity configurations, and repositories
  • N+1 query detection, AsNoTracking enforcement, and smart index recommendations
  • Redis key naming and TTL hygiene with actionable remediation steps

Quick Start

Upload your codebase or connect your repository and run a database health review to receive a prioritized remediation plan.

Frequently Asked Questions about database-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect N+1 query risks and missing indexes in EF Core?

You can detect N+1 query risks and missing indexes in EF Core by scanning your DbContext, entity configurations, and repositories. The review identifies lazy loading patterns and provides smart index recommendations to resolve query performance issues.

What is the best way to enforce AsNoTracking usage in read paths and Redis TTL conventions?

Enforcing AsNoTracking in read paths and Redis TTL conventions requires auditing your database layer and Redis key configurations. The review analyzes your codebase to flag missing AsNoTracking calls and inconsistent Redis key TTLs, providing actionable remediation steps.

How do I validate EF Core migration naming conventions and down() methods?

Validating EF Core migration naming and down() methods involves phase-based scans of your migration files. The review enforces best practices by checking proper migration naming conventions and ensuring down() methods are correctly implemented for safe rollbacks.

Does this database review tool check for schema-per-module violations in .NET microservice architectures?

Yes, the database review tool checks for schema-per-module violations in .NET microservice architectures. It analyzes schema isolation across your solution to identify boundary breaches and provides a prioritized remediation plan to restore proper modular separation.

Can I use this tool to audit Redis key naming and TTL hygiene?

Yes, you can use this tool to audit Redis key naming and TTL hygiene. It analyzes your caching layer to identify inconsistent key naming patterns and missing TTLs, delivering actionable findings to standardize your Redis cache conventions.

What do I need to prepare before running a database health review on my codebase?

Before running a database health review, you need to upload your .NET codebase or connect your repository. The tool then analyzes your EF Core migrations, entity configurations, and repositories to deliver a prioritized remediation plan.