/oracle-to-postgres-migration-expert:reviewing-oracle-to-postgres-migrationfrom oracle-to-postgres-migration-expert
Reviews Oracle-to-PostgreSQL migration plans and artifacts for behavioral risks including empty strings, exceptions, refcursors, type coercion, sorting, UNION ALL, materialized views, timestamps, sequences, ROWNUM, NVL/DECODE, and concurrent transactions.
Ships in oracle-to-postgres-migration-expert. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Cross-reference migration scope against the bundled Oracle/PostgreSQL behavior references, identify risks by cross-referencing before implementation, and validate post-migration work against integration-test evidence.
references/REFERENCE.md as the index, then open only the reference files whose behavior appears in scope.| Step | Action | Evidence to capture |
|---|---|---|
| Identify scope | List affected database objects and caller code. | Object names, SQL files, application classes, refcursor clients. |
| Screen insights | Compare the scope to every entry in references/REFERENCE.md. | Applicable reference filenames and skipped references with reason. |
| Decide semantics | Flag behavior choices such as Oracle empty-string-as-NULL versus native PostgreSQL empty string behavior. | Decision owner or default recommendation. |
| Recommend fixes | Apply patterns from the specific reference file. | Query rewrite, function rewrite, test requirement, or design decision. |
| Step | Action | Gate |
|---|---|---|
| Map artifact | Summarize the migrated object and change set. | Every changed procedure, trigger, query, view, or caller is named. |
| Cross-check insights | Confirm each applicable reference behavior is acknowledged and addressed. | No applicable insight is left as "not reviewed". |
| Verify tests | Confirm happy paths and failure paths exercise PostgreSQL behavior. | Integration tests cover exceptions, sorting, UNION ALL, refcursor consumption, concurrent transactions, timestamps, and materialized-view freshness when applicable. |
| Gate result | Report pass, conditional pass, or fix required. | Migration scripts run and tests pass, or blockers are explicit. |
| Risk area | Look for | Bundled reference |
|---|---|---|
| Empty strings | Oracle treats '' like NULL; PostgreSQL does not. | references/empty-strings-handling.md |
| No data exceptions | Oracle NO_DATA_FOUND exception flow may become empty result handling. | references/no-data-found-exceptions.md |
NVL and DECODE | Oracle-specific functions need PostgreSQL-safe equivalents. | references/oracle-nvl-decode-functions.md |
Parenthesized FROM | Oracle join syntax and parentheses can change semantics. | references/oracle-parentheses-from-clause.md |
| Pagination | ROWNUM patterns need PostgreSQL pagination or window functions. | references/oracle-rownum-pagination.md |
Sequences and DUAL | SYSDATE, sequences, and DUAL need PostgreSQL replacements. | references/oracle-sysdate-sequences-dual.md |
| Sorting and collations | NULL ordering, sorting/collations, collation, and case behavior may differ. | references/oracle-to-postgres-sorting.md |
| Timestamps | Time zone and precision semantics may change. | references/oracle-to-postgres-timestamp-timezone.md |
| Numeric formatting | TO_CHAR numeric output can differ. | references/oracle-to-postgres-to-char-numeric.md |
| Type coercion | Implicit casts accepted by Oracle may fail or change plans in PostgreSQL. | references/oracle-to-postgres-type-coercion.md |
| Concurrent transactions | Locking and isolation behavior may differ. | references/postgres-concurrent-transactions.md |
| Materialized views | Refresh requirements and freshness expectations must be explicit. | references/postgres-materialized-view-refresh.md |
| Refcursors | Application consumption and transaction scope must match PostgreSQL behavior. | references/postgres-refcursor-handling.md |
UNION ALL planner | PostgreSQL planner choices may change behavior/performance or ordering assumptions. | references/postgres-union-all-planner.md |
references/REFERENCE.md: index of all migration insights; read this first from the references/ bundle.references/*.md: detailed behavior-specific guidance; read only the files that match the migration scope.## Oracle-to-PostgreSQL migration review
**Status:** pass | conditional pass | fix required
**Mode:** planning | validation
**Scope:** <objects, queries, views, and callers reviewed>
| Insight | Applies? | Risk | Required action | Test evidence |
| --- | --- | --- | --- | --- |
| `references/<file>.md` | yes/no | <behavior difference> | <rewrite, design decision, or none> | <test name/result or missing> |
### Migration gate
- Scripts run: pass | fail | not checked
- Integration tests: pass | fail | missing
- Blocking decisions: <none or list>
references/REFERENCE.md was used as the index before opening detailed references.UNION ALL, refcursors, concurrent transactions, timestamps, and materialized-view refresh where relevant.references/REFERENCE.md (opens in a new tab)references/empty-strings-handling.md (opens in a new tab)references/no-data-found-exceptions.md (opens in a new tab)references/oracle-nvl-decode-functions.md (opens in a new tab)references/oracle-parentheses-from-clause.md (opens in a new tab)references/oracle-rownum-pagination.md (opens in a new tab)references/oracle-sysdate-sequences-dual.md (opens in a new tab)references/oracle-to-postgres-sorting.md (opens in a new tab)references/oracle-to-postgres-timestamp-timezone.md (opens in a new tab)references/oracle-to-postgres-to-char-numeric.md (opens in a new tab)references/oracle-to-postgres-type-coercion.md (opens in a new tab)references/postgres-concurrent-transactions.md (opens in a new tab)references/postgres-materialized-view-refresh.md (opens in a new tab)references/postgres-refcursor-handling.md (opens in a new tab)references/postgres-union-all-planner.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin oracle-to-postgres-migration-expert8 skills in this plugin
/creating-oracle-to-postgres-master-migration-planDiscover .NET solution projects, classify Oracle-to-PostgreSQL migration eligibility, detect Oracle dependencies, and write .github/oracle-to-postgres-migration/Reports/MasterMigrationPlan.md. Use when starting a multi-project Oracle-to-PostgreSQL migration, inventorying .NET projects, or assessing Oracle dependency scope./creating-oracle-to-postgres-migration-bug-reportCreate structured bug reports for Oracle-to-PostgreSQL migration defects with source-of-truth Oracle behavior, PostgreSQL divergence, severity, root cause, remediation, validation, and filename convention. Use when documenting behavioral differences, failed migration tests, or data-layer defects during an Oracle-to-PostgreSQL migration./creating-oracle-to-postgres-migration-integration-testsCreate Phase 3 Oracle integration tests for .NET data access artifacts before Oracle-to-PostgreSQL migration, capturing Oracle behavior as the golden baseline while keeping assertions portable for Phase 6. Use when the user asks to add integration tests for repositories, DAOs, stored procedure callers, query builders, seed data, or lookup constants before PostgreSQL migration begins./migrating-oracle-to-postgres-data-access-codeMigrate .NET/C# data access code from Oracle.ManagedDataAccess or Oracle.EntityFrameworkCore to PostgreSQL with Npgsql. Use when replacing OracleConnection, OracleCommand, OracleDataReader, OracleDbType mappings, stored procedure calls, connection strings, inline SQL, and EF Core provider configuration during an Oracle-to-PostgreSQL migration./migrating-oracle-to-postgres-stored-proceduresMigrate Oracle PL/SQL stored procedures and functions to PostgreSQL PL/pgSQL while preserving behavior, signatures, type-anchored inputs, exception handling, rollback logic, collation semantics, and orafce compatibility. Use when converting Oracle Procedures and Functions into PostgreSQL equivalents during an Oracle-to-PostgreSQL migration./planning-oracle-to-postgres-migration-integration-testingCreate an integration testing plan for one .NET project during Oracle-to-PostgreSQL migration. Use when planning coverage for repositories, DAOs, stored procedure callers, CRUD service layers, Oracle-specific behavior, seed data, or migration validation cases before writing integration tests.Other plugins' skills for the same job