AGENT SKILL

python-bugfix-helper

Guide Python off-by-one and similar logic bug fixes. Use when asked to find or fix a Python bug.

License 许可
Apache-2.0
最近更新
2026-08-23
Stars
★ 0
Forks
0

01 前言 Front Matter

name
python-bugfix-helper
version
1.0
description
Guide Python off-by-one and similar logic bug fixes. Use when asked to find or fix a Python bug.

03 SKILL.md 正文

Python Bugfix Helper

When asked to find or fix a bug in Python code:

  1. Read the failing test or error message first.
  2. Identify the exact line — focus on off-by-one errors, index bounds, and loop boundary conditions.
  3. Propose the minimal change that fixes the bug without altering surrounding logic.
  4. Confirm the fix by tracing through the corrected code mentally before applying it.

Do not refactor, rename, or reformat code outside the buggy section.

04 同仓库更多 Skills