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-migrationHow to use reviewing-oracle-to-postgres-migration
- 1.Determine whether you are planning a migration (pre-work) or validating completed work (post-migration)
- 2.For planning: identify the migration scope (affected procedures, triggers, queries, views, and calling code)
- 3.Screen each insight in references/REFERENCE.md for applicability to your scope
- 4.For each applicable insight, document the specific risk and recommended fix pattern from the reference file
- 5.For validation: map the migrated object and summarize the change set
- 6.Cross-check each applicable insight to confirm the behavior or test requirement is addressed in the migration work
- 7.Verify integration tests exercise both happy paths and failure scenarios (exceptions, sorting, UNION ALL, refcursor, concurrent transactions, timestamps, materialized-view freshness)
- 8.Return a checklist asserting each applicable insight was addressed, migration scripts ran, and integration tests passed
Use cases
- 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
- 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
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.
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.
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.
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.
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
- Planning — Before starting migration work on a procedure, trigger, query, or refcursor client. Identify which reference insights apply so risks are addressed up front.
- 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.
Related skills
More from github/awesome-copilot and the wider catalog.

roundup
Generate personalized status briefings by synthesizing data from GitHub, email, Teams, and Slack in your communication style.

roundup-setup
Interactive onboarding that learns your communication style to configure personalized status briefings.

ruby-mcp-server-generator
Generate production-ready Model Context Protocol servers in Ruby with the official MCP SDK.

ruff-recursive-fix
Iteratively enforce code quality with Ruff, applying safe/unsafe fixes and manual remediation with full review control.

rust-mcp-server-generator
Generate production-ready Rust MCP servers with tools, prompts, resources, and tests using the official rmcp SDK.

salesforce-apex-quality
Apex code quality guardrails for Salesforce development. Enforces bulk-safety rules (no SOQL/DML in loops), sharing model requirements, CRUD/FLS security, SOQL injection prevention, PNB test coverage (Positive / Negative / Bulk), and modern Apex idioms. Use this skill when reviewing or generating Apex classes, trigger handlers, batch jobs, or test classes to catch governor limit risks, security gaps, and quality issues before deployment.