verify-persistence

Official

Verify persistence.xml uses env vars.

Authorhmislk
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill helps ensure that persistence.xml configuration uses environment variables for data sources, preventing hard-coded values from causing deployment failures.

Core Features & Use Cases

  • Validation: Checks that the main and audit datasources reference environment variables (e.g. ${JDBC_DATASOURCE}, ${JDBC_AUDIT_DATASOURCE}) and not hardcoded JNDI names.
  • Safety: Flags any DDL generation paths that rely on local or absolute file system locations.
  • Use Case: Before pushing code, run this skill to verify that persistence.xml is deployment-ready in QA and staging environments.

Quick Start

Run the Verify Persistence check against the project's persistence.xml to confirm readiness for deployment.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: verify-persistence
Download link: https://github.com/hmislk/hmis/archive/main.zip#verify-persistence

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.