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.
npx skills add github/awesome-copilot --skill reviewing-oracle-to-postgres-migrationWhat 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-migration2GitHub CLI
gh skill install github/awesome-copilot reviewing-oracle-to-postgres-migration3Manually: put the files in place
.github/skills/reviewing-oracle-to-postgres-migration/SKILL.md1Skills CLI (Vercel)
npx skills add github/awesome-copilot --skill reviewing-oracle-to-postgres-migration -a claude-code2Manually: put the files in place
~/.claude/skills/reviewing-oracle-to-postgres-migration/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/reviewing-oracle-to-postgres-migration/
Manually: put the files in place
.agents/skills/reviewing-oracle-to-postgres-migration/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/reviewing-oracle-to-postgres-migration/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
Platform CLI
gemini skills install https://github.com/github/awesome-copilot --path skills/reviewing-oracle-to-postgres-migrationManually: put the files in place
.devin/skills/reviewing-oracle-to-postgres-migration/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set554
The whole set →Similar
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