All skills
github avatar

/creating-oracle-to-postgres-master-migration-plan

@f7e8aaa official
by githubgithub/awesome-copilot40k stars
5,040

Discovers all projects in a .NET solution, classifies each for Oracle-to-PostgreSQL migration eligibility, and produces a persistent master migration plan. Use when starting a multi-project Oracle-to-PostgreSQL migration, creating a migration inventory, or assessing which .NET projects contain Oracle dependencies.

Use this Skill: https://skilld.dev/gh/github/awesome-copilot/creating-oracle-to-postgres-master-migration-plan

This session only. Nothing lands on disk.

SKILL.md

≈92 tokens always: the name and description. ≈765 when used: this file.

Creating an Oracle-to-PostgreSQL Master Migration Plan

Analyze a .NET solution, classify every project for Oracle→PostgreSQL migration eligibility, and write a structured plan that downstream agents and skills can parse.

Workflow

Progress:
- [ ] Step 1: Discover projects in the solution
- [ ] Step 2: Classify each project
- [ ] Step 3: Confirm with user
- [ ] Step 4: Write the plan file

Step 1: Discover projects

Find the Solution File (it has a .sln or .slnx extension) in the workspace root (ask the user if multiple exist). Parse it to extract all .csproj project references. For each project, note the name, path, and type (class library, web API, console, test, etc.).

Step 2: Classify each project

Scan every non-test project for Oracle indicators:

  • NuGet references: Oracle.ManagedDataAccess, Oracle.EntityFrameworkCore (check .csproj and packages.config)
  • Config entries: Oracle connection strings in appsettings.json, web.config, app.config
  • Code usage: OracleConnection, OracleCommand, OracleDataReader
  • DDL cross-references under .github/oracle-to-postgres-migration/DDL/Oracle/ (if present)

Assign one classification per project:

Classification Meaning
MIGRATE Has Oracle interactions requiring conversion
SKIP No Oracle indicators (UI-only, shared utility, etc.)
ALREADY_MIGRATED A -postgres or .Postgres duplicate exists and appears processed
TEST_PROJECT Test project; handled by the testing workflow

Step 3: Confirm with user

Present the classified list. Let the user adjust classifications or migration ordering before finalizing.

Step 4: Write the plan file

Save to: .github/oracle-to-postgres-migration/Reports/MasterMigrationPlan.md

Use this exact template — downstream consumers depend on the structure:

# Master Migration Plan

**Solution:** {solution file name}
**Solution Root:** {REPOSITORY_ROOT}
**Created:** {timestamp}
**Last Updated:** {timestamp}

## DDL Artifacts

**Location:** {path to DDL artifacts, e.g., `.github/oracle-to-postgres-migration/DDL/`}
**External tool used:** {Yes / No} — {If Yes, name the tool (e.g., `ora2pg`) and note that Phase 4 (Schema & DDL Migration) can be skipped; PostgreSQL DDL artifacts already exist.}

## Solution Summary

| Metric | Count |
|--------|-------|
| Total projects in solution | {n} |
| Projects requiring migration | {n} |
| Projects already migrated | {n} |
| Projects skipped (no Oracle usage) | {n} |
| Test projects (handled separately) | {n} |

## Project Inventory

| # | Project Name | Path | Classification | Notes |
|---|---|---|---|---|
| 1 | {name} | {relative path} | MIGRATE | {notes} |
| 2 | {name} | {relative path} | SKIP | No Oracle dependencies |

## Migration Order

1. **{ProjectName}** — {rationale, e.g., "Core data access library; other projects depend on it."}
2. **{ProjectName}** — {rationale}

Order projects so that shared/foundational libraries are migrated before their dependents.

Source: SKILL.md on GitHub

No alerts16d5 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    The skill facilitates the discovery and classification of .NET projects for Oracle-to-PostgreSQL migration by analyzing solution files, project dependencies, and configuration files. It generates a markdown report within the repository and does not perform any network operations or external data exfiltration.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

  • Runlayer6mo

    1/1 file flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at f7e8aaa. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 19 hours ago.

Activeupdated 2 months ago
  • Database
  • oracle
  • postgres
  • migration
  • dotnet
  • csharp
  • inventory
  • entityframework

README badge

README badge for github/awesome-copilot/creating-oracle-to-postgres-master-migration-plan

Scans a .NET solution to find all projects, identifies which contain Oracle dependencies, and generates a structured master migration plan that downstream tools can parse. Targets multi-project Oracle-to-PostgreSQL migrations where you need inventory and dependency ordering before starting conversion work.

Generated from the current SKILL.md.

Does this skill work with .NET Framework or only .NET Core?
The skill analyzes .sln/.slnx solution files and .csproj projects without restricting to a specific .NET version, but it checks for Oracle NuGet packages and connection strings that may vary between Framework and Core projects.
What if a project uses Oracle through an ORM other than Entity Framework Core?
The skill scans for Oracle.ManagedDataAccess, Oracle.EntityFrameworkCore, and direct code usage (OracleConnection, OracleCommand), so it will detect custom ORMs or raw ADO.NET calls to Oracle.
Can I manually override the classifications before the plan is written?
Yes. The skill presents the classified list for user confirmation in Step 3 and lets you adjust classifications or migration ordering before finalizing the plan file.
What output file format does the skill use?
The skill writes a structured Markdown file to .github/oracle-to-postgres-migration/Reports/Master Migration Plan.md that downstream agents and skills can parse.

Generated from the current SKILL.md. These answers refresh after source changes.