l2-uniform-drift-remediator

Parse preflight logs and generate dbt commands for L2 uniform schema drift.

3|1|Updated Feb 7, 2025
One-click install
npx skills add https://github.com/thegoodparty/gp-data-platform --skill l2-uniform-drift-remediator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: l2-uniform-drift-remediator
Source: https://github.com/thegoodparty/gp-data-platform/tree/main/.claude/skills/l2-uniform-drift-remediator
Command: npx skills add https://github.com/thegoodparty/gp-data-platform --skill l2-uniform-drift-remediator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the triage and remediation of L2 uniform schema drift, generating safe commands and manual instructions for dbt operations.

Core Features & Use Cases

  • Automated Drift Detection: Triage and remediate L2 uniform schema drift using l2_uniform_schema_preflight output.
  • Manual Instructions: Generate deterministic safe commands and manual instructions for dbt operations.
  • Use Case: When dbt runs fail or L2 PREFLIGHT lines report drift, this Skill parses preflight logs and produces operator-ready next steps.

Quick Start

Run the failure handler with the preflight log file and output directory:

python .claude/skills/l2-uniform-drift-remediator/scripts/dbt_failure_handler.py \
  --log-file /path/to/preflight.log \
  --output-dir /path/to/gp-data-platform/.claude/skills/l2-uniform-drift-remediator/dbt_logs/failure_handler

Frequently Asked Questions about l2-uniform-drift-remediator

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

FAQPage Schema
How do I automate dbt schema drift remediation from preflight logs?

You can automate dbt schema drift remediation by running the Python failure handler script with your preflight log file and an output directory to generate safe commands and manual instructions.

What are safe commands for resolving L2 uniform schema drift in dbt?

Safe commands for L2 uniform schema drift are deterministic dbt operations generated by parsing preflight logs, providing operator-ready next steps to resolve data quality issues without manual guesswork.

Do I need Python and dbt installed to run automated schema drift remediation?

Yes, you need a Python and dbt environment setup to run the automated schema drift remediation script, as it parses dbt preflight logs and generates dbt operations commands.

How do I fix dbt runs that fail due to L2 uniform schema drift?

Fix dbt runs failing from L2 uniform schema drift by passing the preflight log to the failure handler, which triages the drift and outputs deterministic safe commands and manual instructions for operators.

What is L2 uniform schema drift triage in dbt data quality checks?

L2 uniform schema drift triage in dbt is the automated process of parsing preflight log output to detect schema deviations and generating operator-ready instructions to restore data quality.