一键导入
bugfix
Systematic bug triage protocol. Use when receiving a bug report or unexpected behavior. Follows reproduce→locate→reduce→fix→guard→verify sequence.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Systematic bug triage protocol. Use when receiving a bug report or unexpected behavior. Follows reproduce→locate→reduce→fix→guard→verify sequence.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Creates a formal spec for a new feature or phase. Use when starting any non-trivial implementation work.
Publica padrões reutilizáveis no global-index do claude-memories. Use quando uma solução se provar genuinamente reutilizável em outros projetos.
First-session onboarding for new blank projects. Run automatically when MEMORY.md has no context. Interviews the developer and configures all memory files.
Run after the first spec-create to commit all new files and finalize the transition from template to real project. Creates a clean checkpoint in git history.
Format and validate commit messages following Conventional Commits. Use before any git commit to ensure consistency.
Pre-deploy checklist and procedure. Run before any deploy in any environment. Validates code, environment, migrations and team communication.
| name | bugfix |
| description | Systematic bug triage protocol. Use when receiving a bug report or unexpected behavior. Follows reproduce→locate→reduce→fix→guard→verify sequence. |
| disable-model-invocation | true |
| argument-hint | [bug description] |
When to use: When receiving a bug report or unexpected behavior. Replaces improvisation with a systematic process that avoids fixing symptoms instead of root causes.
Confirm you can reproduce the bug reliably before touching any code.
Identify the layer where the failure occurs:
Isolate the minimum case that still reproduces the problem.
Fix the root cause, not the symptom.
"Does a good programmer refuse to maintain his code?" — Tao of Programming, 5.4
Add the smallest test that would have failed before the fix and passes now.
Confirm end-to-end for the original report:
If at any step something unexpected happens:
Fill when done — record in the spec or directly in lessons.md:
**Bug:** [description in 1 sentence]
**Repro:** [minimum steps to reproduce]
**Expected vs actual:** [expected behavior] / [observed behavior]
**Root cause:** [what was actually wrong]
**Fix:** [what was changed — file:line]
**Regression coverage:** [name of test added]
**Verification:** [command run + result]
**Risk/rollback:** [low|medium|high — how to revert if necessary]
lessons.mddecisions.md