data-autocleaning

Clean and transform BigQuery and Google Cloud Storage data with Dataplex profiling.

Updated Jun 10, 2026
One-click install
npx skills add https://github.com/AubreyHan/SKILL_Repo --skill data-autocleaning-aubreyhan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: data-autocleaning
Source: https://github.com/AubreyHan/SKILL_Repo/tree/main/data-autocleaning
Command: npx skills add https://github.com/AubreyHan/SKILL_Repo --skill data-autocleaning-aubreyhan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill removes the manual burden of profiling, cleaning, and transforming BigQuery and Google Cloud Storage data so pipelines can be made reliable, schema-aligned, and ready for downstream use.

Core Features & Use Cases

  • Dataplex-first profiling: Uses Dataplex scans to uncover null rates, value distributions, distinct counts, and hidden anomalies before any transformation is finalized.
  • Source-aware cleaning: Handles ingestion, copying, moving, appending, and extraction workflows while applying safe conversions, JSON parsing, array handling, and struct alignment rules.
  • Verification workflow: Rebuilds a temporary output table, profiles the result, and compares it against the source to confirm the cleaning logic fixed the detected issues.
  • Use Case: A data team receives messy BigQuery source tables with inconsistent dates, malformed JSON, and sparse fields; this Skill profiles the data, generates cleansing SQL, and validates that the transformed output improves quality without introducing regressions.

Quick Start

Ask the Skill to profile your BigQuery or GCS source, generate the cleansing SQL, and verify the transformed output with Dataplex.

Frequently Asked Questions about data-autocleaning

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I clean messy BigQuery source tables with inconsistent dates and malformed JSON?

Dataplex profiling scans BigQuery and GCS source tables to detect null rates, value distributions, and hidden anomalies before generating SQL-based cleansing logic. This approach profiles data first, then applies safe conversions and schema mapping to resolve quality issues and produce schema-aligned outputs.

Can I use Dataplex profiling to identify data quality issues before transforming BigQuery tables?

Yes, Dataplex profiling runs first to uncover distinct counts, null rates, and value distributions in BigQuery and GCS data. These profiling results guide the safe SQL-based cleansing transformations, ensuring schema alignment and resolving detected quality issues before finalizing any pipeline changes.

What is the best way to validate that BigQuery data cleaning logic fixed quality issues without regressions?

The best way to validate cleaning logic is rebuilding a temporary output table, profiling the transformed result with Dataplex, and comparing it against the original source. This post-transformation quality review confirms the cleansing SQL fixed detected issues without introducing new data regressions.

Does this approach support schema mapping and struct alignment for BigQuery ingestion workflows?

Yes, the cleaning process handles ingestion, copying, moving, and extraction workflows by applying schema mapping and struct alignment rules. It uses safe SQL conversions, JSON parsing, and array handling to ensure BigQuery and GCS data meets the required schema structure during pipeline validation.

How do I generate cleansing SQL for BigQuery tables with sparse fields and hidden anomalies?

Generate cleansing SQL by running Dataplex scans to profile the source data for sparse fields and hidden anomalies. The Skill then creates safe SQL transformations to parse JSON, handle arrays, and align structs, producing a cleaned, schema-aligned output table ready for downstream use.