Use when asked to review a MR/PR on GitHub or GitLab. Checks for XSS vulnerabilities, validates ARIA attributes and WCAG compliance, identifies render-blocking issues and race conditions, enforces semantic HTML. Produces actionable feedback.
93%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
Reference standards for server-side HTML template review. Generic rules applicable to server-side HTML templating engines (e.g. Twig).
{% include %} tag instead of include() function in Twig. [Suggestion]include() without false as third argument (variable leakage into included template). [Important]|default() for booleans — use ?? (null coalescing); |default() treats false, 0, "", null as empty. [Important]|default('') for non-string fallbacks. [Suggestion]isActive ? 'isActive' : '') — Twig handles falsy natively. [Minor]|e('html'), |e('html_attr'), |e('js')); |raw only when explicitly trusted and sanitized. [Blocking]'Hello ' ~ name). [Suggestion]a, b, e, item1). [Important].twig files). [Minor]