paw-tp2-migration

paw-tp2-migration is a skill for Codex from keodubo/PAW-Wiki. It costs 89 tokens per session (1,444 once invoked), scanned A, original, MIT.

A set of instructions for migrating the PAW project's database persistence from JDBC, a direct Java database-access method, to JPA and Hibernate, Java tools that map objects to database records.

In plain words
What is it for?
Use it when planning, implementing, auditing, or reviewing the PAW TP2 migration, including entity mappings, ORM configuration, DAOs, and transactions.
Why use it?
It keeps existing product behavior, stored data, deployment, and earlier corrections in view during the persistence change.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions CLAUDE.md; $skill-name invocation.

Good fit Use it when planning, implementing, auditing, or reviewing the PAW TP2 migration, including entity mappings, ORM configuration, DAOs, and transactions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/keodubo/paw-wiki/paw-tp2-migration
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add keodubo/PAW-Wiki --skill paw-tp2-migration
Clone the repo
git clone --depth 1 https://github.com/keodubo/PAW-Wiki

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for paw-tp2-migration

README.md
[![agentmods](https://agentmods.dev/badge/skills/keodubo/paw-wiki/paw-tp2-migration/github.svg)](https://agentmods.dev/skills/keodubo/paw-wiki/paw-tp2-migration)
Your own site
<a href="https://agentmods.dev/skills/keodubo/paw-wiki/paw-tp2-migration"><img src="https://agentmods.dev/badge/skills/keodubo/paw-wiki/paw-tp2-migration/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for paw-tp2-migration

Your own site · 80×15
<a href="https://agentmods.dev/skills/keodubo/paw-wiki/paw-tp2-migration"><img src="https://agentmods.dev/badge/skills/keodubo/paw-wiki/paw-tp2-migration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,444 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00089 $0.01444
Opus 5 $0.00044 $0.00722
Sonnet 5 $0.00018 $0.00289
Haiku 4.5 $0.00009 $0.00144

Measured 11d ago against content hash 239b624241d4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

paw-tp2-migration scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/paw-tp2-migration/SKILL.md · 115 lines

How it starts

The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Paw TP2 Migration

Overview

Use this when the user says the PAW project is in TPE2/TP2, asks for Hibernate/JPA/ORM work, or wants to migrate persistence away from TP1 JDBC. The goal is a controlled persistence migration that preserves existing product behavior and server data, not a broad rewrite of webapp or product surface.

Read references/migration-rules.md before editing or judging migration work.

Required First Pass

  1. Confirm the stage is TPE2/TP2 or the user explicitly asked for Hibernate/JPA.
  2. Read the app CLAUDE.md, PAW-Wiki/docs/CLAUDE.md, PAW-Wiki/docs/index.md, and PAW-Wiki/docs/wiki/resumen-clases-paw-2026.md.
  3. Read PAW-Wiki/docs/wiki/resumen-enunciado-tpe2.md as the delivery contract, then read PAW-Wiki/docs/wiki/tp1-vs-tpe2-final.md, paw-unidad-09-hibernate-jpa.md, hibernate-jpa.md, persistencia-jdbc.md, transactional.md, criterios-evaluacion.md, calendario-entregas.md, and testing-unitario.md.
  4. If the migration depends on transaction/proxy behavior, also read PAW-Wiki/docs/wiki/paw-unidad-08-aop-transacciones.md.
  5. Capture baseline code, schema, production/deploy assumptions, tests, and prior catedra feedback for the slice being migrated.
  6. State which product behavior and data must stay identical, which feedback items must be corrected, and which persistence mechanics are allowed to change.

First TP2 Session Checklist

When the user says TP1 is finished and they are starting TP2, do this before editing:

  1. Inventory current JDBC DAOs, DAO contracts, schema scripts, row mappers, service callers, and persistence tests.
  2. Inventory TPE1 feedback/corrections and mark which items are blockers for TP2 readiness.
  3. Identify the smallest safe first aggregate to migrate.
  4. Decide whether JDBC and JPA implementations will coexist temporarily, and how Spring bean selection will be explicit.
  5. Plan entity mappings against the existing schema and existing data before adding Hibernate config.
  6. Define verification gates for the slice: focused persistence test, affected service tests, package/deploy-sensitive gate if wiring changed, then wider Maven gate.

Read the full file on GitHub · 115 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 115 lines · 89 tokens per session scan A 239b624241d4

Subscribe to this mod's changes

paw-tp2-migration is a skill published in the GitHub repository keodubo/PAW-Wiki (10 stars, last pushed 1mo ago), licensed MIT. It adds 89 tokens to every session and 1,444 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

jpa-patterns

JPA/Hibernate patterns for entity design, relationships, query optimization, transactions, auditing, indexing, pagination, and pooling in Spring Boot.

affaan-m/ECC · 33 tokens

azure-cosmos-java

Azure Cosmos DB SDK for Java. NoSQL database operations with global distribution, multi-model support, and reactive patterns. Triggers: "CosmosClient java", "CosmosAsyncClient", "cosmos database java", "cosmosdb java", "document database java".

microsoft/skills · 59 tokens

azure-data-tables-java

Build table storage applications with Azure Tables SDK for Java. Use when working with Azure Table Storage or Cosmos DB Table API for NoSQL key-value data, schemaless storage, or structured data at scale.

microsoft/skills · 47 tokens

jpa-patterns

JPA/Hibernate patterns and common pitfalls (N+1, lazy loading, transactions, queries). Use when user has JPA performance issues, LazyInitializationException, or asks about entity relationships and fetching strategies.

decebals/claude-code-java · 47 tokens

311-frameworks-spring-jdbc

Use when you need to write or review programmatic JDBC with Spring — including JdbcClient (Spring Framework 7+) as the default API, JdbcTemplate only where batch/streaming APIs require JdbcOperations, NamedParameterJdbcTemplate for legacy named-param code, parameterized SQL, RowMapper mapping to records, batch…

jabrena/plinth · 173 tokens

412-frameworks-quarkus-panache

Use when you need data access with Quarkus Hibernate ORM Panache — including PanacheEntity / PanacheEntityBase, PanacheRepository, named queries, JPQL, native SQL, DTO projections (project(Class)), pagination (Page.of()), N+1 avoidance (JOIN FETCH), optimistic locking (@Version / OptimisticLockException), @NamedQuery…

jabrena/plinth · 189 tokens