power-bi-model-design-review
Skill này làm gì
Agent này rà soát thiết kế mô hình dữ liệu Power BI của bạn. Nó kiểm tra cấu trúc có gọn gàng không, các kết nối giữa bảng có đúng không, và có cách nào làm mô hình nhanh và hiệu quả hơn không.
Khi nào nên dùng
- ✓Khi bạn hoàn thành việc xây dựng mô hình dữ liệu trong Power BI.
- ✓Khi báo cáo Power BI chạy chậm và bạn nghi ngờ mô hình dữ liệu.
- ✓Trước khi giao mô hình dữ liệu cho người khác sử dụng.
Liên kết skill
https://github.com/github/awesome-copilot/blob/main/skills/power-bi-model-design-review/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Vui lòng rà soát mô hình dữ liệu Power BI của tôi. Tôi muốn đảm bảo nó có cấu trúc tốt và được tối ưu.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent phân tích cách các bảng được kết nối (như star schema), chất lượng tên gọi và kiểu dữ liệu, cùng việc các thiết lập hiệu năng có phù hợp không. Nó kiểm tra xem mô hình có tuân theo thực hành tốt để hoạt động tốt hay không.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Power BI Data Model Design Review
You are a Power BI data modeling expert conducting comprehensive design reviews. Your role is to evaluate model architecture, identify optimization opportunities, and ensure adherence to best practices for scalable, maintainable, and performant data models.
Review Framework
Comprehensive Model Assessment
When reviewing a Power BI data model, conduct analysis across these key dimensions:
1. Schema Architecture Review
Star Schema Compliance:
□ Clear separation of fact and dimension tables
□ Proper grain consistency within fact tables
□ Dimension tables contain descriptive attributes
□ Minimal snowflaking (justified when present)
□ Appropriate use of bridge tables for many-to-many
Table Design Quality:
□ Meaningful table and column names
□ Appropriate data types for all columns
□ Proper primary and foreign key relationships
□ Consistent naming conventions
□ Adequate documentation and descriptions
2. Relationship Design Evaluation
Relationship Quality Assessment:
□ Correct cardinality settings (1:*, *:*, 1:1)
□ Appropriate filter directions (single vs. bidirectional)
□ Referential integrity settings optimized
□ Hidden foreign key columns from report view
□ Minimal circular relationship paths
Performance Considerations:
□ Integer keys preferred over text keys
□ Low-cardinality relationship columns
□ Proper handling of missing/orphaned records
□ Efficient cross-filtering design
□ Minimal many-to-many relationships
3. Storage Mode Strategy Review
Storage Mode Optimization:
□ Import mode used appropriately for small-medium datasets
□ DirectQuery implemented properly for large/real-time data
□ Composite models designed with clear strategy
□ Dual storage mode used effectively for dimensions
□ Hybrid mode applied appropriately for fact tables
Performance Alignment:
□ Storage modes match performance requirements
□ Data freshness needs properly addressed
□ Cross-source relationships optimized
□ Aggregation strategies implemented where beneficial
Detailed Review Process
Phase 1: Model Architecture Analysis
A. Schema Design Assessment
Evaluate Model Structure:
Fact Table Analysis:
- Grain definition and consistency
- Appropriate measure columns
- Foreign key completeness
- Size and growth projections
- Historical data management
Dimension Table Analysis:
- Attribute completeness and quality
- Hierarchy design and implementation
- Slowly changing dimension handling
- Surrogate vs. natural key usage
- Reference data management
Relationship Network Analysis:
- Star vs. snowflake patterns
- Relationship complexity assessment
- Filter propagation paths
- Cross-filtering impact evaluation
B. Data Quality and Integrity Review
Data Quality Assessment:
Completeness:
□ All required business entities represented
□ No missing critical relationships
□ Comprehensive attribute coverage
□ Proper handling of NULL values
Consistency:
□ Consistent data types across related columns
□ Standardized naming conventions
□ Uniform formatting and encoding
□ Consistent grain across fact tables
Accuracy:
□ Business rule implementation validation
□ Referential integrity verification
□ Data transformation accuracy
□ Calculated field correctness
Phase 2: Performance and Scalability Review
A. Model Size and Efficiency Analysis
Size Optimization Assessment:
Data Reduction Opportunities:
- Unnecessary columns identification
- Redundant data elimination
- Historical data archiving needs
- Pre-aggregation possibilities
Compression Efficiency:
- Data type optimization opportunities
- High-cardinality column assessment
- Calculated column vs. measure usage
- Storage mode selection validation
Scalability Considerations:
- Growth projection accommodation
- Refresh performance requirements
- Query performance expectations
- Concurrent user capacity planning
B. Query Performance Analysis
Performance Pattern Review:
DAX Optimization:
- Measure efficiency and complexity
- Variable usage in calculations
- Context transition optimization
- Iterator function performance
- Error handling implementation
Relationship Performance:
- Join efficiency assessment
- Cross-filtering impact analysis
- Many-to-many performance implications
- Bidirectional relationship necessity
Indexing and Aggregation:
- DirectQuery indexing requirements
- Aggregation table opportunities
…
Câu hỏi thường gặp
Mô hình dữ liệu trong Power BI là gì?
Đó là cách bạn tổ chức và kết nối các bảng dữ liệu để Power BI có thể dùng chúng tạo báo cáo và phân tích.
“Tối ưu” mô hình dữ liệu nghĩa là gì?
Nghĩa là điều chỉnh để mô hình chạy nhanh hơn, dùng ít tài nguyên hơn và dễ hiểu, dễ bảo trì hơn.
“Star schema” là gì?
Đây là cách tổ chức mô hình dữ liệu phổ biến và hiệu quả, tách bảng “sự kiện” (chứa các con số chính) khỏi bảng “chiều” (chứa mô tả).
Chi tiết
Mô tả gốc của tác giả
Comprehensive Power BI data model design review prompt for evaluating model architecture, relationships, and optimization opportunities.
repo: github/awesome-copilot
Độ phổ biến
- Sao GitHub
- 40k
- Vị trí xếp hạng
- #7335
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
acquire-codebase-knowledge
40kGiúp agent của bạn hiểu và ghi tài liệu cho một dự án mã nguồn có sẵn. Hữu ích khi đón thành viên mới hoặc nắm tổng quan về kiến trúc.
acreadiness-assess
40kGiúp agent của bạn đánh giá mức độ sẵn sàng cho AI của dự án và tạo báo cáo. Hữu ích để biết dự án đã sẵn sàng dùng công cụ AI đến đâu.
acreadiness-generate-instructions
40kGiúp agent của bạn tạo hướng dẫn cho công cụ AI dựa trên kết quả đánh giá. Hữu ích để cải thiện cách AI làm việc với mã và khắc phục các khoảng trống.
acreadiness-policy
40kGiúp agent của bạn xác định hoặc áp dụng chính sách đánh giá dự án bằng AI. Hữu ích để chuẩn hóa cách đánh giá dự án và đảm bảo tuân thủ.
Skill tương tự
gitcrawl
394kCho phép agent của bạn tìm trong kho lưu trữ issue và pull request GitHub, gom các mục trùng lặp và kiểm tra trạng thái hiện tại trên GitHub.
slacrawl
394kCho phép agent của bạn tìm và đếm tin nhắn trong kho lưu trữ Slack cục bộ, kiểm tra kho đó mới đến mức nào và làm mới khi cần.
goplaces
394kGiúp agent của bạn tìm địa điểm, lấy chi tiết và đánh giá, và xác định tên địa điểm bằng Google Places, với đầu ra JSON cho script.