# fix-bug > 提供 fix-bug 的操作流程与约束;适用于 需要根据报错与上下文修复缺陷时使用。 - Author: wildmaker - Repository: wildmaker/skills-sync - Version: 20260122125652 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/wildmaker/skills-sync - Web: https://mule.run/skillshub/@@wildmaker/skills-sync~fix-bug:20260122125652 --- --- name: fix-bug description: 提供 fix-bug 的操作流程与约束;适用于 需要根据报错与上下文修复缺陷时使用。 --- # fix-bug ## What this skill does - 定位并修复问题根因 - 完成后说明修复思路与原因 ## Constraints - 必须找到根本原因,不只做表面修复 - 不臆测错误原因 ## Allowed commands - None ## Steps 1. 阅读报错、日志和相关代码,定位根因。 2. 修改代码并验证修复方向。 3. 用简洁语言解释修复思路与原因。