planning-oracle-to-postgres-migration-integration-testing — скилл
Скилл анализирует один .NET-проект и составляет план интеграционных тестов для миграции с Oracle на PostgreSQL. Подойдёт, когда нужно определить, какие обращения к базе проверить.
npx skills add github/awesome-copilot --skill planning-oracle-to-postgres-migration-integration-testingЧто делает planning-oracle-to-postgres-migration-integration-testing
Скилл находит в целевом проекте репозитории, DAO, вызовы хранимых процедур и сервисные методы, которые работают с базой. Затем ранжирует их по риску миграции: выше ставит код с особенностями Oracle, например refcursors, TO_CHAR, неявным преобразованием типов и NO_DATA_FOUND.
В плане Markdown перечисляются проверяемые методы, тест-кейсы и требования к исходным данным. Также он охватывает различия поведения Oracle и PostgreSQL, пустые строки и NULL, часовые пояса и работу колонок timestamp without time zone или timestamp(0). План сохраняется в .github/oracle-to-postgres-migration/Reports/{TARGET_PROJECT} Integration Testing Plan.md.
Скилл ограничивается одним проектом и обращениями к базе; бизнес-логику без доступа к данным пропускает. Oracle служит эталоном ожидаемого поведения, а сценарии с несколькими подключениями не входят в план. Ставьте его для подготовки проверки миграции, если нужен перечень тестов по каждому касанию базы.
Какие задачи решает
- найти методы проекта, которые обращаются к базе
- расставить приоритеты тестирования по риску миграции
- подобрать тест-кейсы для методов доступа к данным
- проверить поведение пустых строк,
NULLи временных меток - сопоставить тестами все обращения проекта к базе
Примеры запросов агенту
- Составь план интеграционных тестов миграции Oracle на PostgreSQL для проекта.
- Найди в этом проекте репозитории, DAO и методы сервисов, которые обращаются к базе, и предложи тесты.
- Проверь, какие тест-кейсы нужны для `timestamp without time zone` и параметров `NULL`.
Как установить planning-oracle-to-postgres-migration-integration-testing
1Через Skills CLI (Vercel)
npx skills add github/awesome-copilot --skill planning-oracle-to-postgres-migration-integration-testing2GitHub CLI
gh skill install github/awesome-copilot planning-oracle-to-postgres-migration-integration-testing3Вручную: положить файлы
.github/skills/planning-oracle-to-postgres-migration-integration-testing/SKILL.md1Через Skills CLI (Vercel)
npx skills add github/awesome-copilot --skill planning-oracle-to-postgres-migration-integration-testing -a claude-code2Вручную: положить файлы
~/.claude/skills/planning-oracle-to-postgres-migration-integration-testing/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/planning-oracle-to-postgres-migration-integration-testing/
Вручную: положить файлы
.agents/skills/planning-oracle-to-postgres-migration-integration-testing/SKILL.mdДля всех проектов — ~/.agents/skills/
Вручную: положить файлы
.cursor/skills/planning-oracle-to-postgres-migration-integration-testing/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
Командой платформы
gemini skills install https://github.com/github/awesome-copilot --path skills/planning-oracle-to-postgres-migration-integration-testingВручную: положить файлы
.devin/skills/planning-oracle-to-postgres-migration-integration-testing/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
Из того же набора554
Весь набор →Похожие
Вопросы о planning-oracle-to-postgres-migration-integration-testing
Как установить planning-oracle-to-postgres-migration-integration-testing в GitHub Copilot?
Выполните npx skills add github/awesome-copilot --skill planning-oracle-to-postgres-migration-integration-testing. Также доступна команда gh skill install github/awesome-copilot planning-oracle-to-postgres-migration-integration-testing.
Что делает planning-oracle-to-postgres-migration-integration-testing?
Анализирует один .NET-проект, находит обращения к базе и создаёт Markdown-план интеграционных тестов для миграции Oracle на PostgreSQL.
Какие особенности миграции скилл предлагает проверять?
Он выделяет Oracle-специфичные конструкции, включая refcursors, TO_CHAR и NO_DATA_FOUND. В тест-план также входят пустые строки, NULL, часовые пояса и поведение временных колонок.
Исходный текст
SKILL.md · MIT
---
name: planning-oracle-to-postgres-migration-integration-testing
description: 'Creates an integration testing plan for .NET data access artifacts during Oracle-to-PostgreSQL database migrations. Analyzes a single project to identify repositories, DAOs, and service layers that interact with the database, then produces a structured testing plan. Use when planning integration test coverage for a migrated project, identifying which data access methods need tests, or preparing for Oracle-to-PostgreSQL migration validation.'
---
# Planning Integration Testing for Oracle-to-PostgreSQL Migration
Analyze a single target project to identify data access artifacts that require integration testing, then produce a structured, actionable testing plan.
## Workflow
```
Progress:
- [ ] Step 1: Identify data access artifacts
- [ ] Step 2: Classify testing priorities
- [ ] Step 3: Write the testing plan
```
**Step 1: Identify data access artifacts**
Scope to the target project only. Find classes and methods that interact directly with the database — repositories, DAOs, stored procedure callers, service layers performing CRUD operations.
**Step 2: Classify testing priorities**
Rank artifacts by migration risk. Prioritize methods that use Oracle-specific features (refcursors, `TO_CHAR`, implicit type coercion, `NO_DATA_FOUND`) over simple CRUD.
**Step 3: Write the testing plan**
Write a markdown plan covering:
- List of testable artifacts with method signatures
- Recommended test cases per artifact
- Seed data requirements
- Known Oracle→PostgreSQL behavioral differences to validate
- Coverage mapping that ensures every database touchpoint has at least one test case (or a justified set of cases for high-risk methods)
When defining recommended test cases, explicitly include:
- Text parameter behavior for both empty string and `NULL`/missing values.
- Datetime/timezone assertions, including round-trip and comparison behavior.
- Cases where destination columns use `timestamp without time zone` or `timestamp(0)`, with explicit timezone-application expectations.
## Output
Write the plan to: `.github/oracle-to-postgres-migration/Reports/{TARGET_PROJECT} Integration Testing Plan.md`
## Key Constraints
- **Single project scope** — only plan tests for artifacts within the target project.
- **Database interactions only** — skip business logic that does not touch the database.
- **Oracle is the golden source** — tests should capture Oracle's expected behavior for comparison against PostgreSQL.
- **No multi-connection harnessing** — migrated applications are copied and renamed (e.g., `MyApp.Postgres`), so each instance targets one database.
© github · MIT · github/awesome-copilot