Lint and Fix

SkillDev tools

Automated linting and fixing loop using `make lint`. Use when you need to resolve linter violations across the codebase.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Lint and Fix skill

What this skill tells your AI

The instructions your AI receives, as published by ubie-oss/dbt-data-privacy in .claude/skills/lint-and-fix/SKILL.md and read by ahel’s review.

Purpose

This skill provides an autonomous loop to identify, fix, and verify linter violations in the codebase using the project's make lint command (which runs pre-commit).

Loop Logic

  1. Identify: Run make lint from the workspace root to list current violations.
  2. Analyze: Examine the linter output to understand which files and rules are failing.
  3. Fix: Apply targeted fixes for the identified violations.
    • Many linters in pre-commit (like black, ruff, prettier) can auto-fix issues.
    • If pre-commit auto-fixes files, review the changes.
    • If manual fixes are required, apply the minimum necessary change to resolve each error.
  4. Verify: Re-run make lint.
    • If all checks pass: Termination.
    • If new or remaining failures exist: Analyze the failure and repeat the loop.

Termination Criteria

  • make lint exits with code 0 (all checks passed).
  • Reached max iteration limit of 5 attempts.
  • No progress being made (same errors persisting despite fix attempts).

Examples

Scenario: Fixing formatting and imports

  1. make lint fails with ruff and black errors.
  2. Agent runs make lint again (some linters auto-fix).
  3. Agent reviews auto-fixed changes.
  4. make lint passes.

Signals

GitHub stars
22
Forks
2
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
lint-and-fix
Source
github.com/ubie-oss/dbt-data-privacy