One-click install
npx skills add https://github.com/Aradotso/devtools-skills --skill laravel-devtoolbox-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: laravel-devtoolbox-cli
Source: https://github.com/Aradotso/devtools-skills/tree/main/skills/laravel-devtoolbox-cli
Command: npx skills add https://github.com/Aradotso/devtools-skills --skill laravel-devtoolbox-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Laravel developers struggle to understand how their applications are structured, which routes are unused or unprotected, where SQL inefficiencies occur, and why performance or security issues show up in production.

Core Features & Use Cases

  • Comprehensive Laravel scanning to analyze the overall application health, models, routes, services, and providers from the command line.
  • Deep route and security inspection to find unused routes and detect unprotected endpoints and middleware coverage.
  • Database and performance diagnostics including SQL tracing, N+1/duplicate query detection, slow query detection, and memory/performance analysis, with exportable reports (json/array/count/mermaid) for CI and documentation workflows.

Quick Start

Ask the skill to scan your app for unused routes, unprotected endpoints, SQL duplicates, and performance bottlenecks using the command: php artisan dev:scan --all.

Frequently Asked Questions about laravel-devtoolbox-cli

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

FAQPage Schema
How do I find unused routes and unprotected endpoints in my Laravel application?

You can detect unused routes and unprotected endpoints in your Laravel application by running a CLI-driven deep route and security inspection. The scan identifies middleware coverage gaps and unused route definitions for security hardening.

How do I trace SQL queries and detect N+1 issues in Laravel from the command line?

Tracing SQL queries and detecting N+1 issues in Laravel from the command line involves running database diagnostics. This performance scanner identifies duplicate queries, slow SQL patterns, and memory bottlenecks, generating exportable JSON or Mermaid reports.

Can I generate architecture diagrams for a Laravel application using Artisan commands?

Generating architecture diagrams for a Laravel application via Artisan commands is supported by CLI introspection. The scanner analyzes models, routes, and services, exporting structural visualizations into Mermaid format for documentation.

What is the best way to analyze Laravel application health and performance bottlenecks without a GUI?

Analyzing Laravel application health and performance bottlenecks without a GUI is best achieved through comprehensive CLI scanning. It evaluates models, providers, and memory usage, delivering actionable diagnostics for CI workflows.

Does Laravel CLI application analysis support exportable reports for CI pipelines?

Laravel CLI application analysis fully supports exportable reports for CI pipelines. The scanner outputs diagnostics in JSON, array, count, or Mermaid formats to enable automated architecture documentation and performance tracking.