lc:blade-audit

Audit Laravel Blade templates for localization, accessibility, and security issues.

12|2|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/edulazaro/laraclaude --skill lc-blade-audit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lc:blade-audit
Source: https://github.com/edulazaro/laraclaude/tree/main/skills/blade-audit
Command: npx skills add https://github.com/edulazaro/laraclaude --skill lc-blade-audit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses technical debt and accessibility gaps in Laravel Blade templates by automating the detection of hardcoded text, missing security directives, and structural code issues.

Core Features & Use Cases

  • Localization Enforcement: Ensures all user-visible text is wrapped in translation helpers.
  • Security & Accessibility: Automatically flags missing CSRF tokens, missing alt attributes, and improper button types.
  • Code Quality: Identifies unused components, duplicate CSS class strings, and dangerous nested Blade interpolation.

Quick Start

Run the blade audit skill to scan all files in the resources views directory and report any issues found.

Frequently Asked Questions about lc:blade-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit Laravel Blade templates for hardcoded strings and localization compliance?

To audit Laravel Blade templates for localization compliance, scan your entire view directory to detect hardcoded user-visible text and ensure all strings are wrapped in translation helpers. The process reports any unwrapped text and provides automated fix suggestions.

What is the best way to find missing CSRF tokens and security vulnerabilities in Blade views?

Finding missing CSRF tokens and security vulnerabilities in Blade views involves scanning the view directory to automatically flag missing security directives. The scan identifies unprotected forms and outputs suggestions to enforce project-wide security standards.

How do I check Blade templates for accessibility violations like missing alt attributes?

Checking Blade templates for accessibility violations requires scanning the view files to identify missing alt attributes and improper button types. The audit operates across the project to report structural syntax errors and accessibility gaps.

Does this Blade code quality audit work on an entire Laravel project directory?

Yes, the Blade code quality audit works on an entire Laravel project directory. It operates across the whole view directory to identify unused components, duplicate CSS class strings, and dangerous nested Blade interpolation.

Why does my Blade template audit report dangerous nested interpolation as a code quality issue?

A Blade template audit reports dangerous nested interpolation because it poses code quality and security risks. Identifying this structural syntax error prevents unintended code execution and helps enforce project-wide coding standards.