본문으로 건너뛰기
Skillpedia
API 및 서버 (백엔드)40k · #7167

dataverse-python-usecase-builder

하는 일

이 AI 에이전트는 마이크로소프트 데이터베이스인 Dataverse를 위한 완전한 솔루션을 만드는 데 도움을 줍니다. 데이터 구조를 설계하고, 정보를 정리하는 방법을 제안하며, 모든 것이 작동하도록 필요한 코드를 만듭니다.

사용하는 경우

  • ✓고객 정보를 정리해야 할 때.
  • ✓문서와 파일을 관리해야 할 때.
  • ✓다른 시스템의 데이터를 통합해야 할 때.

스킬 링크

https://github.com/github/awesome-copilot/blob/main/skills/dataverse-python-usecase-builder/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/dataverse-python-usecase-builder/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“고객 문서를 관리하는 솔루션이 필요합니다. 업로드, 종류별 정리, 누가 보냈는지 기록하는 기능을 포함해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 필요한 내용을 분석하고, 데이터를 어떻게 저장할지(테이블과 열 등)를 정하며, 가장 좋은 프로그래밍 방식을 고르고, 바로 쓸 수 있는 코드를 제공합니다.

기술 내용 (원본 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:

  1. Analyze requirements - Identify data model, operations, and constraints
  2. Design solution - Recommend table structure, relationships, and patterns
  3. Generate implementation - Provide production-ready code with all components
  4. Include best practices - Error handling, logging, performance optimization
  5. 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가 무엇인가요?

비즈니스 정보를 저장하고 관리하는 지능형 데이터베이스 역할을 하는 마이크로소프트 서비스입니다.

'완전한 솔루션'이란 무엇인가요?

에이전트가 코드만 제공하는 것이 아니라, 데이터를 어떻게 구조화할지, 기능을 구현하는 최선의 방법, 그리고 모든 것이 어떻게 맞물리는지도 고려한다는 뜻입니다.

이것을 쓰려면 코딩을 알아야 하나요?

아니요. 에이전트가 바로 사용할 수 있는 코드를 만들어 주는 것이 목표입니다. 프로그래밍을 몰라도 기술적인 복잡성은 에이전트가 처리합니다.

상세 정보

작성자의 원본 설명

Generate complete solutions for specific Dataverse SDK use cases with architecture recommendations

repo: github/awesome-copilot

인기도

GitHub 스타
40k
순위
#7167
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬