Zum Inhalt springen
Skillpedia
Datenbanken40k · #7148

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

Was er macht

Dieses Tool untersucht ein .NET-Softwareprojekt und findet heraus, welche Teile von einer Oracle-Datenbank auf PostgreSQL umgestellt werden müssen. Anschließend ordnet es diese Erkenntnisse in einem Plan.

Wann du ihn nutzt

  • ✓Wenn du eine Migration von Oracle zu PostgreSQL über mehrere Projekte hinweg startest.
  • ✓Wenn du eine Übersicht brauchst, welche Projekte Oracle verwenden.
  • ✓Um einzuschätzen, welche .NET-Projekte Oracle-Abhängigkeiten haben.

Link zum Skill

https://github.com/github/awesome-copilot/blob/main/skills/creating-oracle-to-postgres-master-migration-plan/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/github/awesome-copilot/blob/main/skills/creating-oracle-to-postgres-master-migration-plan/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Analysiere meine .NET-Solution und erstelle einen Migrationsplan von Oracle zu PostgreSQL.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Das Tool findet deine Hauptprojektdatei (.sln), listet alle weiteren Projekte auf und prüft jedes auf Anzeichen für die Nutzung von Oracle. Danach ordnet es jedes Projekt einer Kategorie zu: „muss migriert werden“, „kann übersprungen werden“, „bereits migriert“ oder „Testprojekt“, und erstellt einen Bericht.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

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.

Häufige Fragen

Was bedeutet „Klassifizierung“?

Das ist eine Kennzeichnung, die das Tool jedem Projekt gibt. Sie zeigt, ob das Projekt Oracle verwendet (MIGRATE), Oracle nicht verwendet (SKIP), bereits umgestellt wurde (ALREADY_MIGRATED) oder ein Testprojekt ist (TEST_PROJECT).

Wo wird der Plan gespeichert?

Der Plan wird in der Datei „MasterMigrationPlan.md“ im Ordner „.github/oracle-to-postgres-migration/Reports/“ deines Projekts gespeichert.

Kann ich die Klassifizierungen ändern?

Ja. Das Tool zeigt dir die Liste der Projekte mit ihren Klassifizierungen, sodass du Anpassungen vornehmen kannst, bevor der endgültige Plan erstellt wird.

Details

Originalbeschreibung des Autors

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.

repo: github/awesome-copilot

Beliebtheit

GitHub-Sterne
40k
Platz im Ranking
#7148
Lizenz
MIT
Aktualisiert
15.10.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills