用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill debug-using-debugbar命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
| Use when this capability is needed.
> Use when this capability is needed.
Review architecture and API design for the vfs-s3 project. Use when the user mentions @architect, asks to review an issue's design, discuss module boundaries, API shape, or architectural decisions for vfs-s3. Also trigger when the user wants to create an ADR (Architecture Decision Record) or evaluate a technical approach for the project. Intended for dispatch from Codex automation or Claude routines; GitHub trigger phrase: @vfs-s3-bot please prepare design doc Use when this capability is needed.
基于 SOC 职业分类
正在显示 SKILL.md
| name | debug-using-debugbar |
| description | > Use when this capability is needed. |
php artisan debugbar:find --issues --max=50
php artisan debugbar:get {id}
php artisan debugbar:get {id} --collector=exceptions
php artisan debugbar:queries {id}
# List recent requests (shows summary with status, duration, memory, query count)
php artisan debugbar:find
# Filter by URI pattern (fnmatch) and/or HTTP method
php artisan debugbar:find --uri="/api/*" --method=POST
# Only show requests with issues (exceptions, slow queries, duplicates, errors)
php artisan debugbar:find --issues --max=50
# Customize issue thresholds (defaults: --min-queries=50, --min-duration=1000, --min-duplicates=2)
php artisan debugbar:find --issues --min-queries=10 --min-duration=500
# Threshold options also work standalone, filtering on just that criteria
php artisan debugbar:find --min-queries=20
--issues flags: exceptions, non-2xx status, high query count, slow queries, duplicate query groups, slow request duration, and failed queries. Issue filtering applies on top of the fetched result set — increase --max to scan further back.
# Summary of all collectors (available collectors depend on config)
php artisan debugbar:get latest
php artisan debugbar:get {id}
# Full data for a specific collector
php artisan debugbar:get {id} --collector=exceptions
Pick the collector by issue type:
exceptions · Slow page → queries, time · Auth → auth, gate · Cache → cache# Overview with duplicate detection and slow query flags
php artisan debugbar:queries {id}
# Backtrace and params for a specific statement
php artisan debugbar:queries {id} --statement=N
# EXPLAIN plan or re-execute a SELECT
php artisan debugbar:queries {id} --statement=N --explain
php artisan debugbar:queries {id} --statement=N --result
Duplicate queries are a strong N+1 signal. Use --statement=N to get the backtrace and find the origin.
debugbar:find --issues rather than debugbar:find — the issue flags surface the most actionable requests immediately.{id} is the request ID from the debugbar:find output, or use latest to inspect the most recent request.debugbar:get shows which collectors have data.--explain and --result only work on SELECT queries. They re-execute against the current database, so results may differ from the original request.debugbar:clear removes all stored data — use it to reset between debugging sessions, not mid-investigation.Source: fruitcake/laravel-debugbar — distributed by TomeVault.