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/)

ArtifactPurposeType
bash.instructions.mdGeneral instructions for bash scriptingInstructions

Microsoft Fabric (/fabric/)

ArtifactPurposeType
fabric-dataops.instructions.mdCore DataOps principles and implementation guidanceInstructions
fabric-setup.prompt.mdInteractive project setup assistantPrompt
fabric-cicd.instructions.mdCI/CD pipeline implementation guideInstructions
fabric-medallion.prompt.mdMedallion architecture implementation helperPrompt
fabric-infrastructure.prompt.mdInfrastructure as Code template generatorPrompt
fabric-testing.instructions.mdTesting strategy and implementation guideInstructions
fabric-troubleshooting.prompt.mdTroubleshooting assistant for common issuesPrompt
fabric-best-practices-checklist.mdComprehensive best practices checklistChecklist

Azure Databricks (/databricks/)

ArtifactPurposeType
databricks-dataops.instructions.mdCore DataOps principles for Databricks with Unity CatalogInstructions
databricks-setup.prompt.mdInteractive Databricks project setup assistantPrompt
databricks-cicd.instructions.mdCI/CD pipeline implementation for DatabricksInstructions
databricks-medallion.prompt.mdMedallion architecture with Unity Catalog implementationPrompt
databricks-infrastructure.prompt.mdInfrastructure as Code for Databricks and Unity CatalogPrompt
databricks-testing.instructions.mdTesting strategy for Databricks projectsInstructions
databricks-troubleshooting.prompt.mdTroubleshooting assistant for Databricks issuesPrompt
databricks-best-practices-checklist.mdComprehensive Databricks best practices checklistChecklist

How to Use These Artifacts in Your Project

Step 1: Choose Your Platform and Copy Artifacts

  1. Create organized directories in your project's .github folder for optimal GitHub Copilot integration:

    mkdir -p .github/instructions
    mkdir -p .github/prompts
    
  2. 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/
    
  3. 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

  1. Open Copilot Chat in VS Code (Ctrl+Shift+I or Cmd+Shift+I)

  2. 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 project
    

    For Databricks projects:

    @workspace Using the guidance in .github/instructions/databricks-dataops.instructions.md, help me set up Infrastructure as Code for my Databricks project
    
  3. 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 project
    

    For Databricks:

    @workspace Follow the instructions in .github/prompts/databricks-setup.prompt.md to help me create a new Databricks project
    

Option B: Manual Reference

  1. Open the relevant artifact in VS Code
  2. Copy the prompt or instructions to Copilot Chat
  3. 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.md for initial structure
  • Use fabric-infrastructure.prompt.md for IaC implementation
  • Apply fabric-cicd.instructions.md for 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:

  1. Test them in real Fabric projects
  2. Document the use cases and benefits
  3. Follow the same naming and structure conventions
  4. 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.md and .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.