# Scaffolding oracle to postgres migration test project

> Scaffolding oracle to postgres migration test project is an open-source agent skill for databases. Scaffolds an xUnit test project with rollback and seed data for Oracle-to-PostgreSQL. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/github/awesome-copilot/tree/main/skills/scaffolding-oracle-to-postgres-migration-test-project
- **Repository:** https://github.com/github/awesome-copilot
- **GitHub stars:** 41,707
- **License:** MIT
- **Skill name:** scaffolding-oracle-to-postgres-migration-test-project
- **Collection:** https://github.com/github/awesome-copilot
- **Categories:** [databases](https://ai-powered.com/categories/databases), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-30

## About

This skill sets up an empty xUnit integration test project in a .NET solution, aimed at the Oracle database that serves as the baseline for an Oracle-to-PostgreSQL migration. It targets one application project at a time and matches the .NET version and existing package versions found in that project's csproj rather than upgrading them.

The workflow has the agent inspect the target project, create the test project with an Oracle connectivity package, xUnit and an appsettings file, then add a base class that wraps each test in a transaction that is rolled back afterwards, including on exceptions. A seed data manager loads fixtures inside that transaction without committing, and the skill fixes a file location convention for seed data that later test work follows. It finishes by building the project to confirm it compiles.

The skill expects a .NET solution with an Oracle database available for connection settings. The output contains infrastructure only and no test cases. It is meant to be run once during the baseline phase, and the PostgreSQL test project is later produced by migrating this one.

## When your agent uses it

> Scaffolds an xUnit integration test project targeting Oracle in .NET solutions. Creates the test project, transaction-rollback base class, and seed data manager. Use only during Phase 3, before writing Oracle baseline integration tests. Do not invoke during Phase 6 — the PostgreSQL test project is produced by migrating this project, not by running this skill again.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/github/awesome-copilot/tree/HEAD/skills/scaffolding-oracle-to-postgres-migration-test-project)
- [License: MIT](https://github.com/github/awesome-copilot/tree/HEAD/skills/scaffolding-oracle-to-postgres-migration-test-project)

## Features

- **xUnit test project creation:** Creates a compilable test project matching the target's .NET version and referencing only that project.
- **Oracle connectivity setup:** Adds the Oracle managed data access package and an appsettings file for Oracle connections.
- **Transaction rollback base class:** Provides an inheritable base test class that rolls back each test's transaction, even on errors.
- **Seed data manager:** Loads test fixtures inside the transaction scope without committing or truncating existing data.
- **Seed file convention:** Establishes a file location convention for seed data that downstream test classes follow.

## Good for

- Set up an Oracle baseline integration test project before a PostgreSQL migration
- Create a rollback-based test base class for a .NET data access layer
- Add a seed data loader that keeps Oracle test databases unchanged between runs
- Verify a new xUnit test project compiles against an existing .NET application

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/scaffolding-oracle-to-postgres-migration-test-project` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/github/awesome-copilot.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/scaffolding-oracle-to-postgres-migration-test-project &&
cp -R "$tmp/skills/scaffolding-oracle-to-postgres-migration-test-project" ~/.claude/skills/scaffolding-oracle-to-postgres-migration-test-project &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/scaffolding-oracle-to-postgres-migration-test-project` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/scaffolding-oracle-to-postgres-migration-test-project` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/github/awesome-copilot.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/scaffolding-oracle-to-postgres-migration-test-project &&
cp -R "$tmp/skills/scaffolding-oracle-to-postgres-migration-test-project" ~/.agents/skills/scaffolding-oracle-to-postgres-migration-test-project &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/scaffolding-oracle-to-postgres-migration-test-project` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/scaffolding-oracle-to-postgres-migration-test-project` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/github/awesome-copilot.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/scaffolding-oracle-to-postgres-migration-test-project &&
cp -R "$tmp/skills/scaffolding-oracle-to-postgres-migration-test-project" ~/.cursor/skills/scaffolding-oracle-to-postgres-migration-test-project &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/scaffolding-oracle-to-postgres-migration-test-project` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/github/awesome-copilot.git --path skills/scaffolding-oracle-to-postgres-migration-test-project
```

Or copy the folder to `~/.gemini/skills/scaffolding-oracle-to-postgres-migration-test-project` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/scaffolding-oracle-to-postgres-migration-test-project`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/github/awesome-copilot.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/scaffolding-oracle-to-postgres-migration-test-project &&
cp -R "$tmp/skills/scaffolding-oracle-to-postgres-migration-test-project" ~/.copilot/skills/scaffolding-oracle-to-postgres-migration-test-project &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/scaffolding-oracle-to-postgres-migration-test-project` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/github/awesome-copilot.git
```

Then copy `awesome-copilot/skills/scaffolding-oracle-to-postgres-migration-test-project` into your agent's skills folder as `scaffolding-oracle-to-postgres-migration-test-project`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When should Scaffolding oracle to postgres migration test project be run?

Only during Phase 3, before writing Oracle baseline integration tests. It should not be run again in Phase 6, where the PostgreSQL test project is produced by migrating the Oracle one.

### Which database does Scaffolding oracle to postgres migration test project target?

Oracle. It scaffolds for Oracle only, which is treated as the golden behavior source, not PostgreSQL.

### Does Scaffolding oracle to postgres migration test project add any test cases?

No. The output is an empty test project with transaction and seed data infrastructure only.

### Does Scaffolding oracle to postgres migration test project change existing package or framework versions?

No. It matches the .NET and package versions already in the target project's csproj and does not upgrade them.

### How do I install Scaffolding oracle to postgres migration test project in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/scaffolding-oracle-to-postgres-migration-test-project to use it in all your projects, or to .claude/skills/scaffolding-oracle-to-postgres-migration-test-project in one project.

### Does Scaffolding oracle to postgres migration test project run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Scaffolding oracle to postgres migration test project?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Scaffolding oracle to postgres migration test project?

The closest alternatives to Scaffolding oracle to postgres migration test project are Creating oracle to postgres migration integration tests, Planning oracle to postgres migration integration testing, Migrating oracle to postgres data access code, Creating oracle to postgres master migration plan and Reviewing oracle to postgres migration.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Creating oracle to postgres migration integration tests](https://ai-powered.com/skills/creating-oracle-to-postgres-migration-integration-tests): Creating oracle to postgres migration integration tests is an open-source agent skill for databases.
- [Planning oracle to postgres migration integration testing](https://ai-powered.com/skills/planning-oracle-to-postgres-migration-integration-testing): Planning oracle to postgres migration integration testing is an open-source agent skill for databases.
- [Migrating oracle to postgres data access code](https://ai-powered.com/skills/migrating-oracle-to-postgres-data-access-code): Migrating oracle to postgres data access code is an open-source agent skill for databases.
- [Creating oracle to postgres master migration plan](https://ai-powered.com/skills/creating-oracle-to-postgres-master-migration-plan): Creating oracle to postgres master migration plan is an open-source agent skill for databases.
- [Reviewing oracle to postgres migration](https://ai-powered.com/skills/reviewing-oracle-to-postgres-migration): Reviewing oracle to postgres migration is an open-source agent skill for databases.
- [Migrating oracle to postgres stored procedures](https://ai-powered.com/skills/migrating-oracle-to-postgres-stored-procedures): Migrating oracle to postgres stored procedures is an open-source agent skill for databases.
- [Creating oracle to postgres migration bug report](https://ai-powered.com/skills/creating-oracle-to-postgres-migration-bug-report): Creating oracle to postgres migration bug report is an open-source agent skill for databases.
- [Csharp tunit](https://ai-powered.com/skills/csharp-tunit): Csharp tunit is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/scaffolding-oracle-to-postgres-migration-test-project
