creating-oracle-to-postgres-migration-bug-report
它能做什么
这个工具可以帮你撰写详细的报告,记录从 Oracle 数据库迁移数据到 PostgreSQL 时遇到的问题。它能确保报告表达清晰,并包含修复问题所需的全部信息。
适用场景
- ✓遇到 Oracle 和 PostgreSQL 之间的行为差异时。
- ✓记录某个具体迁移项目中的错误时。
- ✓为团队编写正式的 bug 报告时。
技能链接
https://github.com/github/awesome-copilot/blob/main/skills/creating-oracle-to-postgres-migration-bug-report/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“为一个问题创建 bug 报告:Oracle 会把空字符串当作 NULL 处理,而 PostgreSQL 不会。”
每周 5 个新技能,1 分钟读完。
工作原理
你需要填写一份模板,内容包括问题的表现、产生原因以及修复方法等信息。模板会引导你补充严重程度、复现步骤等重要细节。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Creating Bug Reports for Oracle-to-PostgreSQL Migration
When to Use
- Documenting a defect caused by behavioral differences between Oracle and PostgreSQL
- Writing or reviewing a bug report for an Oracle-to-PostgreSQL migration project
Bug Report Format
Use the template in references/BUG-REPORT-TEMPLATE.md. Each report must include:
- Status: ✅ RESOLVED, ⛔ UNRESOLVED, or ⏳ IN PROGRESS
- Component: Affected endpoint, repository, or stored procedure
- Test: Related automated test names
- Severity: Low / Medium / High / Critical — based on impact scope
- Problem: Expected Oracle behavior vs. observed PostgreSQL behavior
- Scenario: Ordered reproduction steps with seed data, operation, expected result, and actual result
- Root Cause: The specific Oracle/PostgreSQL behavioral difference causing the defect
- Solution: Changes made or required, with explicit file paths
- Validation: Steps to confirm the fix on both databases
Oracle-to-PostgreSQL Guidance
- Oracle is the source of truth — frame expected behavior from the Oracle baseline
- Call out data layer nuances explicitly: empty string vs. NULL, type coercion strictness, collation, sequence values, time zones, padding, constraints
- Client code changes should be avoided unless required for correct behavior; when proposed, document and justify them clearly
Writing Style
- Plain language, short sentences, clear next actions
- Present or past tense consistently
- Bullets and numbered lists for steps and validations
- Minimal SQL excerpts and logs as evidence; omit sensitive data and keep snippets reproducible
- Stick to existing runtime/language versions; avoid speculative fixes
Filename Convention
Save bug reports to .github/oracle-to-postgres-migration/Reports/{ProjectName}/BUG_REPORT_<DescriptiveSlug>.md where:
{ProjectName}is the project's assembly/folder name with spaces normalized to-(e.g.MyApp.DataAccess)<DescriptiveSlug>is a short PascalCase identifier describing the defect (e.g.,EmptyStringNullHandling,RefCursorUnwrapFailure)
常见问题
什么是“bug 报告”?
它是一份描述软件问题(bug)的文档,说明哪里出了错、如何复现,以及该如何修复。
为什么要记录 Oracle 和 PostgreSQL 之间的差异?
因为这些差异可能导致意料之外的错误。把它们记录下来,团队在迁移过程中就能理解并修复这些错误。
“Oracle 是事实来源”是什么意思?
意思是,预期的行为应以迁移前原有 Oracle 数据库的实际表现为准。
详情
作者的原始描述
Creates structured bug reports for defects found during Oracle-to-PostgreSQL migration. Use when documenting behavioral differences between Oracle and PostgreSQL as actionable bug reports with severity, root cause, and remediation steps.
repo: github/awesome-copilot
热度
- GitHub 星标
- 40k
- 排名
- #7149
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
acquire-codebase-knowledge
40k帮你的智能体理解并编写现有代码项目的文档。它有助于新成员快速上手,或者快速了解项目架构。
acreadiness-assess
40k让你的智能体评估一个项目对 AI 的准备程度,并生成报告。它有助于了解项目在使用 AI 工具方面的准备情况。
acreadiness-generate-instructions
40k帮你的智能体根据评估结果编写 AI 工具的指令文件。它有助于改善 AI 与代码的交互方式,并弥补已发现的不足。
acreadiness-policy
40k让你的智能体协助制定或应用 AI 项目评估的政策。它有助于规范项目的评估方式,并确保合规。