Skip to content

Comments

Add New Plugin for Oracle-to-PostgreSQL Database Migration#794

Draft
PrimedPaul wants to merge 18 commits intogithub:stagedfrom
PrimedPaul:custom-agents/o2p-dbmigration-expert
Draft

Add New Plugin for Oracle-to-PostgreSQL Database Migration#794
PrimedPaul wants to merge 18 commits intogithub:stagedfrom
PrimedPaul:custom-agents/o2p-dbmigration-expert

Conversation

@PrimedPaul
Copy link

@PrimedPaul PrimedPaul commented Feb 23, 2026

Pull Request Checklist

  • I have read and followed the CONTRIBUTING.md guidelines.
  • My contribution adds a new instruction, prompt, agent, or skill file in the correct directory.
  • The file follows the required naming convention.
  • The content is clearly structured and follows the example format.
  • I have tested my instructions, prompt, agent, or skill with GitHub Copilot.
  • I have run npm start and verified that README.md is up to date.

Description

This plugin includes the 'Oracle-to-PostgreSQL Migration Expert' custom agent as well as the associated 'o2p-dbmigration' skillset.

The Oracle-to-PostgreSQL Migration Expert (dbmigration-expert) is a custom GitHub Copilot agent that orchestrates Oracle-to-PostgreSQL application migrations for multi-project .NET solutions. It operates as an orchestrator that delegates to specialized subagent prompts, with a companion skill that encodes institutional knowledge about Oracle/PostgreSQL behavioral differences.

The agent is designed to:

  • Discover all projects in a .NET solution and assess Oracle migration eligibility.
  • Migrate application codebases one project at a time, preserving originals untouched.
  • Run closed-loop integration testing with automatic retry and bug reporting.
  • Persist progress to disk so work survives token-limit boundaries and can resume across sessions.
  • Generate a final migration report aggregating outcomes from all projects.

Oracle-toPostgreSQL DB Migration Expert Design.md


Type of Contribution

  • New instruction file.
  • New prompt file.
  • New agent file.
  • New plugin.
  • New skill file.
  • Update to existing instruction, prompt, agent, plugin, or skill.
  • Other (please specify):

Additional Notes

I am a developer working on an enterprise Oracle to Postgres legacy application migration effort. I use and refine this agent on a regular basis. I welcome all contributions.


By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.

@PrimedPaul PrimedPaul changed the title Add New Plugin for Oracle-to-PostgreSQL Database Migration Plugin Add New Plugin for Oracle-to-PostgreSQL Database Migration Feb 23, 2026
Copy link
Contributor

@aaronpowell aaronpowell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you need to review the structure of the items in this PR, as there's a folder with prompts added within the agents folder, which doesn't work with this repo design. Should all those prompts be skills? Or should they be references for the current skill?

@PrimedPaul
Copy link
Author

Thanks for the feedback @aaronpowell, I have to say that was my biggest concern. I will re-work it to fit within the repo's paradigm.

@PrimedPaul PrimedPaul marked this pull request as draft February 24, 2026 13:15
PrimedPaul and others added 7 commits February 24, 2026 14:34
- Create bug report generation prompt for migration issues.
- Implement integration test case creation prompt for database migration validation.
- Develop master migration plan prompt to orchestrate multi-project migrations.
- Introduce application migration report generation prompt to aggregate outcomes.
- Add application codebase migration prompt for single project migration.
- Implement stored procedure migration prompt for Oracle to Postgres.
- Create integration testing plan prompt for validating database interactions.
- Add prompt to run integration tests against Oracle and Postgres databases.
- Scaffold integration test project prompt for database migration validation.
- Validate test results prompt to analyze outcomes and determine workflow status.
- Reference document for closed-loop testing workflow added for clarity.
- Add 'agent' and 'name' frontmatter to custom agent prompts
- Update pathing of custom agent artifacts
- Resolve references after changing prompt file names
@PrimedPaul PrimedPaul marked this pull request as ready for review February 24, 2026 21:13
@PrimedPaul
Copy link
Author

  • Migrated all the custom agent prompt files to its associated skills folder (eg 'o2p-dbmigration')
  • Renamed all prompt files to lowercase-hyphened.
  • Filled-in frontmatter of prompt files for consistency
  • Updated all artifact references
  • Rebuilt project

@aaronpowell
Copy link
Contributor

A prompts folder isn't part of the folders supported for skills (see the docs).

If these are to be treated as a custom subagent, it would be best to define them as such, here's the docs on doing that.

@PrimedPaul PrimedPaul marked this pull request as draft February 25, 2026 16:25
…according to the [coordinator and worker pattern](https://code.visualstudio.com/docs/copilot/agents/subagents#_coordinator-and-worker-pattern):

- Refactor all specialized agent prompts as dedicated subagents and qualify them as 'user-invokable: false'
- Add 'agents' frontmatter references for all subagents to the coordinating agent (eg o2p-dbmigration-expert.agent.md)
- Update 'o2p-dbmigration' plugin manifest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants