analyzing-database-layer
Use when analyzing the database layer including schema, migrations, ORM configuration, and data access patterns
npx skills add majiayu000/claude-skill-registry --skill analyzing-database-layer --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Analyzing Database Layer **Output:** `docs/unwind/layers/database/` (folder with index.md + section files) **Principles:** See `analysis-principles.md` - completeness, machine-readable, link to source, no commentary, incremental writes. ## Output Structure ``` docs/unwind/layers/database/ ├── index.md # Overview, table count, links to sections ├── schema.md # Current DDL for all tables ├── repositories.md # Data access patterns, queries └── jsonb-schemas.md # Complex field type definitions (if any JSONB/JSON columns) ``` For large codebases (20+ tables), split by domain: ``` docs/unwind/layers/database/ ├── index.md ├── users-domain.md # users, user_settings, user_roles tables ├── orders-domain.md # orders, order_items, shipments tables └── ... ``` ## Process (Incremental Writes) **Step 1: Setup** ```bash mkdir -p docs/unwind/layers/database/ ``` Write initial `index.md`: ```markdown # Database Layer ## Sections - [Schema](schema.md) - _pending_ - [Repositories](repositories.md) - _pending_ - [JSONB Schemas](jsonb-schemas.md) - _pending_ ## Summary _Analysis in progress..._ ``` **Step 2: Analyze and write schema.md** 1. Find migration files (Flyway, Liquibase, Alembic, Prisma, Dr
- Output Structure
- Process (Incremental Writes)
- Output Format
- index.md
- schema.md
- repositories.md
- Additional Requirements
- Field-Level Documentation [MUST]
- JSONB Schema Extraction [MUST]
- Index Documentation [SHOULD]
- Mandatory Tagging
- Refresh Mode
mkdir -p docs/unwind/layers/database/
What does the analyzing-database-layer skill do?
Use when analyzing the database layer including schema, migrations, ORM configuration, and data access patterns
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill analyzing-database-layer --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
