python-resource-management
✓Python resource management with context managers, cleanup patterns, and streaming. Use when managing connections, file handles, implementing cleanup logic, or building streaming responses with accumulated state.
Installation
SKILL.md
Manage resources deterministically using context managers. Resources like database connections, file handles, and network sockets should be released reliably, even when exceptions occur.
The with statement ensures resources are released automatically, even on exceptions.
Return True from exit to suppress exceptions, False to propagate them.
Python resource management with context managers, cleanup patterns, and streaming. Use when managing connections, file handles, implementing cleanup logic, or building streaming responses with accumulated state. Source: wshobson/agents.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/wshobson/agents --skill python-resource-management- Source
- wshobson/agents
- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-09
- Updated
- 2026-02-18
Quick answers
What is python-resource-management?
Python resource management with context managers, cleanup patterns, and streaming. Use when managing connections, file handles, implementing cleanup logic, or building streaming responses with accumulated state. Source: wshobson/agents.
How do I install python-resource-management?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/wshobson/agents --skill python-resource-management Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/wshobson/agents
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-09