# Lint registry for scripts/lint.py — the extension point.
# Add a lint: append a [[lint]] block. No code changes needed.
# name — shown in the summary table.
# globs — files this lint applies to. A lint whose file type didn't
# command — {skill} expands to this skill's directory; {files} to the
# matched files. If the first token isn't an installed tool,
# the lint is skipped with a warning, never failed.
# required — true: a non-zero exit fails the run. false: advisory.
# note — one line of context, echoed when the lint runs.
globs = [ " **/templates/**/*.md " , " **/recipes/**/*.md " , " **/examples/**/*.mdx " , " **/*-draft.md " ]
command = " python3 {skill}/scripts/check_legal_doc.py {files} "
note = " anti-hallucination citation check (federal/VA fully verified, CA/NY fully verified, other-state generic-tier unverified) + disclaimer presence; run per-file "
globs = [ " **/templates/**/*.md " , " **/recipes/**/*.md " , " **/examples/**/*.mdx " , " **/*-draft.md " ]
command = " python3 {skill}/scripts/check_four_filter.py {files} "
note = " flags superlative/absolute language (willful, egregious, always, never, ...) with no nearby supporting fact "
globs = [ " **/recipes/**/*.md " , " **/examples/**/*.mdx " , " **/examples/**/*.tsx " , " **/*-layout.html " ]
command = " python3 {skill}/scripts/check_print_layout.py {files} "
note = " advisory print-safety heuristics (color-only distinctions, page-break rules); heuristic pattern match, not a full print-render check — treat findings as prompts to review, not a hard gate "