Persistence Jpa

Use this skill when working with JPA entities, repositories, and persistence logic in a Spring Boot project. Combines domain-driven persistence design with Java correctness, performance awareness, and testability.

5 stars 1 forksSoftware Development

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add senoritadeveloper01/claude-skills --skill persistence-jpa
Manual install
git clone --depth 1 https://github.com/senoritadeveloper01/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/.claude/skills/persistence-jpa ~/.claude/skills/persistence-jpa

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Persistence & JPA

## Scope
Apply this skill when working on:
- JPA entities
- Spring Data repositories
- persistence-related service logic
- database mappings and relationships
- transaction boundaries

---

## Persistence architecture
- Keep persistence concerns in entities and repositories.
- Keep business logic in services, not repositories.
- Do not expose JPA entities directly via REST APIs.
- Use DTOs for API boundaries.
- Keep repository interfaces focused on data access.

---

## Entity design
- Model entities clearly and align them with domain concepts.
- Define explicit constraints: nullability, length, uniqueness.
- Prefer simple relationships unless complexity is required.
- Avoid mixing persistence logic with transport concerns.
- Avoid large, bloated entities.

---

## Identifier and mapping rules
- Use a clear primary key strategy.
- Prefer explicit column and table mappings where clarity is needed.
- Align entity structure with actual database constraints.
- Be explicit about timestamps and auditing fields.

---

## Repository rules
- Use Spring Data JPA repositories for standard operations.
- Prefer derived query methods before custom queries.
- Avoid placing business logic inside repositories.
- Keep queries readable and intention-revealing.

---

## Transaction boundaries
- Define transactions at the service layer.
- Keep write operations explicit and controlled.
- Avoid spreading persistence logic across multiple layers.

---
Read the full skill on GitHub

Details

Skill name
persistence-jpa
Path
.claude/skills/persistence-jpa/SKILL.md
Repo updated
24 March 2026

FAQ

What does the Persistence Jpa skill do?

Use this skill when working with JPA entities, repositories, and persistence logic in a Spring Boot project. Combines domain-driven persistence design with Java correctness, performance awareness, and testability.

How do I install the Persistence Jpa skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add senoritadeveloper01/claude-skills --skill persistence-jpa. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Persistence Jpa popular?

It lives in senoritadeveloper01/claude-skills, which has 5 GitHub stars and 1 forks.

Related skills

Flyway Migrations

5

senoritadeveloper01/claude-skills

Use this skill when creating or reviewing Flyway database migrations in a Spring Boot project. Covers schema evolution, data migrations, zero-downtime strategies, and PostgreSQL best practices.

Databases

Java Best Practices

5

senoritadeveloper01/claude-skills

Use this skill when generating or reviewing Java code to ensure readability, maintainability, correctness, and modern best practices.

Software Development

Spring Boot Core

5

senoritadeveloper01/claude-skills

Use this skill when creating or updating Spring Boot application code in this repository, including REST controllers, services, DTOs, validation, exception handling, configuration, and general project structure.

Software Development

Wordpress Router

9

morrealev/wordpress-manager

“Use when the user asks about WordPress — whether development (plugins, themes, blocks, REST API) or operations (deploy, audit, backup, migrate, content management). Classifies the task and routes to the correct development or operational skill/agent.”

Software Development

Wrangler Configuration

9

zllovesuki/cloudflare-agent-skills

Configure Cloudflare Workers projects with wrangler.jsonc, bindings, environment variables, secrets, compatibility flags, and generated TypeScript Env types. Use whenever code needs D1, R2, KV, Durable Objects, Queues, Workflows, Workers AI, Vectorize, Hyperdrive, assets, or service bindings.

Software Development

Wp Headless

9

morrealev/wordpress-manager

Use when building headless/decoupled WordPress architectures: choosing between REST API and WPGraphQL, headless authentication (JWT, application passwords, NextAuth), CORS configuration, frontend framework integration (Next.js, Nuxt, Astro), content webhooks, and ISR/SSG strategies.

Software Development

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.