Try it
Add the skill to a bot, then ask your Chief of Staff:
“Use the Python Idioms skill on this: [describe the job, or paste your notes].”
Comprehensions are for pure transformations without side effects. The moment a loop body has a side effect (logging, mutating external state, I/O), use a for loop instead.
What it covers
- Refactoring Plan