用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/anasgets111/dotfiles --skill diagnosing-bugs命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | diagnosing-bugs |
| description | Diagnosis loop for hard bugs and performance regressions. Forked for Laravel/Livewire and Quickshell/QML. |
A strict discipline for hard bugs. Stop guessing. Build a loop, form a hypothesis, measure, fix.
CONTEXT.md and ADRs.<REDACTED>) before outputting artifacts. Quote only the specific log lines carrying the signal.If you do not have a tight pass/fail signal that goes red on this specific bug, you will fail. Do not read code to guess. Build the loop.
No bash wrappers for PHP logic.
php artisan tinker --execute="dd(User::find(1)->calculate());"..sh scripts to run quickshell path/to/file.qml or qmlscene. Diff stdout/stderr.qmlls to catch static QML binding errors.dbus-monitor, hyprctl, or journalctl to trace state changes feeding the UI.Watch the loop go red. Confirm it is the user's exact symptom.
Minimize (The Deletion Test for Bugs): Cut inputs, callers, Livewire components, or QML objects one by one. Re-run. Keep only what is load-bearing for the failure. Shrink the hypothesis space.
Before touching the code, state 3-5 falsifiable hypotheses.
Map probes to the hypotheses. Change one variable at a time.
dd(), or Ray.console.log() inside QML, or examine shell stdout.EXPLAIN ANALYZE (Postgres).[DEBUG]. Never "log everything."grep -r "DEBUG" is empty.dd(), console.log() and temporary routes are deleted.