# 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.
# user_story_generator.py, okr_cascade_generator.py, rice_prioritizer.py,
# customer_interview_analyzer.py are generative tools, not file-change
# validators — they stay separate SKILL.md entrypoints.
globs = ["**/prd*.md", "**/*-prd.md", "**/product-spec*.md"]
command = "python3 {skill}/scripts/check_prd.py {files}"
note = "Problem/Goals/Requirements/Success-Metrics/Scope/Open-Questions all present and non-empty"