← ClaudeAtlas

find-and-alignlisted

Per-finding fix loop for codebase alignment. DETECT → DECIDE → FIX → VERIFY → RECORD. One commit per finding. Net-lines ≤ 0 for structural rows; small + budget for functional rows (added lines must cite idioms). Stack-agnostic. Used by /align-phase, /align-fast.
adnanmokhtar/refract · ★ 1 · Code & Development · score 80
Install: claude install-skill adnanmokhtar/refract
# Skill: find-and-align ## Purpose Drive a single finding through the 5-step fix loop: DETECT → DECIDE → FIX → VERIFY → RECORD. Behaviour-preserving for structural rows; behaviour-changing-but-tested for security / perf rows. This skill is the **fix** half of alignment. The detect half is `detect-drift`. ## When to use - Dispatched by `/align-phase` per row. - Dispatched by `/align-fast` per row (in parallel waves). ## Inputs (precise contract) | Input | Source | Required | |---|---|---| | `row` (single ledger row) | `ai/align/ledger.md` | YES | | `shared_context_blob` (≤ 5K tokens; idioms summary + conventions summary + architecture summary) | Built by orchestrator; passed by reference | YES | | `PROJECT_KIND` | `_extracted-codebase.md § Gold standards` | YES | | Test runner / lint / typecheck commands | `_extracted-idioms.md` / `ai/stack.md` | YES | | Coverage tolerance (default 0.5%) | `ai/conventions.md § Coverage` | NO (defaults applied) | | Per-class detector tool | Project anchors | YES (for re-detect at VERIFY) | Row schema (the input the orchestrator passes per dispatch): ```yaml id: A047 # stable id from scan class: security # one of the 11 universal named classes, or `stack-specific` subclass: missing-auth-gate # optional sub-classification severity: high # security only: low | medium | high | critical scope: [src/routes/admin/export.ts] # fi