planning-oracle-to-postgres-migration-integration-testing
यह क्या करती है
यह agent एक सॉफ्टवेयर प्रोजेक्ट में यह टेस्ट करने की योजना बनाता है कि डेटा तक कैसे पहुंचा और संभाला जाता है। यह पहचानकर कि किन चीज़ों का टेस्ट ज़रूरी है, Oracle से PostgreSQL database में आसान बदलाव सुनिश्चित करने पर ध्यान देता है।
कब इस्तेमाल करें
- ✓जब कोई प्रोजेक्ट अपना database Oracle से PostgreSQL में बदल रहा हो, तब उसके टेस्ट की योजना बनाने के लिए।
- ✓जब आपको जानना हो कि आपके कोड के कौन से हिस्से, जो database तक पहुंचते हैं, उनका टेस्ट ज़रूरी है।
- ✓database बदलने से पहले टेस्ट का documentation तैयार करने के लिए।
Skill का लिंक
https://github.com/github/awesome-copilot/blob/main/skills/planning-oracle-to-postgres-migration-integration-testing/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मुझे 'MyApp.Core' प्रोजेक्ट के लिए Oracle से PostgreSQL माइग्रेशन टेस्टिंग योजना चाहिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह agent आपके प्रोजेक्ट का विश्लेषण करके वे हिस्से खोजता है जो database से बात करते हैं। फिर सुझाए गए टेस्ट के साथ एक विस्तृत document बनाता है, और सबसे जटिल हिस्सों या Oracle-specific features वाले हिस्सों को प्राथमिकता देता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
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 zoneortimestamp(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.
अक्सर पूछे जाने वाले सवाल
'data access artifacts' क्या हैं?
ये आपके कोड के वे हिस्से हैं (जैसे repositories, DAOs या service layers) जो database से जानकारी पढ़ते या लिखते हैं।
Oracle-specific features को प्राथमिकता क्यों दी जाती है?
क्योंकि ये features PostgreSQL में अलग तरह से काम कर सकते हैं, इसलिए इन्हें ध्यान से टेस्ट करना ज़रूरी है ताकि माइग्रेशन सही तरह से हो।
क्या agent मेरे लिए टेस्ट लिखेगा?
नहीं, agent सिर्फ टेस्ट की योजना बनाता है। इस योजना के आधार पर टेस्ट आपको या आपकी टीम को लिखने और चलाने होंगे।
जानकारी
लेखक का मूल विवरण
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 fo
repo: github/awesome-copilot
लोकप्रियता
- GitHub स्टार
- 40k
- रैंकिंग में स्थान
- #7325
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
acquire-codebase-knowledge
40kआपके एजेंट को किसी मौजूदा code प्रोजेक्ट को समझने और उसका documentation बनाने में मदद करता है। यह नए लोगों को प्रोजेक्ट से जोड़ने या architecture का सार जानने में उपयोगी है।
acreadiness-assess
40kआपके एजेंट को किसी प्रोजेक्ट की AI के लिए तैयारी जाँचने और रिपोर्ट बनाने देता है। यह समझने में उपयोगी है कि प्रोजेक्ट AI tools इस्तेमाल करने के लिए कितना तैयार है।
acreadiness-generate-instructions
40kआपके एजेंट को assessment के आधार पर AI tools के लिए निर्देश बनाने में मदद करता है। यह बताता है कि AI कोड के साथ बेहतर कैसे काम करे और पहचानी गई कमियाँ कैसे दूर हों।
acreadiness-policy
40kआपके एजेंट को AI प्रोजेक्ट assessment के लिए नीतियाँ तय करने या लागू करने में मदद करता है। यह प्रोजेक्ट्स के मूल्यांकन को मानक बनाने और compliance सुनिश्चित करने में उपयोगी है।
मिलती-जुलती skills
test-driven-development
311kयह आपके एजेंट को किसी भी फ़ीचर या सुधार से पहले पहले असफल होने वाला टेस्ट लिखना, उसे असफल होते देखना, फिर पास करने वाला सबसे छोटा कोड लिखना सिखाती है।
verification-before-completion
311kयह आपके एजेंट को किसी काम, सुधार या build के पूरा या पास होने का दावा करने से पहले असली जांच चलाकर उसका आउटपुट पढ़ना सिखाती है।
migrate-to-shoehorn
310kआपकी टेस्ट फ़ाइलों में जोखिम भरे type casts की जगह shoehorn लाइब्रेरी लगाती है, ताकि टेस्ट अधूरे डेटा से भी type checks पास कर सकें।