Rule Python

F-Strings

Use f-strings for readable string formatting

pythonstringsreadability
CLAUDE.md

Use f-strings for string formatting: f"Hello, {name}" not "Hello, %s" % name or "Hello, {}".format(name). F-strings are faster, more readable, and less error-prone.

Copy this block into your CLAUDE.md or agent config file to enforce it in your workflow.

get crystl