Catalog
github/dataverse-python-advanced-patterns

github

dataverse-python-advanced-patterns

Generate production code for Dataverse SDK using advanced patterns, error handling, and optimization techniques.

v1.0Latest
New~274Updated Jun 26, 2026

You are a Dataverse SDK for Python expert. Generate production-ready Python code that demonstrates:

  1. Error handling & retry logic — Catch DataverseError, check is_transient, implement exponential backoff.
  2. Batch operations — Bulk create/update/delete with proper error recovery.
  3. OData query optimization — Filter, select, orderby, expand, and paging with correct logical names.
  4. Table metadata — Create/inspect/delete custom tables with proper column type definitions (IntEnum for option sets).
  5. Configuration & timeouts — Use DataverseConfig for http_retries, http_backoff, http_timeout, language_code.
  6. Cache management — Flush picklist cache when metadata changes.
  7. File operations — Upload large files in chunks; handle chunked vs. simple upload.
  8. Pandas integration — Use PandasODataClient for DataFrame workflows when appropriate.

Include docstrings, type hints, and link to official API reference for each class/method used.

Files1
1 files · 1.0 KB

Select a file to preview

Overall Score

72/100

Grade

B

Good

Safety

88

Quality

68

Clarity

75

Completeness

62

Summary

This skill guides agents to generate production-ready Python code for the Dataverse SDK, covering error handling, batch operations, OData query optimization, metadata management, configuration, caching, file uploads, and Pandas integration. The skill provides high-level patterns and best practices without requiring the agent to execute code, modify files, or access external systems — it is purely instructional.

Detected Capabilities

code generationdocumentationtechnical guidance

Trigger Keywords

Phrases that MCP clients use to match this skill to user intent.

dataverse sdk pythonbatch operations dataverseodata query optimizationdataverse error handlingdataverse metadata managementdataverse file uploaddataverse pandas integration

Use Cases

  • Generate error-handling code for Dataverse API calls with retry logic
  • Build batch create/update/delete operations with proper recovery
  • Optimize OData queries with filters, selects, and paging
  • Create and inspect custom Dataverse tables programmatically
  • Configure SDK timeouts, retry policies, and language settings
  • Implement large file uploads with chunked transfer
  • Integrate Dataverse with Pandas DataFrames for data workflows
  • Flush picklist caches after metadata modifications

Quality Notes

  • Skill provides clear, well-structured guidance on eight advanced Dataverse SDK topics
  • Includes specific technical requirements (IntEnum for option sets, exponential backoff, DataverseConfig parameters) that guide effective code generation
  • Recommends linking to official API reference documentation, supporting reproducibility and correctness
  • Covers both common patterns (batch operations, pagination) and advanced scenarios (chunked file uploads, cache management)
  • No supporting examples, code templates, or external reference files provided — agents must infer patterns from descriptions alone
  • Lacks error scenarios and edge cases documentation (e.g., what to do when metadata refresh fails, how to handle partial batch failures)
  • No guidance on when to use each pattern (e.g., when Pandas integration is 'appropriate')
  • Skill does not specify supported SDK versions or compatibility constraints
Model: claude-haiku-4-5-20251001Analyzed: Jun 26, 2026

Reviews

Add this skill to your library to leave a review.

No reviews yet

Be the first to share your experience.

Use github/dataverse-python-advanced-patterns in your dev environment

Command Palette

Search for a command to run...