sivaprasadreddy/sivalabs-marketplace/jpa-entity-creator
Claude Code and agent skill by sivaprasadreddy/sivalabs-marketplace
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Creates JPA entities following best practices.
Install
npx vskill@latest install sivaprasadreddy/sivalabs-marketplace/jpa-entity-creatorSKILL.md
JPA Entity Creator
Instructions
The following are key principles to follow while creating JPA entities:
- Make sure to create the recommended package structure for Spring Boot projects
- Use application generated TSID or UUID as a String for primary keys
- Create a Value Object to represent the primary key and use
@EmbeddedIdannotation - Create a protected no-arg constructor for JPA
- Create a public constructor with all required fields
- Validate state and throw exceptions for invalid inputs
- Explicitly define table names for all entities
- Explicitly define column names for all fields
- Use enum types for enum fields and
@Enumerated(EnumType.STRING)annotation - For logically related fields, create a Value Object to represent them
- When using value objects, embed them with
@Embeddedand@AttributeOverrides - Add domain methods that operate on entity state
- Use optimistic locking with
@Version - Create
BaseEntityfor audit fields(createdAt,updatedAt) and extend all entities from it
IdentityGenerator
To use TSID, add the following dependency:
Now you can use TSID to generate IDs as follows:
Value Object for Primary Key
BaseEntity with Auditing Support
File: BaseEntity.java
AssertUtil class to validate input parameters
Create a AssertUtil class with static methods to validate input parameters.
Example JPA Entity Class
While Creating a new JPA entity class, extend it from BaseEntity:
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/spring-boot-dev/skills/jpa-entity-creator/SKILL.md
Popularity
- Repository stars
- 45
- Repository forks
- 6
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 19 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sivaprasadreddy/sivalabs-marketplace/jpa-entity-creator)