/oracle-to-postgres-migration-expert:creating-oracle-to-postgres-master-migration-planfrom oracle-to-postgres-migration-expert
Discovers .NET solution projects, classifies Oracle-to-PostgreSQL migration eligibility, detects Oracle dependencies, and writes a master migration plan report.
Ships in oracle-to-postgres-migration-expert. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Analyze a .NET solution, classify every project for Oracle to PostgreSQL migration, and produce a persistent master plan that downstream migration agents and skills can parse.
.github/oracle-to-postgres-migration/Reports/MasterMigrationPlan.md."Work from the repository root. Find a .sln or .slnx solution file in the workspace root; if multiple exist, ask the user which solution to plan. The output path is fixed: .github/oracle-to-postgres-migration/Reports/MasterMigrationPlan.md.
.github/oracle-to-postgres-migration/Reports/MasterMigrationPlan.md.Track progress explicitly:
Progress:
- [ ] Step 1: Discover projects in the solution
- [ ] Step 2: Classify each project
- [ ] Step 3: Confirm with user
- [ ] Step 4: Write the plan file
For each .csproj, record name, relative path, and likely project type such as class library, web API, console, or test. Scan every non-test project for Oracle evidence.
| Evidence source | Indicators |
|---|---|
| NuGet references | Oracle.ManagedDataAccess, Oracle.EntityFrameworkCore in .csproj or packages.config. |
| Configuration | Oracle connection strings in appsettings.json, web.config, or app.config. |
| Code usage | OracleConnection, OracleCommand, OracleDataReader. |
| DDL references | DDL cross-references under .github/oracle-to-postgres-migration/DDL/Oracle/ when present. |
| Existing migrated duplicate | A -postgres or .Postgres project duplicate that appears processed. |
| Test project signals | Test SDK references, test naming, or test-only project type. |
Assign exactly one classification:
| Classification | Meaning | Typical evidence |
|---|---|---|
MIGRATE | Has Oracle interactions requiring conversion. | Oracle NuGet packages, connection strings, OracleConnection, OracleCommand, OracleDataReader, or DDL cross-reference. |
SKIP | No Oracle indicators. | UI-only, shared utility, or unrelated project. |
ALREADY_MIGRATED | A PostgreSQL duplicate exists and appears processed. | -postgres or .Postgres paired project. |
TEST_PROJECT | Test project handled by the testing workflow. | Test project naming or framework references. |
Order migration so shared/foundational libraries move before dependents.
Save this exact structure to .github/oracle-to-postgres-migration/Reports/MasterMigrationPlan.md because downstream consumers depend on the headings and tables.
# 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}
MIGRATE, SKIP, ALREADY_MIGRATED, or TEST_PROJECT..github/oracle-to-postgres-migration/DDL/ exists or an external tool such as ora2pg produced PostgreSQL artifacts, record whether Phase 4 can be skipped.## Oracle-to-PostgreSQL master migration plan
**Status:** drafted | written | needs confirmation | blocked
**Solution:** `<solution.sln or solution.slnx>`
**Plan file:** `.github/oracle-to-postgres-migration/Reports/MasterMigrationPlan.md`
### Classification summary
| Classification | Count | Projects |
| --- | ---: | --- |
| `MIGRATE` | <n> | <names> |
| `SKIP` | <n> | <names> |
| `ALREADY_MIGRATED` | <n> | <names> |
| `TEST_PROJECT` | <n> | <names> |
### Migration order
1. <ProjectName> — <rationale>
### Confirmation needed
- <classification or ordering question, or none>
.sln or .slnx solution was selected or the user was asked to choose..csproj reference in the solution appears in the Project Inventory.MIGRATE, SKIP, ALREADY_MIGRATED, or TEST_PROJECT..github/oracle-to-postgres-migration/Reports/MasterMigrationPlan.md using the required structure.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin oracle-to-postgres-migration-expert8 skills in this plugin
/creating-oracle-to-postgres-migration-bug-reportCreate structured bug reports for Oracle-to-PostgreSQL migration defects with source-of-truth Oracle behavior, PostgreSQL divergence, severity, root cause, remediation, validation, and filename convention. Use when documenting behavioral differences, failed migration tests, or data-layer defects during an Oracle-to-PostgreSQL migration./creating-oracle-to-postgres-migration-integration-testsCreate Phase 3 Oracle integration tests for .NET data access artifacts before Oracle-to-PostgreSQL migration, capturing Oracle behavior as the golden baseline while keeping assertions portable for Phase 6. Use when the user asks to add integration tests for repositories, DAOs, stored procedure callers, query builders, seed data, or lookup constants before PostgreSQL migration begins./migrating-oracle-to-postgres-data-access-codeMigrate .NET/C# data access code from Oracle.ManagedDataAccess or Oracle.EntityFrameworkCore to PostgreSQL with Npgsql. Use when replacing OracleConnection, OracleCommand, OracleDataReader, OracleDbType mappings, stored procedure calls, connection strings, inline SQL, and EF Core provider configuration during an Oracle-to-PostgreSQL migration./migrating-oracle-to-postgres-stored-proceduresMigrate Oracle PL/SQL stored procedures and functions to PostgreSQL PL/pgSQL while preserving behavior, signatures, type-anchored inputs, exception handling, rollback logic, collation semantics, and orafce compatibility. Use when converting Oracle Procedures and Functions into PostgreSQL equivalents during an Oracle-to-PostgreSQL migration./planning-oracle-to-postgres-migration-integration-testingCreate an integration testing plan for one .NET project during Oracle-to-PostgreSQL migration. Use when planning coverage for repositories, DAOs, stored procedure callers, CRUD service layers, Oracle-specific behavior, seed data, or migration validation cases before writing integration tests./reviewing-oracle-to-postgres-migrationReview Oracle-to-PostgreSQL migration plans or completed artifacts for behavioral risks: empty strings, exceptions, refcursors, type coercion, sorting and collations, UNION ALL planner changes, materialized-view refresh, timestamps, sequences, ROWNUM, NVL/DECODE, and concurrent transactions. Use when planning or validating database migrations and integration tests.Other plugins' skills for the same job