Microsoft DataOps Copilot Artifacts
September 2, 2025 ยท View on GitHub
This directory contains GitHub Copilot artifacts designed to help engineers implement DataOps best practices in Microsoft data platform projects. These artifacts leverage the patterns and examples from the samples in this repository to provide comprehensive guidance and accelerate development.
Available Platforms
General Instructions
Contains general instructions that help with development and maintenance of this DataOps repo. May or may not be helpful in your own projects.
Microsoft Fabric
DataOps artifacts for Microsoft Fabric projects implementing medallion architecture, CI/CD, and modern data engineering practices.
Azure Databricks
DataOps artifacts for Azure Databricks projects with Unity Catalog, medallion architecture, comprehensive CI/CD pipelines, and enterprise data lakehouse patterns based on the proven parking sensors implementation.
Available Artifacts
General Instructions (/instructions/)
| Artifact | Purpose | Type |
|---|---|---|
bash.instructions.md | General instructions for bash scripting | Instructions |
Microsoft Fabric (/fabric/)
| Artifact | Purpose | Type |
|---|---|---|
fabric-dataops.instructions.md | Core DataOps principles and implementation guidance | Instructions |
fabric-setup.prompt.md | Interactive project setup assistant | Prompt |
fabric-cicd.instructions.md | CI/CD pipeline implementation guide | Instructions |
fabric-medallion.prompt.md | Medallion architecture implementation helper | Prompt |
fabric-infrastructure.prompt.md | Infrastructure as Code template generator | Prompt |
fabric-testing.instructions.md | Testing strategy and implementation guide | Instructions |
fabric-troubleshooting.prompt.md | Troubleshooting assistant for common issues | Prompt |
fabric-best-practices-checklist.md | Comprehensive best practices checklist | Checklist |
Azure Databricks (/databricks/)
| Artifact | Purpose | Type |
|---|---|---|
databricks-dataops.instructions.md | Core DataOps principles for Databricks with Unity Catalog | Instructions |
databricks-setup.prompt.md | Interactive Databricks project setup assistant | Prompt |
databricks-cicd.instructions.md | CI/CD pipeline implementation for Databricks | Instructions |
databricks-medallion.prompt.md | Medallion architecture with Unity Catalog implementation | Prompt |
databricks-infrastructure.prompt.md | Infrastructure as Code for Databricks and Unity Catalog | Prompt |
databricks-testing.instructions.md | Testing strategy for Databricks projects | Instructions |
databricks-troubleshooting.prompt.md | Troubleshooting assistant for Databricks issues | Prompt |
databricks-best-practices-checklist.md | Comprehensive Databricks best practices checklist | Checklist |
How to Use These Artifacts in Your Project
Step 1: Choose Your Platform and Copy Artifacts
-
Create organized directories in your project's
.githubfolder for optimal GitHub Copilot integration:mkdir -p .github/instructions mkdir -p .github/prompts -
Copy the relevant platform artifacts from this repository to your project:
For Microsoft Fabric projects:
# Copy Fabric instruction files cp /path/to/modern-data-warehouse-dataops/.github/fabric/fabric-dataops.instructions.md .github/instructions/ cp /path/to/modern-data-warehouse-dataops/.github/fabric/fabric-cicd.instructions.md .github/instructions/ cp /path/to/modern-data-warehouse-dataops/.github/fabric/fabric-testing.instructions.md .github/instructions/ # Copy Fabric prompt files cp /path/to/modern-data-warehouse-dataops/.github/fabric/fabric-setup.prompt.md .github/prompts/ cp /path/to/modern-data-warehouse-dataops/.github/fabric/fabric-medallion.prompt.md .github/prompts/ cp /path/to/modern-data-warehouse-dataops/.github/fabric/fabric-infrastructure.prompt.md .github/prompts/ cp /path/to/modern-data-warehouse-dataops/.github/fabric/fabric-troubleshooting.prompt.md .github/prompts/ # Copy checklist (can go in either location, but instructions folder is recommended) cp /path/to/modern-data-warehouse-dataops/.github/fabric/fabric-best-practices-checklist.md .github/instructions/For Azure Databricks projects:
# Copy Databricks instruction files cp /path/to/modern-data-warehouse-dataops/.github/databricks/databricks-dataops.instructions.md .github/instructions/ cp /path/to/modern-data-warehouse-dataops/.github/databricks/databricks-cicd.instructions.md .github/instructions/ cp /path/to/modern-data-warehouse-dataops/.github/databricks/databricks-testing.instructions.md .github/instructions/ # Copy Databricks prompt files cp /path/to/modern-data-warehouse-dataops/.github/databricks/databricks-setup.prompt.md .github/prompts/ cp /path/to/modern-data-warehouse-dataops/.github/databricks/databricks-medallion.prompt.md .github/prompts/ cp /path/to/modern-data-warehouse-dataops/.github/databricks/databricks-infrastructure.prompt.md .github/prompts/ cp /path/to/modern-data-warehouse-dataops/.github/databricks/databricks-troubleshooting.prompt.md .github/prompts/ # Copy checklist (can go in either location, but instructions folder is recommended) cp /path/to/modern-data-warehouse-dataops/.github/databricks/databricks-best-practices-checklist.md .github/instructions/ -
Customize the artifacts for your specific project needs by editing the files and updating:
- Project-specific naming conventions
- Your organization's specific requirements
- Environment configurations
- Security and compliance requirements
Step 2: Configure GitHub Copilot to Use the Artifacts
Option A: Using Copilot Chat (Recommended)
-
Open Copilot Chat in VS Code (
Ctrl+Shift+IorCmd+Shift+I) -
Reference the instruction files in your prompts:
For Fabric projects:
@workspace Using the guidance in .github/instructions/fabric-dataops.instructions.md, help me set up Infrastructure as Code for my Fabric projectFor Databricks projects:
@workspace Using the guidance in .github/instructions/databricks-dataops.instructions.md, help me set up Infrastructure as Code for my Databricks project -
Use the prompt files directly:
For Fabric:
@workspace Follow the instructions in .github/prompts/fabric-setup.prompt.md to help me create a new Fabric projectFor Databricks:
@workspace Follow the instructions in .github/prompts/databricks-setup.prompt.md to help me create a new Databricks project
Option B: Manual Reference
- Open the relevant artifact in VS Code
- Copy the prompt or instructions to Copilot Chat
- Customize the prompt with your specific project details
Step 3: Leverage Platform-Specific Artifacts
Microsoft Fabric Workflows
For New Fabric Project Setup:
@workspace I'm starting a new Microsoft Fabric project. Follow the guidance in .github/prompts/fabric-setup.prompt.md to help me set up the project structure, infrastructure, and CI/CD pipelines.
For Fabric Infrastructure as Code:
@workspace Using .github/prompts/fabric-infrastructure.prompt.md, generate Terraform configurations for my Fabric project with these requirements: [describe your specific needs]
For Fabric CI/CD Implementation:
@workspace Help me implement CI/CD pipelines following the patterns in .github/instructions/fabric-cicd.instructions.md for my Azure DevOps project
For Fabric Medallion Architecture:
@workspace Using .github/prompts/fabric-medallion.prompt.md, help me implement a medallion architecture for my data pipeline that processes [describe your data]
Azure Databricks Workflows
For New Databricks Project Setup:
@workspace I'm starting a new Azure Databricks project. Follow the guidance in .github/prompts/databricks-setup.prompt.md to help me set up the project structure, infrastructure, and CI/CD pipelines.
For Databricks Infrastructure as Code:
@workspace Using .github/prompts/databricks-infrastructure.prompt.md, generate Bicep/Terraform configurations for my Databricks lakehouse with Unity Catalog
For Databricks CI/CD Implementation:
@workspace Help me implement CI/CD pipelines following the patterns in .github/instructions/databricks-cicd.instructions.md for my Azure DevOps project
For Databricks Medallion Architecture:
@workspace Using .github/prompts/databricks-medallion.prompt.md, help me implement a medallion architecture with Unity Catalog for processing [describe your data]
Testing Strategy (Both Platforms)
@workspace Following .github/instructions/[platform]-testing.instructions.md, help me implement a comprehensive testing strategy for my [platform] project
Troubleshooting (Both Platforms)
@workspace I'm experiencing [describe issue]. Use .github/prompts/[platform]-troubleshooting.prompt.md to help me diagnose and resolve this problem
Best Practices Review (Both Platforms)
@workspace Review my [platform] project against the checklist in .github/instructions/[platform]-best-practices-checklist.md and identify areas for improvement
Pro Tips for Maximum Effectiveness
1. Combine Artifacts
Use multiple artifacts together for comprehensive guidance:
@workspace Using both .github/instructions/fabric-dataops.instructions.md and .github/instructions/fabric-testing.instructions.md, help me implement a testing strategy that aligns with DataOps best practices
2. Iterative Development
Use the artifacts iteratively as you build your project:
- Start with
fabric-setup.prompt.mdfor initial structure - Use
fabric-infrastructure.prompt.mdfor IaC implementation - Apply
fabric-cicd.instructions.mdfor pipeline setup - Validate with
fabric-best-practices-checklist.md
3. Customize for Your Organization
Modify the artifacts to include:
- Your organization's naming conventions
- Specific security requirements
- Compliance standards
- Preferred tools and technologies
4. Keep Artifacts Updated
- Regularly update the artifacts based on lessons learned
- Incorporate new Fabric features and capabilities
- Share improvements with your team
Common Use Cases
Starting a New Data Platform Project
For Fabric:
# 1. Copy Fabric artifacts to your project
# Copy instruction files
cp /path/to/modern-data-warehouse-dataops/.github/fabric/fabric-dataops.instructions.md .github/instructions/
cp /path/to/modern-data-warehouse-dataops/.github/fabric/fabric-cicd.instructions.md .github/instructions/
cp /path/to/modern-data-warehouse-dataops/.github/fabric/fabric-testing.instructions.md .github/instructions/
cp /path/to/modern-data-warehouse-dataops/.github/fabric/fabric-best-practices-checklist.md .github/instructions/
# Copy prompt files
cp /path/to/modern-data-warehouse-dataops/.github/fabric/fabric-setup.prompt.md .github/prompts/
# 2. In Copilot Chat:
@workspace Follow .github/prompts/fabric-setup.prompt.md to create a new Fabric DataOps project for processing customer analytics data
For Databricks:
# 1. Copy Databricks artifacts to your project
# Copy instruction files
cp /path/to/modern-data-warehouse-dataops/.github/databricks/databricks-dataops.instructions.md .github/instructions/
cp /path/to/modern-data-warehouse-dataops/.github/databricks/databricks-cicd.instructions.md .github/instructions/
cp /path/to/modern-data-warehouse-dataops/.github/databricks/databricks-testing.instructions.md .github/instructions/
cp /path/to/modern-data-warehouse-dataops/.github/databricks/databricks-best-practices-checklist.md .github/instructions/
# Copy prompt files
cp /path/to/modern-data-warehouse-dataops/.github/databricks/databricks-setup.prompt.md .github/prompts/
# 2. In Copilot Chat:
@workspace Follow .github/prompts/databricks-setup.prompt.md to create a new Databricks DataOps project with Unity Catalog for processing real-time sensor data
Implementing CI/CD for Existing Project
For Fabric:
# In Copilot Chat:
@workspace Using .github/instructions/fabric-cicd.instructions.md, help me add CI/CD pipelines to my existing Fabric project that currently has manual deployments
For Databricks:
# In Copilot Chat:
@workspace Using .github/instructions/databricks-cicd.instructions.md, help me add CI/CD pipelines to my existing Databricks project with notebook testing and Unity Catalog deployment
Troubleshooting Platform-Specific Issues
For Fabric:
# In Copilot Chat:
@workspace My Fabric deployment is failing with authentication errors. Use .github/prompts/fabric-troubleshooting.prompt.md to help me diagnose the issue
For Databricks:
# In Copilot Chat:
@workspace My Databricks cluster is experiencing performance issues with Spark jobs. Use .github/prompts/databricks-troubleshooting.prompt.md to help me optimize performance
Architecture Review and Optimization
Cross-Platform:
# In Copilot Chat:
@workspace Review my current data architecture against .github/prompts/databricks-medallion.prompt.md and .github/instructions/databricks-best-practices-checklist.md to identify improvements for migrating from Fabric to Databricks
Learning Resources
To maximize the value of these artifacts, familiarize yourself with the reference implementations in this repository:
Microsoft Fabric Samples
/fabric/fabric_dataops_sample/- Complete end-to-end DataOps implementation/fabric/fabric_ci_cd/- CI/CD pipeline patterns and configurations/fabric/fabric_cicd_gitlab/- GitLab-specific CI/CD examples/fabric/feature_engineering_on_fabric/- Advanced data engineering patterns
Azure Databricks Samples
/databricks/parking_sensors/- Complete end-to-end DataOps implementation with medallion architecture and Unity Catalog/databricks/parking_sensors/infrastructure/- Bicep infrastructure patterns for Databricks and Unity Catalog/databricks/parking_sensors/devops/- Azure DevOps CI/CD pipeline configurations with multi-stage deployment/databricks/parking_sensors/src/- Python package structure and testing patterns for data transformations/databricks/parking_sensors/tests/- Integration testing framework for data pipelines and Great Expectations validation/databricks/parking_sensors/databricks/- Notebook organization and Unity Catalog configuration patterns
Contributing
If you develop additional artifacts or improvements:
- Test them in real Fabric projects
- Document the use cases and benefits
- Follow the same naming and structure conventions
- Submit pull requests to share with the community
Support
For questions about using these artifacts:
- Reference the original sample projects in
/fabric/and/databricks/ - Check the troubleshooting guide in
.github/prompts/fabric-troubleshooting.prompt.mdand.github/prompts/databricks-troubleshooting.prompt.md - Review the documentation links in the instruction files
Happy Engineering!
These artifacts are designed to make GitHub Copilot more effective at helping you implement robust DataOps practices in your Microsoft data platform projects. Whether you're building on Fabric or Databricks, use these as starting points and customize them to fit your specific needs and organizational requirements.