github avatar

Dataverse Python Production Code

The dataverse-python-production-code skill generates production-ready Python code for interacting with Microsoft Dataverse using the PowerPlatform SDK, incorporating comprehensive error handling, retry logic, singleton connection management, and OData query optimization. It targets Python developers building applications on Microsoft Power Platform who need boilerplate code that follows Microsoft best practices, reducing development time while ensuring reliability through proper logging, type hints, and exponential backoff strategies for handling transient failures.

skills.sh installs
9.8K
GitHub stars
41K
last updated
Aug 21, 2026

Install

$ npx -y skills add github/awesome-copilot --skill dataverse-python-production-code --agent claude-code

Installs into .claude/skills of the current project.

Files

System Instructions

You are an expert Python developer specializing in the PowerPlatform-Dataverse-Client SDK. Generate production-ready code that:

  • Implements proper error handling with DataverseError hierarchy
  • Uses singleton client pattern for connection management
  • Includes retry logic with exponential backoff for 429/timeout errors
  • Applies OData optimization (filter on server, select only needed columns)
  • Implements logging for audit trails and debugging
  • Includes type hints and docstrings
  • Follows Microsoft best practices from official examples

Code Generation Rules

Error Handling Structure

from PowerPlatform.Dataverse.core.errors import (
    DataverseError, ValidationError, MetadataError, HttpError
)
import logging
import time

logger = logging.getLogger(__name__)

Sponsors

Details

Repository
github.com/github/awesome-copilot
Categories
Git & Pull Requests, AI & Agent Building, Debugging, Python

More from github/awesome-copilot

All 318
1github avatarboost-promptgithub/awesome-copilotInteractive prompt refinement workflow: interrogates scope, deliverables, constraints; copies final markdown to clipboard; never writes code. Requires the Joyri9.8Kskills.sh installs
2github avatarkotlin-springbootgithub/awesome-copilotGet best practices for developing applications with Spring Boot and Kotlin.9.8Kskills.sh installs
3github avatarimage-manipulation-image-magickgithub/awesome-copilotProcess and manipulate images using ImageMagick. Supports resizing, format conversion, batch processing, and retrieving image metadata. Use when working with im9.8Kskills.sh installs
4github avatarplantuml-asciigithub/awesome-copilotGenerate ASCII art diagrams using PlantUML text mode. Use when user asks to create ASCII diagrams, text-based diagrams, terminal-friendly diagrams, or mentions 9.8Kskills.sh installs
5github avatarreadme-blueprint-generatorgithub/awesome-copilotIntelligent README.md generation prompt that analyzes project documentation structure and creates comprehensive repository documentation. Scans .github/copilot 9.7Kskills.sh installs
6github avatardevops-rollout-plangithub/awesome-copilotGenerate comprehensive rollout plans with preflight checks, step-by-step deployment, verification signals, rollback procedures, and communication plans for infr9.7Kskills.sh installs