Agent skill · Databases

analyzing-database-layer

Use when analyzing the database layer including schema, migrations, ORM configuration, and data access patterns

majiayu000github.com/majiayu000GitHub ↗
claude-coderead-onlyMIT
Install
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.

Facts
Files in the skill folder: 2
SKILL.md size: 6 KB
Bundled scripts: none
Allowed tools: -Read-Grep-Glob-Bash(mkdir:*ls:*)-Write(docs/unwind/**)-
Path: skills/analysis/analyzing-database-layer/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Output Structure
  2. Process (Incremental Writes)
  3. Output Format
  4. index.md
  5. schema.md
  6. repositories.md
  7. Additional Requirements
  8. Field-Level Documentation [MUST]
  9. JSONB Schema Extraction [MUST]
  10. Index Documentation [SHOULD]
  11. Mandatory Tagging
  12. Refresh Mode
Ships with 1 file
  • metadata.json
Commands it runs
mkdir -p docs/unwind/layers/database/
More from claude-skill-registry
All skills →
About this skill
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.

Keep going