$npx skillfedfor your agent

laravel-systematic-debugging

This skill guides you through a four-phase debugging methodology designed to eliminate guesswork when troubleshooting Laravel issues. By enforcing root cause investigation before any fix attempt, it helps you avoid symptom-masking patches that create new problems. The process covers log analysis, Laravel Telescope inspection, data flow tracing, pattern comparison, hypothesis testing, and test-driven implementation.

Laravel Systematic Debugging provides a four-phase structured process to find root causes before fixing any Laravel issue.

AI-generated summary based on this skill's SKILL.md

41 8 MITupdated by iSerter

Decision gist · record as of 2026-04-19

Laravel Systematic Debugging provides a four-phase structured process to find root causes before fixing any Laravel issue. This skill guides you through a four-phase debugging methodology designed to eliminate guesswork when troubleshooting Laravel issues. By enforcing root cause investigation before any fix attempt, it helps you avoid symptom-masking patches that create new problems. The process covers log analysis, Laravel Telescope inspection, data flow tracing, pattern comparison, hypothesis testing, and test-driven implementation.

manual: git clone https://github.com/iSerter/laravel-claude-agents → cp -r laravel-claude-agents/skills/laravel-systematic-debugging ~/.claude/skills/laravel-systematic-debugging
skills/laravel-systematic-debugging/SKILL.md · version 594ca717

Use it when

  • laravel-systematic-debugging enforces a structured four-phase process: (1) Gather—collect logs.
  • laravel-systematic-debugging teaches you to avoid random fixes by following Laravel conventions and testing hypotheses first.

Verify before relying

Read SKILL.md below before installing (1 file). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

iSerter/laravel-claude-agents/laravel-systematic-debugging · repository language: PHP

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How to debug Laravel applications systematically?

laravel-systematic-debugging guides you through a four-phase methodology that eliminates guesswork. Start by gathering context—check logs, inspect Laravel Telescope, and trace data flow. Then isolate the problem by comparing expected vs. actual behavior and forming testable hypotheses. Before applying any fix, create a failing test to verify the issue exists. Finally, implement your fix and confirm tests pass without breaking other code. This approach avoids quick patches that mask symptoms rather than solving root causes.

What's the laravel-systematic-debugging process for root cause investigation?

laravel-systematic-debugging enforces a structured four-phase process: (1) Gather—collect logs, use Telescope to inspect queries and requests, trace data flow through your code; (2) Isolate—compare what you expected vs. what actually happened, form specific hypotheses; (3) Test—write a failing test that reproduces the bug before fixing anything; (4) Fix & Verify—implement your solution and confirm all tests pass. This prevents symptom-masking patches and ensures fixes address actual problems, not just surface errors.

How do I fix Laravel test failures and bugs properly?

laravel-systematic-debugging teaches you to avoid random fixes by following Laravel conventions and testing hypotheses first. When a test fails, don't guess—gather evidence using logs and Telescope, isolate the root cause by comparing expected behavior to actual behavior, then write a test that reproduces the bug. Only after your test fails should you implement a fix. Verify that your fix makes the test pass and doesn't break other tests. This test-driven approach ensures you're solving the real problem, not just making the error go away.

What laravel-systematic-debugging techniques help with Eloquent query debugging?

laravel-systematic-debugging covers Eloquent debugging through structured tracing: use Laravel Telescope to inspect queries and spot N+1 problems, enable query logging to see actual SQL, and use Tinker to test relationships interactively. Trace data flow from your controller through models to understand where queries execute. Form hypotheses about missing eager loads or incorrect relationships, then write tests to verify. This prevents lazy-loading surprises and ensures your queries are optimized before deployment.

How to use Laravel Telescope for debugging?

laravel-systematic-debugging emphasizes Laravel Telescope as a core investigation tool. Telescope captures requests, queries, logs, and exceptions in real time. Use it to inspect Eloquent queries and spot N+1 problems, trace request flow through your application, and review error context. When debugging, open Telescope, reproduce the issue, then examine the captured data—queries show you what's actually running, request tabs show middleware and controller execution, and logs reveal application state. This structured inspection replaces guesswork with concrete evidence.

Why should I avoid quick fixes and follow laravel-systematic-debugging instead?

laravel-systematic-debugging prevents the trap of symptom-masking patches that create new problems. Quick fixes often hide root causes—you silence an error without understanding why it occurred, then face cascading failures later. The systematic approach enforces root cause investigation first: gather evidence, isolate the actual problem, test your hypothesis, then implement a fix. By creating failing tests before fixing, you ensure your solution addresses the real issue and doesn't break other code. This takes slightly longer upfront but saves debugging time and prevents production surprises.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

Systematic Debugging for Laravel

Overview

Random fixes waste time and create new bugs in Laravel applications. Quick patches mask underlying issues.

Core principle: ALWAYS find root cause before attempting fixes. Symptom fixes are failure.

Violating the letter of this process is violating the spirit of debugging.

The Iron Law

NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST

If you haven't completed Phase 1, you cannot propose fixes.

When to Use

Use for ANY Laravel technical issue: - Test failures - Eloquent query issues - Authentication/authorization bugs - Validation failures - Queue job failures - Route errors - Migration issues - N+1 query problems - Performance issues

Use this ESPECIALLY when: - Under time pressure - "Just one quick fix" seems obvious - You've already tried multiple fixes - Previous fix didn't work - You don't fully understand the issue

The Four Phases

You

(truncated - see the full file via the links below)

File tree — 1 file
skills/laravel-systematic-debugging/SKILL.md

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Systematically investigate and resolve Laravel bugs using structured root cause analysis”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

Laravel
by rawveg · rawveg/skillsforge-marketplace

Get expert guidance on Laravel 12.x application development, from foundational concepts like routing and database migrations to advanced patterns including Eloquent relationships, API design, and authentication with Sanctum. This skill covers the full development lifecycle—models, validation, queues, dependency injection, and best practices for building scalable web applications.

no license declared → metadata onlyupdated Feb 2026
★ 39repo stars
laravel-specialist
by Jeffallan · Jeffallan/claude-skills

Laravel Specialist guides you through building production-ready Laravel 10+ applications with type-safe Eloquent models, queue workers, API resources, and Livewire components. It enforces modern PHP 8.2+ patterns, eager loading, dependency injection, and >85% test coverage across feature and unit tests. Use it for architecting database schemas, implementing authentication flows, optimizing queries, and validating code against PSR-12 standards.

MITupdated May 2026
★ 10,759repo stars
eloquent-best-practices
by iSerter · iSerter/laravel-claude-agents

This skill teaches proven patterns for writing efficient Eloquent queries, from eager loading relationships to selecting only needed columns and using query scopes. Learn how to prevent common performance pitfalls like N+1 queries, implement mass assignment protection, and leverage database-level operations for faster data manipulation.

MITupdated Apr 2026
★ 41repo stars
debug
by softspark · softspark/ai-toolkit

Debug helps you trace application issues methodically from symptom to root cause using structured log analysis, error parsing, and hypothesis testing. It enforces a disciplined four-phase workflow: investigate the error completely, analyze patterns in working code, form and test a single hypothesis, then implement the fix—preventing the common trap of patching symptoms instead of solving underlying problems.

Apache-2.0updated Jul 2026
★ 161repo stars
laravel-best-practices
by AsyrafHussin · AsyrafHussin/agent-skills

Laravel Best Practices is a comprehensive reference for building scalable Laravel 13 applications, covering 31 rules organized across architecture, Eloquent patterns, controllers, validation, security, performance, and API design. Use it when structuring applications, creating models and migrations, implementing form requests, or designing APIs. Includes essential patterns for service classes, repositories, form requests, and Eloquent models.

MITupdated May 2026
★ 58repo stars
laravel-specialist
by Pixel-Process-UG · Pixel-Process-UG/superkit-agents

Laravel Specialist guides you through designing and maintaining Laravel applications at production scale. It covers the full ecosystem—Eloquent relationships and query optimization, Blade and Livewire components, queue systems, middleware pipelines, and Pest testing—with a structured five-phase process from context discovery through optimization.

MITupdated Mar 2026
★ 1repo stars

More skills Hunt Laravel (NOASSERTION) · laravel-security (MIT) · php-expert (Apache-2.0) · laravel-api (MIT) · laravel-tdd (MIT) · laravel-tdd (MIT) · systematic-debugging (MIT) · Laravel Dusk (unlicensed)

Tags
root-cause-analysissystematic-troubleshootinghypothesis-testingquery-optimizationframework-conventionserror-investigationdebugging-workflowcode-tracing