Skip to content
Back to skills

Pbi Review

ASecurity

Independent review of SQL, DAX, Power BI semantic models and finished pages for correctness, performance, security and alignment with the approved Design Brief. Use when: auditing SQL, DAX or models, investigating mismatched figures or slow queries, or checking page screenshots before handover. Not: model edits -> pbi-model; page design -> pbi-design; PBIR edits -> pbi-build; routine queries -> pbi-analysis.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
ai-agentssqlsecurityperformance

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 4, 2026

npx -y skills add OPC-VN/agent-data-studio --skill pbi-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pbi Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pbi Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/opc-vn-pbi-review/badge)](https://www.skillsdirectory.com/skills/opc-vn-pbi-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pbi-review
description: "Independent review of SQL, DAX, Power BI semantic models and finished pages for correctness, performance, security and alignment with the approved Design Brief. Use when: auditing SQL, DAX or models, investigating mismatched figures or slow queries, or checking page screenshots before handover. Not: model edits -> pbi-model; page design -> pbi-design; PBIR edits -> pbi-build; routine queries -> pbi-analysis."
metadata:
  group: powerbi
  chain_position: 6
  status: stable
  sources:
    - "agent-data-studio: report review practice"
---

# pbi-review — review độc lập SQL / DAX / model / trang

## Mục đích
Một cặp mắt **không phải người dựng**: soát đúng số, hiệu năng, bảo mật và chuẩn trang trước khi bàn giao
hoặc publish. Kết quả là danh sách phát hiện có mức độ, không phải lời khen chung chung.

## Trước / Sau trong chuỗi

| | Skill | Khi nào |
|---|---|---|
| Trước | [`pbi-build`](../pbi-build/SKILL.md) | Trang đã qua validate/reload/screenshot |
| Sau | [`pbi-publish`](../pbi-publish/SKILL.md) | Không còn Blocker/Major |
| Quay lại | [`pbi-model`](../pbi-model/SKILL.md) · [`pbi-build`](../pbi-build/SKILL.md) | Sửa theo phát hiện |
| Liên quan | [`pbi-analysis`](../pbi-analysis/SKILL.md) | Chạy truy vấn tie-out an toàn |

Agent đọc screenshot độc lập: `agents/pbi-render-reviewer.md` (gốc repo).

## Bắt buộc / Ưu tiên / Tránh
- **Bắt buộc** — kiểm **ngữ nghĩa trước hiệu năng**: chỉ số có tính đúng định nghĩa nghiệp vụ, đúng grain không.
- **Bắt buộc** — tie-out với nguồn tin cậy; lệch số là **Blocker**.
- **Bắt buộc** — mọi phát hiện có mức (Blocker / Major / Minor / Nit) + đề xuất sửa cụ thể.
- **Bắt buộc** — truy vấn kiểm chứng đi qua `execute_dax_*` (policy + audit), không dump dữ liệu.
- **Ưu tiên** — số đo (Performance Analyzer, query plan, thời gian truy vấn) thay cho phán đoán hiệu năng.
- **Ưu tiên** — DAX measure + star schema sạch hơn calculated column "thông minh".
- **Ưu tiên** — soát trang dựa trên **ảnh chụp thật** + Design Brief/kit đã duyệt, không chỉ đọc JSON.
- **Tránh** — tự sửa trong lúc review (review là độc lập; giao lại skill chủ).
- **Tránh** — duyệt khi thiếu input bắt buộc; nói rõ thiếu gì thay vì bịa.

## Đầu vào
Truy vấn / measure / model / trang (thư mục `.Report` + screenshot) · dialect (T-SQL, PostgreSQL, BigQuery,
Snowflake, Spark, DAX) · định nghĩa nghiệp vụ chỉ số (`METRICS_CALCULATION.md`, `DATA_DICTIONARY.md` của dự án
trong Knowledge Dir) · ước lượng khối lượng (số dòng, tần suất refresh, số người xem).
Thiếu tài liệu dự án → vẫn review theo checklist, ghi rõ phần nào không kiểm được.

## Quy trình

| # | Bước | Đọc | Cổng kiểm |
|---|---|---|---|
| 1 | Ngữ nghĩa & tie-out | [review-checklist](references/kpim/review-checklist.md) §A | Số khớp nguồn, hoặc Blocker đã ghi |
| 2 | Đúng đắn SQL / DAX | [review-checklist](references/kpim/review-checklist.md) §B–C | Mỗi lỗi có vị trí + biểu thức thay |
| 3 | Model & hiệu năng | §D · MS `dax-perf-patterns.md`, `dax-perf-decision-guide.md` (skill [`pbi-model`](../pbi-model/SKILL.md)) | Nhận định hiệu năng có số đo |
| 4 | Bảo mật (RLS, PII, quyền) | §E | Không lộ PII thiếu RLS |
| 5 | Trang báo cáo + ảnh chụp | §F · MS `anti-patterns.md`, `pre-flight-checklist.md`, `accessibility.md` (skill [`pbi-design`](../pbi-design/SKILL.md)) · MS `screenshot-review.md` (skill [`pbi-build`](../pbi-build/SKILL.md)) | Lưới/visual/màu/style khớp Brief/kit đã duyệt |
| 6 | Tổng hợp phát hiện theo mức → giao skill chủ sửa | §G + Đầu ra | Không còn Blocker/Major mới cho sang `pbi-publish` |

## Điều kiện DỪNG
Số không khớp nguồn sự thật · model lộ PII không RLS · measure đổi ngữ cảnh âm thầm (`ALL` trên fact không chủ đích)
· trang chưa qua vòng validate/reload/screenshot.

## Tài liệu tham khảo

| File | Đọc khi |
|---|---|
| [references/kpim/review-checklist.md](references/kpim/review-checklist.md) | Mọi lần review — checklist A–G, điều kiện dừng, đầu ra |

Reference Microsoft liên quan nằm ở skill chủ (không chép lần hai):
- [`pbi-design`](../pbi-design/SKILL.md) → `references/microsoft/anti-patterns.md`, `pre-flight-checklist.md`, `accessibility.md`
- [`pbi-build`](../pbi-build/SKILL.md) → `references/microsoft/screenshot-review.md`
- [`pbi-model`](../pbi-model/SKILL.md) → `references/microsoft/dax-perf-patterns.md`, `dax-perf-decision-guide.md`

---
*Nguồn: KPIM practice (quy trình review SQL/DAX/model + chuẩn trang KPIM).*

Files in this skill

  • SKILL.md4.9 KB
  • references/kpim/review-checklist.md4.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.