From 07882eb40af978365a7ca801c57794a6083b495c Mon Sep 17 00:00:00 2001 From: Troy Taylor Date: Wed, 8 Oct 2025 09:22:37 -0400 Subject: [PATCH] Fix PR review feedback: Add collection YAML file and remove double fenced code blocks - Add power-bi-development.collection.yml with proper metadata - Remove outer 4-backtick fences from all Power BI files (chatmodes, instructions, prompts) - Files now have only the standard 3-backtick fences for proper GitHub Copilot compatibility --- .../power-bi-development.collection.yml | 53 +++++++++++++++++++ ...ta-modeling-best-practices.instructions.md | 4 +- ...ower-bi-dax-best-practices.instructions.md | 4 +- ...port-design-best-practices.instructions.md | 4 +- prompts/power-bi-dax-optimization.prompt.md | 4 +- .../power-bi-model-design-review.prompt.md | 4 +- ...r-bi-performance-troubleshooting.prompt.md | 4 +- ...er-bi-report-design-consultation.prompt.md | 4 +- 8 files changed, 60 insertions(+), 21 deletions(-) create mode 100644 collections/power-bi-development.collection.yml diff --git a/collections/power-bi-development.collection.yml b/collections/power-bi-development.collection.yml new file mode 100644 index 0000000..5d396ef --- /dev/null +++ b/collections/power-bi-development.collection.yml @@ -0,0 +1,53 @@ +id: power-bi-development +name: Power BI Development +description: Comprehensive Power BI development resources including data modeling, DAX optimization, performance tuning, visualization design, security best practices, and DevOps/ALM guidance for building enterprise-grade Power BI solutions. +tags: [power-bi, dax, data-modeling, performance, visualization, security, devops, business-intelligence] +items: + # Power BI Chat Modes + - path: chatmodes/power-bi-data-modeling-expert.chatmode.md + kind: chat-mode + + - path: chatmodes/power-bi-dax-expert.chatmode.md + kind: chat-mode + + - path: chatmodes/power-bi-performance-expert.chatmode.md + kind: chat-mode + + - path: chatmodes/power-bi-visualization-expert.chatmode.md + kind: chat-mode + + # Power BI Instructions + - path: instructions/power-bi-custom-visuals-development.instructions.md + kind: instruction + + - path: instructions/power-bi-data-modeling-best-practices.instructions.md + kind: instruction + + - path: instructions/power-bi-dax-best-practices.instructions.md + kind: instruction + + - path: instructions/power-bi-devops-alm-best-practices.instructions.md + kind: instruction + + - path: instructions/power-bi-report-design-best-practices.instructions.md + kind: instruction + + - path: instructions/power-bi-security-rls-best-practices.instructions.md + kind: instruction + + # Power BI Prompts + - path: prompts/power-bi-dax-optimization.prompt.md + kind: prompt + + - path: prompts/power-bi-model-design-review.prompt.md + kind: prompt + + - path: prompts/power-bi-performance-troubleshooting.prompt.md + kind: prompt + + - path: prompts/power-bi-report-design-consultation.prompt.md + kind: prompt + +display: + ordering: manual + show_badge: true diff --git a/instructions/power-bi-data-modeling-best-practices.instructions.md b/instructions/power-bi-data-modeling-best-practices.instructions.md index 0bde1e2..5811829 100644 --- a/instructions/power-bi-data-modeling-best-practices.instructions.md +++ b/instructions/power-bi-data-modeling-best-practices.instructions.md @@ -1,4 +1,3 @@ -````instructions --- description: 'Comprehensive Power BI data modeling best practices based on Microsoft guidance for creating efficient, scalable, and maintainable semantic models using star schema principles.' applyTo: '**/*.{pbix,md,json,txt}' @@ -637,5 +636,4 @@ plot_relationship_metadata(relationships) } ``` -Remember: Always validate your model design with business users and test with realistic data volumes and usage patterns. Use Power BI's built-in tools like Performance Analyzer and DAX Studio for optimization and debugging. -```` \ No newline at end of file +Remember: Always validate your model design with business users and test with realistic data volumes and usage patterns. Use Power BI's built-in tools like Performance Analyzer and DAX Studio for optimization and debugging. \ No newline at end of file diff --git a/instructions/power-bi-dax-best-practices.instructions.md b/instructions/power-bi-dax-best-practices.instructions.md index ed8f021..4f017d2 100644 --- a/instructions/power-bi-dax-best-practices.instructions.md +++ b/instructions/power-bi-dax-best-practices.instructions.md @@ -1,4 +1,3 @@ -````instructions --- description: 'Comprehensive Power BI DAX best practices and patterns based on Microsoft guidance for creating efficient, maintainable, and performant DAX formulas.' applyTo: '**/*.{pbix,dax,md,txt}' @@ -793,5 +792,4 @@ RETURN "Result: " & Result & " | Duration: " & Duration & "s" ``` -Remember: Always validate DAX formulas with business users to ensure calculations match business requirements and expectations. Use Power BI's Performance Analyzer and DAX Studio for performance optimization and debugging. -```` \ No newline at end of file +Remember: Always validate DAX formulas with business users to ensure calculations match business requirements and expectations. Use Power BI's Performance Analyzer and DAX Studio for performance optimization and debugging. \ No newline at end of file diff --git a/instructions/power-bi-report-design-best-practices.instructions.md b/instructions/power-bi-report-design-best-practices.instructions.md index 2e15dfd..f7951ee 100644 --- a/instructions/power-bi-report-design-best-practices.instructions.md +++ b/instructions/power-bi-report-design-best-practices.instructions.md @@ -1,4 +1,3 @@ -````instructions --- description: 'Comprehensive Power BI report design and visualization best practices based on Microsoft guidance for creating effective, accessible, and performant reports and dashboards.' applyTo: '**/*.{pbix,md,json,txt}' @@ -750,5 +749,4 @@ Continuous Improvement: - Non-functional mobile interactions ``` -Remember: Always design with your specific users and use cases in mind. Test early and often with real users and realistic data to ensure your reports effectively communicate insights and enable data-driven decision making. -```` \ No newline at end of file +Remember: Always design with your specific users and use cases in mind. Test early and often with real users and realistic data to ensure your reports effectively communicate insights and enable data-driven decision making. \ No newline at end of file diff --git a/prompts/power-bi-dax-optimization.prompt.md b/prompts/power-bi-dax-optimization.prompt.md index 082887b..d148c8b 100644 --- a/prompts/power-bi-dax-optimization.prompt.md +++ b/prompts/power-bi-dax-optimization.prompt.md @@ -1,4 +1,3 @@ -````prompt --- mode: 'agent' description: 'Comprehensive Power BI DAX formula optimization prompt for improving performance, readability, and maintainability of DAX calculations.' @@ -173,5 +172,4 @@ I can also help with: Sales Growth = ([Total Sales] - CALCULATE([Total Sales], PARALLELPERIOD('Date'[Date], -12, MONTH))) / CALCULATE([Total Sales], PARALLELPERIOD('Date'[Date], -12, MONTH)) ``` -This calculates year-over-year sales growth and is used in several report visuals. Current performance is slow when filtering by multiple dimensions." -```` \ No newline at end of file +This calculates year-over-year sales growth and is used in several report visuals. Current performance is slow when filtering by multiple dimensions." \ No newline at end of file diff --git a/prompts/power-bi-model-design-review.prompt.md b/prompts/power-bi-model-design-review.prompt.md index 0428788..c0d9ca9 100644 --- a/prompts/power-bi-model-design-review.prompt.md +++ b/prompts/power-bi-model-design-review.prompt.md @@ -1,4 +1,3 @@ -````prompt --- mode: 'agent' description: 'Comprehensive Power BI data model design review prompt for evaluating model architecture, relationships, and optimization opportunities.' @@ -403,5 +402,4 @@ To request a data model review, provide: - Specific review focus areas or objectives - Available time/resource constraints for implementation -I'll conduct a thorough review following this framework and provide specific, actionable recommendations tailored to your model and requirements. -```` \ No newline at end of file +I'll conduct a thorough review following this framework and provide specific, actionable recommendations tailored to your model and requirements. \ No newline at end of file diff --git a/prompts/power-bi-performance-troubleshooting.prompt.md b/prompts/power-bi-performance-troubleshooting.prompt.md index cde3628..0151585 100644 --- a/prompts/power-bi-performance-troubleshooting.prompt.md +++ b/prompts/power-bi-performance-troubleshooting.prompt.md @@ -1,4 +1,3 @@ -````prompt --- mode: 'agent' description: 'Systematic Power BI performance troubleshooting prompt for identifying, diagnosing, and resolving performance issues in Power BI models, reports, and queries.' @@ -382,5 +381,4 @@ Provide details about your specific Power BI performance issue, including: - Previous troubleshooting attempts - Business requirements and constraints -I'll guide you through systematic diagnosis and provide specific, actionable solutions tailored to your situation. -```` \ No newline at end of file +I'll guide you through systematic diagnosis and provide specific, actionable solutions tailored to your situation. \ No newline at end of file diff --git a/prompts/power-bi-report-design-consultation.prompt.md b/prompts/power-bi-report-design-consultation.prompt.md index e9a3dcb..048faf2 100644 --- a/prompts/power-bi-report-design-consultation.prompt.md +++ b/prompts/power-bi-report-design-consultation.prompt.md @@ -1,4 +1,3 @@ -````prompt --- mode: 'agent' description: 'Power BI report visualization design prompt for creating effective, user-friendly, and accessible reports with optimal chart selection and layout design.' @@ -351,5 +350,4 @@ To get visualization design recommendations, provide: - Brand guidelines and accessibility needs - Specific design challenges or questions -I'll provide comprehensive design recommendations including chart selection, layout design, interaction patterns, and implementation guidance tailored to your specific needs and context. -```` \ No newline at end of file +I'll provide comprehensive design recommendations including chart selection, layout design, interaction patterns, and implementation guidance tailored to your specific needs and context. \ No newline at end of file