Laravel Blade
Generates Laravel Blade templates for dynamic web applications, streamlining front-end development and accelerating project creation.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add laravel-blade npx -- -y @trustedskills/laravel-blade
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"laravel-blade": {
"command": "npx",
"args": [
"-y",
"@trustedskills/laravel-blade"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The laravel-blade skill enables AI agents to generate, modify, and debug views using Laravel's Blade templating engine. It allows agents to create dynamic user interfaces by injecting data into templates and managing layout structures directly within the codebase.
When to use it
- You need an agent to build or update frontend views for a new Laravel application feature.
- Your agent must refactor existing Blade templates to improve performance or maintainability.
- You require automated generation of dynamic components that render data from your backend models.
- The agent needs to fix syntax errors or logic issues within specific view files.
Key capabilities
- Template Generation: Creates new
.blade.phpfiles with proper structure and syntax. - Dynamic Rendering: Injects variables and loops to display dynamic content like user lists or product catalogs.
- Component Logic: Implements conditional statements and directives (e.g.,
@if,@foreach) for complex UI logic. - Layout Management: Modifies master layouts and includes partial templates to ensure consistency.
Example prompts
- "Create a Blade template for a user profile page that displays the avatar, name, and bio from the database."
- "Refactor this existing Blade view to use Laravel's
@componentdirective instead of raw includes for better reusability." - "Debug why the product list in
products.blade.phpis not rendering when passed an empty collection."
Tips & gotchas
Ensure your AI agent has access to the project's resources/views directory and understands the specific Laravel version being used, as Blade syntax can vary slightly. Always verify that generated templates correctly escape output to prevent potential security vulnerabilities like XSS attacks.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.