debug-using-debugbar
Skill by yungifez
Inspects Laravel requests, queued jobs and Artisan commands using data already captured by Laravel Debugbar. Built for developers debugging errors, slow pages, N+1 queries and slow SQL.
Install debug-using-debugbar
Built from the published package, never by AI.
git clone --depth 1 https://github.com/yungifez/skuul /tmp/skuul && mkdir -p ~/.claude/skills && cp -r /tmp/skuul/.claude/skills/debug-using-debugbar ~/.claude/skills/debug-using-debugbarRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/yungifez/skuul /tmp/skuul && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skuul/.claude/skills/debug-using-debugbar ~/.gemini/antigravity-cli/skills/debug-using-debugbarAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install debug-using-debugbar in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill lets an AI assistant read profiling data that Laravel Debugbar has already stored for a Laravel app. It uses Artisan commands to find requests with issues such as exceptions, non-2xx status codes, high query counts, slow queries, duplicate queries and slow request durations. It can then open a single request, inspect a specific collector, and analyze its SQL statements, including backtraces, EXPLAIN plans and repeated query shapes.
The skill targets developers and AI assistants investigating a bug, a slow page or endpoint, an N+1 query, or a failing SQL statement. It also covers queued jobs and Artisan commands, which Debugbar stores with the methods JOB and CLI. The source says it applies even when the user does not mention Debugbar or profiling.
Written from the project's SKILL.md and checked against it.
What it can do
- debugbar:findLists recent requests with status, duration, memory and query count, with filters for issues, URI, method and thresholds.
- debugbar:getShows a request summary of all collectors, or the full data for one collector such as exceptions or queries.
- debugbar:queriesAnalyzes SQL statements for duplicates, N+1 patterns, slow and failed queries, with backtraces and EXPLAIN.
- JSON outputAdds a --json option to the three read commands for parsing exact numbers and raw collector data.
- Queued job and CLI inspectionFinds stored queued jobs and Artisan commands using the JOB and CLI method filters.
What you need
- Laravel
- fruitcake/laravel-debugbar installed
- Debug mode enabled
- debugbar.storage.enabled set
Try asking
- Find the requests with issues in my Laravel app from the last session
- Check request 42 for N+1 queries and show the source backtrace
- Show the slowest SQL statements from the latest request and explain them
Good to know
- Only works on data Debugbar has already stored; an empty storage means nothing to inspect yet.
- --explain and --result only work on SELECT queries and re-execute against the current database.
- Very large requests are truncated by the Debugbar query limits.
- debugbar:clear removes all stored data.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/debug-using-debugbar/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to debug-using-debugbar
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
debug-using-debugbar: common questions
Does this skill need a running profiler?
No. It reads profiling data that Laravel Debugbar has already captured and stored, so the app must have Debugbar installed with storage enabled.
How does it find N+1 queries?
The queries command reports repeated query shapes with varying bindings, which is the classic N+1 pattern. Detection strips literals from the SQL, so queries differing only by a value count as one shape.
Can it inspect queued jobs and Artisan commands?
Yes. Queued jobs and Artisan commands are stored by Debugbar with the method set to JOB or CLI, and can be listed with debugbar:find using those filters.
How do I install debug-using-debugbar?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is debug-using-debugbar free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is debug-using-debugbar safe to use?
It scores 88 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to debug-using-debugbar?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
