Aller au contenu
Skillpedia
Bases de données40k · #7148

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

Ce qu’il fait

Cet outil examine un projet logiciel .NET pour repérer les parties qui doivent être converties d'une base de données Oracle vers PostgreSQL. Il organise ensuite ces informations dans un plan.

Quand l’utiliser

  • ✓Lorsque vous démarrez une migration Oracle vers PostgreSQL portant sur plusieurs projets.
  • ✓Lorsque vous avez besoin d'un inventaire des projets qui utilisent Oracle.
  • ✓Pour évaluer quels projets .NET dépendent d'Oracle.

Lien du skill

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

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/github/awesome-copilot/blob/main/skills/creating-oracle-to-postgres-master-migration-plan/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Analyse ma solution .NET et crée un plan de migration Oracle vers PostgreSQL.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'outil trouve votre fichier de projet principal (.sln), liste tous les autres projets et vérifie chacun d'eux pour détecter des signes d'utilisation d'Oracle. Il classe ensuite chaque projet comme « à migrer », « à ignorer », « déjà migré » ou « projet de test », puis génère un rapport.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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.

Questions fréquentes

Que signifie « classification » ?

C'est une étiquette attribuée par l'outil à chaque projet pour indiquer s'il utilise Oracle (MIGRATE), s'il ne l'utilise pas (SKIP), s'il a déjà été converti (ALREADY_MIGRATED) ou s'il s'agit d'un projet de test (TEST_PROJECT).

Où le plan est-il enregistré ?

Le plan est enregistré dans un fichier nommé « MasterMigrationPlan.md », dans le dossier « .github/oracle-to-postgres-migration/Reports/ » de votre projet.

Puis-je modifier les classifications ?

Oui. L'outil présente la liste des projets et leurs classifications, ce qui vous permet d'y apporter des ajustements avant la génération du plan final.

Détails

Description originale de l’auteur

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

Popularité

Étoiles GitHub
40k
Position au classement
#7148
Licence
MIT
Mis à jour
15/10/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires