Consult this skill for async Python patterns and concurrency. Use when building async APIs, concurrent systems, I/O-bound applications, implementing rate limiting, async context managers. Do not use when CPU-bound optimization - use python-performance instead. DO NOT use when: testing async code - use python-testing async module.
Provides async Python patterns for building concurrent APIs, I/O-bound applications, and rate-limited systems.
/plugin marketplace add athola/claude-night-market/plugin install minister@claude-night-marketThis skill inherits all available tools. When active, it can use any tool Claude has access to.
modules/advanced-patterns.mdmodules/basic-patterns.mdmodules/concurrency-control.mdmodules/error-handling-timeouts.mdmodules/pitfalls-best-practices.mdmodules/real-world-applications.mdmodules/testing-async.mdasyncio and async/await patterns for Python applications.
import asyncio
async def main():
print("Hello")
await asyncio.sleep(1)
print("World")
asyncio.run(main())
This skill uses progressive loading. Content is organized into focused modules:
modules/basic-patterns.md - Core async/await, gather(), and task managementmodules/concurrency-control.md - Semaphores and locks for rate limitingmodules/error-handling-timeouts.md - Error handling, timeouts, and cancellationmodules/advanced-patterns.md - Context managers, iterators, producer-consumermodules/testing-async.md - Testing with pytest-asynciomodules/real-world-applications.md - Web scraping and database operationsmodules/pitfalls-best-practices.md - Common mistakes and best practicesLoad specific modules based on your needs, or reference all for detailed guidance.
RuntimeError: no current event loop
Use asyncio.run() as the entry point. Avoid get_event_loop() in Python 3.10+.
Blocking call in async context
Move sync I/O to asyncio.to_thread() or loop.run_in_executor().
Tests hang indefinitely
Ensure pytest-asyncio is installed and test functions are decorated with @pytest.mark.asyncio.
Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use for discovering, retrieving, and improving prompts.
Search, retrieve, and install Agent Skills from the prompts.chat registry using MCP tools. Use when the user asks to find skills, browse skill catalogs, install a skill for Claude, or extend Claude's capabilities with reusable AI agent components.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.