[Sprint 10] feat: Create data-review.md command #376

Closed
opened 2026-02-02 06:21:21 +00:00 by lmiranda · 0 comments
Owner

Summary

Create the comprehensive data integrity audit command for human review. Produces detailed reports with all severity levels (FAIL, WARN, INFO).

Wiki Reference: Sprint 10 Implementation

File to Create

plugins/data-platform/commands/data-review.md

Command Specification

description: Audit data integrity, schema validity, and dbt compliance
arguments:
  - name: path
    description: File, directory, or dbt project to audit
    required: true

Behavior

  1. Activates data-advisor agent in review mode
  2. Scans target path for data artifacts (dbt, SQL, Python with db ops)
  3. Runs all check categories at all severity levels
  4. Produces detailed report with actionable recommendations

Output Format

Uses review mode template from data-integrity-audit.md:

  • Header with scope summary
  • Findings grouped by severity (FAIL/WARN/INFO)
  • Category summaries (Schema, Lineage, dbt, PostGIS)
  • Verdict with blocking issue count

Use Cases

  • Before sprint planning: Audit data layer health
  • During code review: Detailed data integrity findings
  • After migrations: Verify schema changes
  • Periodic health checks: Regular infrastructure audits

Dependencies

  • Requires data-advisor.md agent to exist first

Acceptance Criteria

  • Command file created with proper frontmatter
  • Activates agent in review mode
  • All severity levels included in output
  • Detailed report format with category summaries
  • Use cases documented
## Summary Create the comprehensive data integrity audit command for human review. Produces detailed reports with all severity levels (FAIL, WARN, INFO). **Wiki Reference:** [Sprint 10 Implementation](https://gitea.hotserv.cloud/personal-projects/leo-claude-mktplace/wiki/Change-V5.7.0%3A-Data-Platform-Domain-Advisory-%28Sprint-10-Implementation%29) ## File to Create `plugins/data-platform/commands/data-review.md` ## Command Specification ```yaml description: Audit data integrity, schema validity, and dbt compliance arguments: - name: path description: File, directory, or dbt project to audit required: true ``` ## Behavior 1. Activates `data-advisor` agent in review mode 2. Scans target path for data artifacts (dbt, SQL, Python with db ops) 3. Runs all check categories at all severity levels 4. Produces detailed report with actionable recommendations ## Output Format Uses review mode template from `data-integrity-audit.md`: - Header with scope summary - Findings grouped by severity (FAIL/WARN/INFO) - Category summaries (Schema, Lineage, dbt, PostGIS) - Verdict with blocking issue count ## Use Cases - Before sprint planning: Audit data layer health - During code review: Detailed data integrity findings - After migrations: Verify schema changes - Periodic health checks: Regular infrastructure audits ## Dependencies - Requires `data-advisor.md` agent to exist first ## Acceptance Criteria - [ ] Command file created with proper frontmatter - [ ] Activates agent in review mode - [ ] All severity levels included in output - [ ] Detailed report format with category summaries - [ ] Use cases documented
lmiranda added the Type/Feature label 2026-02-02 06:21:21 +00:00
lmiranda added this to the Sprint 10 - Domain Advisory Pattern (data-platform) milestone 2026-02-02 06:21:42 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: personal-projects/leo-claude-mktplace#376