debug-using-debugbar
Skill by fruitcake
Lets an AI assistant investigate Laravel requests by reading profiling data that Laravel Debugbar already stored, using Artisan commands. Aimed at developers debugging slow pages, 500 errors and N+1 queries.
Install debug-using-debugbar
Built from the published package, never by AI.
git clone --depth 1 https://github.com/fruitcake/laravel-debugbar /tmp/laravel-debugbar && mkdir -p ~/.claude/skills && cp -r /tmp/laravel-debugbar/resources/boost/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/fruitcake/laravel-debugbar /tmp/laravel-debugbar && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/laravel-debugbar/resources/boost/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 helps an assistant investigate a Laravel request by reading profiling data that Laravel Debugbar has already captured. 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 durations. It can also inspect a single request, drill into a collector such as exceptions, queries, auth or cache, and read query backtraces, EXPLAIN plans and repeated query shapes.
It also covers queued jobs and Artisan commands, which Debugbar stores with the method JOB or CLI. It is aimed at developers debugging a bug, a slow page or endpoint, an N+1 problem or a 500 error, and at anyone asked to optimize a request. Output can be read as tables or as JSON using the --json flag.
Written from the project's SKILL.md and checked against it.
What it can do
- debugbar:find --issuesLists requests with exceptions, non-2xx status, slow queries, duplicates or slow duration.
- debugbar:getShows a summary of collectors for a request, or the full data for one collector.
- debugbar:queriesShows duplicate groups, repeated query shapes, and SLOW or FAILED statements.
- Query backtracesUses --statement=N to show the backtrace and params for one statement.
- EXPLAIN and re-runUses --explain or --result on SELECT statements to get a plan or re-execute them.
- Queued jobs and CLILists stored queued jobs and Artisan commands with --method=JOB or --method=CLI.
- Request filteringFilters requests by URI pattern, HTTP method and issue thresholds.
- JSON outputAccepts --json on find, queries and get for parseable exact numbers.
What you need
- Laravel with fruitcake/laravel-debugbar installed
- Debug mode enabled
- debugbar.storage.enabled set
Try asking
- Find recent requests with issues and tell me which one is slowest.
- Show the N+1 query problem on the latest request and where it starts.
- Explain the failing SQL statement in request 1234 with its backtrace.
Good to know
- --explain and --result only work on SELECT queries and require --statement=N.
- --explain and --result re-execute against the current database, so results may differ.
- Very large requests are truncated by 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: resources/boost/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
How do I find N+1 queries with this skill?
Check the repeated query shapes section of debugbar:queries, which strips literals and groups the same query with different bindings. The Dup column only counts exact duplicates.
Does it work for queued jobs?
Yes. Queued jobs are stored with the method JOB and can be listed with debugbar:find --method=JOB.
Can the assistant re-run a query?
Yes, with --result on a SELECT statement, but it re-executes against the current database, so results may differ from the original request.
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 86 of 100. Grades: maintenance B, licence A, quality A. 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.
