Lava template linter
Lints Lava templates for unclosed tags, deprecated filters, and n+1 query patterns.
Need a quick read on Lava template linter?
Skim the gist, what it's good for, a real prompt to try, and the gotchas — all distilled from SKILL.md. Cached after the first run.
About this skill
--- name: lava-template-linter version: 1.0.0 description: Lints Lava templates for unclosed tags, deprecated filters, and n+1 query patterns. triggers: - lint this lava template - find lava bugs - check lava performance runtimes: - code tags: - lava - linter - performance ---
# Lava template linter
Static analysis for Lava — catches unclosed `{% if %}` blocks, references to deprecated filters (`Date`, `Format`), n+1 patterns where a `forEach` loops over an attribute that re-queries on each access, and unsafe HTML rendering without `Escape`. Output is a per-line annotation list with severity.
## When to use
- "lint this lava template" - "find lava bugs" - "check lava performance"
## Notes
This skill is published to the Triumph Skills Marketplace. Report issues or request features directly from the skill's page.