Skill / SKILL.md

Persistence Architect

nerviz-ai/nerviz

Designs the persistence layer of an already-modeled use case, in the storage family its use case records — relational (tables, JPA mapping, Flyway migrations, datasource) or document (MongoDB collections, embedded and referenced data, indexes and validators ensured at startup, `@Version`, transactions on a replica set) — plus the audit level its use case records (created/modified stamps, or an Envers history with actor and revision) — into the `20-persistence.md` partial. Use when the request involves modeling the database, mapping an aggregate to JPA or to a MongoDB document, writing or reviewing migrations, deciding indexes and keys, auditing who changed a record and its earlier values, diagnosing N+1 or slow queries, or tuning the pool, datasource or MongoDB client properties. Piece of the `/new-feature` pipeline: requires `00-use-case.md` with a `Storage` row and `10-domain.md` in the given folder, and stops without them.
2 views 12 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Designs the persistence layer of an already-modeled use case, in the storage family its use case records — relational (tables, JPA mapping, Flyway migrations, datasource) or document (MongoDB collections, embedded and referenced data, indexes and validators ensured at startup, `@Version`, transactions on a replica set) — plus the audit level its use case records (created/modified stamps, or an Envers history with actor and revision) — into the `20-persistence.md` partial. Use when the request involves modeling the database, mapping an aggregate to JPA or to a MongoDB document, writing or reviewing migrations, deciding indexes and keys, auditing who changed a record and its earlier values, diagnosing N+1 or slow queries, or tuning the pool, datasource or MongoDB client properties. Piece of the `/new-feature` pipeline: requires `00-use-case.md` with a `Storage` row and `10-domain.md` in the given folder, and stops without them.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/nerviz-ai/nerviz' skill-source

Use the complete skill-source/.claude/skills/persistence-architect directory with your client’s skill installer.

  • .claude/skills/persistence-architect Claude Code

    main · SKILL.md

    Open installation source

    Client installation directory present in source repository

Source directory .claude/skills/persistence-architect

Compatibility & requirements

Declared tools

Read, Write, Glob, Grep, AskUserQuestion, Bash(find:*), Bash(ls:*), Bash(grep:*), Bash(sort:*), Bash(awk:*)

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
32 included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
28d654ab76cd258185f8efa7ec4ae3a642258e9b834039e27b4e9853316b2a56
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills