Skip to main content
skill GitHub Copilot official · GitHub

reviewing-oracle-to-postgres-migration — Copilot skill

Reviews Oracle-to-PostgreSQL migration risks and checks whether migration artifacts and integration tests cover the relevant behavior changes.

Install into GitHub Copilot · Skills CLI (Vercel) All methods and platforms ↓
npx skills add github/awesome-copilot --skill reviewing-oracle-to-postgres-migration
Open on GitHub

What reviewing-oracle-to-postgres-migration does

This skill cross-checks procedures, triggers, queries, views, and their calling application code against Oracle and PostgreSQL behavior differences. It covers empty-string semantics, refcursors, type coercion, sorting and collations, UNION ALL planner risks, materialized-view refreshes, timestamps, and concurrent transactions.

For migration planning, it helps define the scope, screen entries in references/REFERENCE.md, and record each applicable risk with a recommended action. For completed work, it maps the migrated artifact, checks the relevant references, and verifies happy-path and failure-case integration coverage.

Install it when you are planning an Oracle migration or reviewing the result. It is a good fit for migrations where empty-string behavior, refcursor consumption, sorting, or materialized-view freshness needs an explicit check.

What it helps with

  • assess Oracle procedure and trigger migration risks
  • cross-check a PostgreSQL migration artifact against known behavior differences
  • verify tests for refcursor use, UNION ALL, and concurrent transactions
  • check requirements for materialized-view refreshes
  • flag decisions around empty strings, types, and timestamps

Example prompts for the agent

  • Review this Oracle procedure migration for PostgreSQL risks and list the applicable checks.
  • Cross-check this migration artifact against `references/REFERENCE.md` and return a checklist.
  • Verify that the integration tests cover sorting, refcursor consumption, and concurrent transactions.

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

1Skills CLI (Vercel)

npx skills add github/awesome-copilot --skill reviewing-oracle-to-postgres-migration

2GitHub CLI

gh skill install github/awesome-copilot reviewing-oracle-to-postgres-migration

3Manually: put the files in place

.github/skills/reviewing-oracle-to-postgres-migration/SKILL.md

From the same set554

The whole set →
git-commit official github This skill reviews Git changes, stages related files, and creates Conventional Commits. Use it when you want an agent to make one commit or split work into separate commits. GitHub Copilot 47,165installs excalidraw-diagram-generator official github Turn a plain-language description into an Excalidraw diagram. Useful for mapping processes, system structure, and relationships between entities. GitHub Copilot 31,639installs multi-stage-dockerfile official github This skill guides GitHub Copilot in writing multi-stage Dockerfiles for different languages and frameworks. Use it when the final runtime image should contain fewer build dependencies. GitHub Copilot 29,688installs documentation-writer official github Skill that turns the agent into a technical writer following the Diátaxis framework: tutorials, how-to guides, reference, and explanation. Proposes structure before writing. GitHub Copilot 27,757installs prd official github Turns a feature idea into a structured PRD with user stories, technical requirements, and risks. Use it when planning a software feature or an AI-powered one. GitHub Copilot 24,035installs refactor official github This skill reshapes existing code without changing its external behavior. Use it for gradual cleanup of large functions, duplication, weak types, and code smells. GitHub Copilot 22,321installs java-springboot official github Gives GitHub Copilot Spring Boot development practices, from project layout to tests and security. Use it when writing or reviewing Java application code. GitHub Copilot 21,272installs create-readme official github This skill reviews a project and creates a structured README.md. Use it when the repository needs clear documentation based on its actual files and code. GitHub Copilot 19,081installs

Similar

dbt-sf-to-bq-translator official google Converts Snowflake dbt models into Standardized BigQuery SQL. Use it for Snowflake-to-BigQuery migrations on Google Cloud with Claude Code, Gemini CLI, or Codex. Claude Code Gemini CLI CX Codex 2,300installs bigquery-observability official google This skill helps retrieve BigQuery telemetry and choose the right data source. Use it to inspect jobs, slot contention, queues, reservations, and resource usage. Claude Code Gemini CLI CX Codex 1,800installs bigquery-troubleshooting official google This skill investigates broken, slow, or costly BigQuery jobs. Use it to isolate bottlenecks, trace symptoms to causes, and choose remediation steps. Claude Code Gemini CLI CX Codex 1,400installs bigquery-optimization official google This skill helps reduce BigQuery costs, tune storage, and improve SQL queries. Use it for capacity planning and table layout changes. Claude Code Gemini CLI CX Codex 1,400installs xlsx official anthropics Creates, reads, edits, and converts spreadsheet files. Use it when the requested deliverable is an Excel workbook or another tabular file. Claude Code Claude.ai 187,223installs google-agents-cli-observability official Google This skill guides you through tracing and monitoring AI agents, including ADK agents. Use it when you need to inspect agent execution or monitor a deployed agent. Claude Code CX Codex Cursor +1 509,900installs caveman-evidence-review JuliusBrussee A read-only skill reviews Caveman Cloud evidence on LLM spend, traces, and routing. Use it to see where a project’s model budget goes. Claude Code CX Codex Cursor +1 103,500installs migration JuliusBrussee Enforces reversible, compatibility-safe transitions for schema, data, and API updates. Useful whenever data loss or rollout downtime is unacceptable. Claude Code CX Codex Cursor +1 102,900installs

Questions about reviewing-oracle-to-postgres-migration

How do I install reviewing-oracle-to-postgres-migration in GitHub Copilot?

Run npx skills add github/awesome-copilot --skill reviewing-oracle-to-postgres-migration or gh skill install github/awesome-copilot reviewing-oracle-to-postgres-migration. The skill file is placed at .github/skills/reviewing-oracle-to-postgres-migration/SKILL.md.

What does reviewing-oracle-to-postgres-migration do?

It reviews Oracle-to-PostgreSQL migration work against known behavior differences and checks whether the migration artifacts and integration tests address the relevant risks.

Which Oracle and PostgreSQL differences does it check?

It checks empty strings, refcursors, type coercion, sorting and collations, UNION ALL planner risks, materialized-view refreshes, timestamps, and concurrent transactions.

Source text

SKILL.md · MIT
---
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](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](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.

© github · MIT · github/awesome-copilot

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor