analyzing-database-layer

Document database schema, migrations, ORM configuration, and data access patterns.

9|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/cliftonc/unwind --skill analyzing-database-layer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analyzing-database-layer
Source: https://github.com/cliftonc/unwind/tree/main/skills/analyzing-database-layer
Command: npx skills add https://github.com/cliftonc/unwind --skill analyzing-database-layer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps teams systematically analyze and document the database layer, capturing schema, migrations, ORM settings, and data access patterns to enable consistent rebuilds and governance.

Core Features & Use Cases

  • Structured documentation: produces index.md, schema.md, repositories.md, and jsonb-schemas.md to document all database concerns.
  • Incremental workflow: supports staged writes and updates as the codebase evolves.
  • Use Case: When migrating or modernizing a service, generate a complete, machine-readable database layer map for reference in rebuilds.

Quick Start

Run the database layer analysis workflow to generate docs/unwind/layers/database/ with index.md, schema.md, repositories.md, and jsonb-schemas.md.

Frequently Asked Questions about analyzing-database-layer

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

FAQPage Schema
How do I document a database layer for an incremental rebuild?

Documenting a database layer for an incremental rebuild involves mapping schema, migrations, ORM configuration, and data access patterns to produce a structured, machine-readable reference for governance.

What is included in database architecture documentation for migrations?

Database architecture documentation for migrations includes an index, schema definitions, repositories, and jsonb schemas, providing a comprehensive map of data access patterns and ORM settings.

How do I map ORM configuration and schema across a large codebase?

Mapping ORM configuration and schema across a large codebase requires an incremental write process that produces structured outputs like repositories and schema files to track data access patterns during architecture reviews.

Does database layer analysis work for medium and large codebase architecture reviews?

Yes, database layer analysis is specifically designed for medium and large codebases during architecture reviews, supporting staged writes and explicit tagging to manage complex schema and migration documentation.

What is the best way to generate a machine-readable database schema map?

The best way to generate a machine-readable database schema map is to run an automated analysis workflow that outputs structured documentation files for schema, repositories, and jsonb structures.