Domains
Forms
Domains
Forms
Mechanism
Breaks down how the skill works and what it produces, so you can quickly judge whether it fits your scenario and value.
When managing Python resources such as database connections, file handles, network sockets, or building streaming responses with accumulated state; also when implementing custom (sync/async) context managers and nested cleanup.
__enter__/__exit__ and __aenter__/__aexit__ protocols@contextmanager/@asynccontextmanager decorators for simple cases__exit__; control exception propagation via return valueDevelopers write deterministic, leak-free Python code where resources are always released even on errors, improving reliability and readability.
Use Cases
A backend developer builds a service that queries PostgreSQL and writes temp files. Using this skill, they implement DatabaseConnection and FileProcessor context managers so connections and temp files are always released, even on error. This eliminates connection leaks and disk clutter, reducing incident rate and manual cleanup toil.
An ML engineer streams large dataset chunks to a client with accumulated state. Applying the streaming-with-state pattern and async context managers from this skill, they ensure sockets and buffers are freed per block and on disconnect. Result: stable memory usage and clean teardown under load or failure.
Skill Relationships
Dependency relationships read as "the upper tier points to the lower tier." The current Skill sits in the middle tier — above are Skills that depend on it, below are Skills it depends on.
Tier 1 · These Skills Use Me
Tier 2 · Current Skill
Tier 3 · I Use These Skills
Browse this skill's relationships within its skillset. Click a node to switch the side panel; use the search box to jump to any skill.
Skill File