context managers .cursorrules prompt files

Context managers in Python simplify resource management by automatically handling setup and cleanup, reducing errors and improving code readability.