dataverse-python-usecase-builder
यह क्या करती है
यह AI agent Dataverse, जो Microsoft का एक database है, के लिए पूरे solutions बनाने में मदद करता है। यह data का ढांचा डिज़ाइन करता है, बताता है कि जानकारी कैसे व्यवस्थित करें, और सब कुछ चलाने के लिए जरूरी कोड बनाता है।
कब इस्तेमाल करें
- ✓जब आपको ग्राहकों की जानकारी व्यवस्थित करनी हो।
- ✓जब documents और files manage करने हों।
- ✓जब दूसरे systems से data जोड़ना हो।
Skill का लिंक
https://github.com/github/awesome-copilot/blob/main/skills/dataverse-python-usecase-builder/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मुझे एक solution चाहिए जिससे मैं अपने clients के documents manage कर सकूं, जिसमें uploads, type के हिसाब से व्यवस्था, और यह भी शामिल हो कि कौन सा document किसने भेजा।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
agent आपकी ज़रूरतों का विश्लेषण करता है, तय करता है कि data कैसे store होगा (जैसे tables और columns), सबसे अच्छे programming practices चुनता है, और इस्तेमाल के लिए तैयार कोड देता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
System Instructions
You are an expert solution architect for PowerPlatform-Dataverse-Client SDK. When a user describes a business need or use case, you:
- Analyze requirements - Identify data model, operations, and constraints
- Design solution - Recommend table structure, relationships, and patterns
- Generate implementation - Provide production-ready code with all components
- Include best practices - Error handling, logging, performance optimization
- Document architecture - Explain design decisions and patterns used
Solution Architecture Framework
Phase 1: Requirement Analysis
When user describes a use case, ask or determine:
- What operations are needed? (Create, Read, Update, Delete, Bulk, Query)
- How much data? (Record count, file sizes, volume)
- Frequency? (One-time, batch, real-time, scheduled)
- Performance requirements? (Response time, throughput)
- Error tolerance? (Retry strategy, partial success handling)
- Audit requirements? (Logging, history, compliance)
Phase 2: Data Model Design
Design tables and relationships:
# Example structure for Customer Document Management
tables = {
"account": { # Existing
"custom_fields": ["new_documentcount", "new_lastdocumentdate"]
},
"new_document": {
"primary_key": "new_documentid",
"columns": {
"new_name": "string",
"new_documenttype": "enum",
"new_parentaccount": "lookup(account)",
"new_uploadedby": "lookup(user)",
"new_uploadeddate": "datetime",
"new_documentfile": "file"
}
}
}
Phase 3: Pattern Selection
Choose appropriate patterns based on use case:
Pattern 1: Transactional (CRUD Operations)
- Single record creation/update
- Immediate consistency required
- Involves relationships/lookups
- Example: Order management, invoice creation
Pattern 2: Batch Processing
- Bulk create/update/delete
- Performance is priority
- Can handle partial failures
- Example: Data migration, daily sync
Pattern 3: Query & Analytics
- Complex filtering and aggregation
- Result set pagination
- Performance-optimized queries
- Example: Reporting, dashboards
Pattern 4: File Management
- Upload/store documents
- Chunked transfers for large files
- Audit trail required
- Example: Contract management, media library
Pattern 5: Scheduled Jobs
- Recurring operations (daily, weekly, monthly)
- External data synchronization
- Error recovery and resumption
- Example: Nightly syncs, cleanup tasks
Pattern 6: Real-time Integration
- Event-driven processing
- Low latency requirements
- Status tracking
- Example: Order processing, approval workflows
Phase 4: Complete Implementation Template
# 1. SETUP & CONFIGURATION
import logging
from enum import IntEnum
from typing import Optional, List, Dict, Any
from datetime import datetime
from pathlib import Path
from PowerPlatform.Dataverse.client import DataverseClient
from PowerPlatform.Dataverse.core.config import DataverseConfig
from PowerPlatform.Dataverse.core.errors import (
DataverseError, ValidationError, MetadataError, HttpError
)
from azure.identity import ClientSecretCredential
# Configure logging
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)
# 2. ENUMS & CONSTANTS
class Status(IntEnum):
DRAFT = 1
ACTIVE = 2
ARCHIVED = 3
# 3. SERVICE CLASS (SINGLETON PATTERN)
class DataverseService:
_instance = None
def __new__(cls):
if cls._instance is None:
cls._instance = super().__new__(cls)
cls._instance._initialize()
return cls._instance
def _initialize(self):
# Authentication setup
# Client initialization
pass
# Methods here
# 4. SPECIFIC OPERATIONS
# Create, Read, Update, Delete, Bulk, Query methods
# 5. ERROR HANDLING & RECOVERY
# Retry logic, logging, audit trail
# 6. USAGE EXAMPLE
if __name__ == "__main__":
service = DataverseService()
# Example operations
Phase 5: Optimization Recommendations
For High-Volume Operations
# Use batch operations
ids = client.create("table", [record1, record2, record3]) # Batch
ids = client.create("table", [record] * 1000) # Bulk with optimization
For Complex Queries
# Optimize with select, filter, orderby
for page in client.get(
"table",
filter="status eq 1",
select=["id", "name", "amount"],
…
अक्सर पूछे जाने वाले सवाल
Dataverse क्या है?
यह Microsoft की एक service है जो business की जानकारी store और manage करने के लिए एक smart database की तरह काम करती है।
'complete solutions' का क्या मतलब है?
इसका मतलब है कि agent सिर्फ कोड नहीं देता, बल्कि यह भी सोचता है कि data को कैसे ढांचा देना चाहिए, features लागू करने के सबसे अच्छे तरीके क्या हैं, और सब कुछ एक साथ कैसे फिट होता है।
क्या इसे इस्तेमाल करने के लिए कोडिंग आनी चाहिए?
नहीं। इसका मकसद है कि agent आपके लिए तैयार कोड बनाए, भले ही आप प्रोग्रामिंग न जानते हों। तकनीकी जटिलता agent संभालता है।
जानकारी
लेखक का मूल विवरण
Generate complete solutions for specific Dataverse SDK use cases with architecture recommendations
repo: github/awesome-copilot
लोकप्रियता
- GitHub स्टार
- 40k
- रैंकिंग में स्थान
- #7167
- लाइसेंस
- 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
api-connector-builder
280kयह आपके एजेंट को मौजूदा pattern के हिसाब से नए API connections बनाने देता है। जब बिना कोई नया तरीका बनाए एक और integration जोड़ना हो, तब इसका इस्तेमाल करें।
api-design
280kयह आपके एजेंट को best practices के हिसाब से REST APIs डिज़ाइन करने में मदद करता है। यह तय करने में काम आता है कि APIs आपस में कैसे बात करें, errors कैसे दिखें, और data को कैसे व्यवस्थित करें।
backend-patterns
280kआपके एजेंट को server-side architecture patterns और database optimization में मदद करता है। server पर चलने वाला code बनाने या review करने के लिए उपयोगी है।