dataverse-python-advanced-patterns — GitHub Copilot skill
Guides GitHub Copilot to generate Dataverse Python code with error recovery, batch work, and OData query patterns.
npx skills add github/awesome-copilot --skill dataverse-python-advanced-patterns -a claude-codeWhat dataverse-python-advanced-patterns does
This skill directs Dataverse SDK for Python code generation around DataverseError handling, is_transient checks, and exponential backoff. Generated code includes docstrings, type hints, and references to official API documentation.
It covers bulk create, update, and delete flows with error recovery. OData examples use filter, select, orderby, expand, and paging with correct logical names.
The scope also includes custom table metadata, IntEnum option sets, DataverseConfig, picklist cache flushing, chunked file uploads, and PandasODataClient workflows. Install it when Copilot is writing a Dataverse Python integration rather than a one-off query.
What it helps with
- retry transient Dataverse errors with backoff
- bulk create or update Dataverse records
- build OData queries with filters and paging
- define custom table columns and option sets
- upload large files in chunks
Example prompts for the agent
- "Generate Python code for bulk Dataverse updates with DataverseError handling."
- "Write a Dataverse OData query using select, expand, and paging."
- "Show a chunked large-file upload for Dataverse and configure DataverseConfig."
How to install dataverse-python-advanced-patterns
1Skills CLI (Vercel)
npx skills add github/awesome-copilot --skill dataverse-python-advanced-patterns -a claude-code2Manually: put the files in place
~/.claude/skills/dataverse-python-advanced-patterns/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/dataverse-python-advanced-patterns/
Manually: put the files in place
.agents/skills/dataverse-python-advanced-patterns/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/dataverse-python-advanced-patterns/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1Skills CLI (Vercel)
npx skills add github/awesome-copilot --skill dataverse-python-advanced-patterns2GitHub CLI
gh skill install github/awesome-copilot dataverse-python-advanced-patterns3Manually: put the files in place
.github/skills/dataverse-python-advanced-patterns/SKILL.mdPlatform CLI
gemini skills install https://github.com/github/awesome-copilot --path skills/dataverse-python-advanced-patternsManually: put the files in place
.devin/skills/dataverse-python-advanced-patterns/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Similar
Questions about dataverse-python-advanced-patterns
How do I install dataverse-python-advanced-patterns in GitHub Copilot?
Run npx skills add github/awesome-copilot --skill dataverse-python-advanced-patterns. The skill file is placed at .github/skills/dataverse-python-advanced-patterns/SKILL.md.
What does dataverse-python-advanced-patterns do?
It guides GitHub Copilot to generate Dataverse SDK for Python code with transient-error retries, batch operations, and OData query patterns. It also covers table metadata, file uploads, cache handling, and PandasODataClient.
How does the skill handle transient Dataverse errors?
It uses DataverseError, checks is_transient, and applies exponential backoff. Retry, backoff, and timeout settings can be configured through DataverseConfig.
Source text
SKILL.md · MIT
--- name: dataverse-python-advanced-patterns description: 'Generate production code for Dataverse SDK using advanced patterns, error handling, and optimization techniques.' --- 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.
© github · MIT · github/awesome-copilot