with one click
next-opt
在 Python 中手动驱动生成器或迭代器时,优先使用 for 循环;必须手动推进时,优先使用带默认值的 next(),避免在热路径中用 try/except StopIteration 作为常态结束判断。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.