PluginBench
Skill
Official
Review
Audit score 70

reviewing-oracle-to-postgres-migration

github/awesome-copilot

Identify Oracle-to-PostgreSQL migration risks by cross-referencing code against known behavioral differences.

What is reviewing-oracle-to-postgres-migration?

This skill surfaces migration risks and validates migration work by comparing code against documented Oracle/PostgreSQL behavioral differences. Use it when planning a database migration, reviewing migration artifacts, or ensuring integration tests cover the semantic gaps between the two databases.

  • Screens migration scope against known behavioral differences (empty strings, refcursors, type coercion, sorting/collations, UNION ALL planner risks, materialized-view refresh, timestamps, concurrent transactions)
  • Provides risk assessment workflow for planning migrations before implementation
  • Delivers validation workflow for post-migration code review and test coverage verification
  • References documented insights for each applicable difference with recommended fix patterns
  • Flags design decisions requiring explicit choices (e.g., empty-string-as-NULL semantics)

How to install reviewing-oracle-to-postgres-migration

npx skills add https://github.com/github/awesome-copilot --skill reviewing-oracle-to-postgres-migration
Claude Code
Cursor
Windsurf
Cline

How to use reviewing-oracle-to-postgres-migration

  1. 1.Determine whether you are planning a migration (pre-work) or validating completed work (post-migration)
  2. 2.For planning: identify the migration scope (affected procedures, triggers, queries, views, and calling code)
  3. 3.Screen each insight in references/REFERENCE.md for applicability to your scope
  4. 4.For each applicable insight, document the specific risk and recommended fix pattern from the reference file
  5. 5.For validation: map the migrated object and summarize the change set
  6. 6.Cross-check each applicable insight to confirm the behavior or test requirement is addressed in the migration work
  7. 7.Verify integration tests exercise both happy paths and failure scenarios (exceptions, sorting, UNION ALL, refcursor, concurrent transactions, timestamps, materialized-view freshness)
  8. 8.Return a checklist asserting each applicable insight was addressed, migration scripts ran, and integration tests passed

Use cases

Good for
  • Planning a procedure or trigger migration by identifying which Oracle/PostgreSQL differences apply to your scope
  • Validating completed migration work against a checklist of behavioral differences
  • Reviewing integration tests to confirm they exercise both happy paths and failure scenarios from applicable insights
  • Assessing refcursor consumption, sorting behavior, and UNION ALL performance risks before migration
  • Gating migration readiness by confirming all applicable insights are addressed and tests pass
Who it's for
  • Database migration engineers planning Oracle-to-PostgreSQL transitions
  • Development teams validating completed migration artifacts
  • QA engineers designing integration test coverage for migrated database code
  • Technical leads reviewing migration risk assessments and test strategies

reviewing-oracle-to-postgres-migration FAQ

What database behavioral differences does this skill cover?

Empty strings, refcursors, type coercion, sorting/collations, UNION ALL planner risks, materialized-view refresh requirements, timestamps, and concurrent transaction semantics. See references/REFERENCE.md for the complete index.

Should I use this before or after migration work?

Both. Use the risk assessment workflow before starting migration to identify which differences apply to your scope. Use the validation workflow after migration to confirm all risks were addressed and tests cover the new PostgreSQL semantics.

What if a behavioral difference applies to my migration but I'm unsure how to fix it?

Each reference file includes recommended fix patterns. If a difference requires a design decision (e.g., whether to preserve Oracle empty-string-as-NULL semantics), document that decision explicitly in your migration plan.

How do I know if my integration tests are sufficient?

The skill's validation workflow requires tests to exercise both happy paths and failure scenarios for each applicable insight, including exceptions, sorting behavior, UNION ALL performance, refcursor consumption, concurrent transactions, timestamps, and materialized-view freshness.

Can this skill help with partial migrations?

Yes. Identify the specific database objects and calling code in your migration scope, then screen only the applicable insights for those objects. The risk assessment and validation workflows work for any scope size.

Full instructions (SKILL.md)

Source of truth, from github/awesome-copilot.


name: reviewing-oracle-to-postgres-migration description: 'Identifies Oracle-to-PostgreSQL migration risks by cross-referencing code against known behavioral differences (empty strings, refcursors, type coercion, sorting/collations, UNION ALL planner risks, materialized-view refresh requirements, timestamps, concurrent transactions, etc.). Use when planning a database migration, reviewing migration artifacts, or validating that integration tests cover Oracle/PostgreSQL differences.'

Oracle-to-PostgreSQL Database Migration

Surfaces migration risks and validates migration work against known Oracle/PostgreSQL behavioral differences documented in the references/ folder.

When to use

  1. Planning — Before starting migration work on a procedure, trigger, query, or refcursor client. Identify which reference insights apply so risks are addressed up front.
  2. Validating — After migration work is done, confirm every applicable insight was addressed and integration tests cover the new PostgreSQL semantics.

Workflow

Determine the task type:

Planning a migration? Follow the risk assessment workflow. Validating completed work? Follow the validation workflow.

Risk assessment workflow (planning)

Risk Assessment:
- [ ] Step 1: Identify the migration scope
- [ ] Step 2: Screen each insight for applicability
- [ ] Step 3: Document risks and recommended actions

Step 1: Identify the migration scope

List the affected database objects (procedures, triggers, queries, views) and the application code that calls them.

Step 2: Screen each insight for applicability

Review the reference index in references/REFERENCE.md. For each entry, determine whether the migration scope contains patterns affected by that insight. Read the full reference file only when the insight is potentially relevant.

Step 3: Document risks and recommended actions

For each applicable insight, note the specific risk and the recommended fix pattern from the reference file. Flag any insight that requires a design decision (e.g., whether to preserve Oracle empty-string-as-NULL semantics or adopt PostgreSQL behavior).

Validation workflow (post-migration)

Validation:
- [ ] Step 1: Map the migration artifact
- [ ] Step 2: Cross-check applicable insights
- [ ] Step 3: Verify integration test coverage
- [ ] Step 4: Gate the result

Step 1: Map the migration artifact

Identify the migrated object and summarize the change set.

Step 2: Cross-check applicable insights

For each reference in references/REFERENCE.md, confirm the behavior or test requirement is acknowledged and addressed in the migration work.

Step 3: Verify integration test coverage

Confirm tests exercise both the happy path and the failure scenarios highlighted in applicable insights (exceptions, sorting, UNION ALL behavior/performance risks, refcursor consumption, concurrent transactions, timestamps, materialized-view freshness, etc.).

Step 4: Gate the result

Return a checklist asserting each applicable insight was addressed, migration scripts run, and integration tests pass.