claude-code-plugin-ref…
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops; use night-market-operations.
Async Python patterns via asyncio and aiohttp for I/O-bound concurrency. Use when adding async APIs, handling concurrent I/O, or debugging async code.
$ npx -y skills add athola/claude-night-market --skill python-async --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/python-asyncContext preview
The summary Claude sees to decide when to auto-load this skill.
Async Python patterns via asyncio and aiohttp for I/O-bound concurrency. Use when adding async APIs, handling concurrent I/O, or debugging async code.
name: python-async description: Async Python patterns via asyncio and aiohttp for I/O-bound concurrency. Use when adding async APIs, handling concurrent I/O, or debugging async code. globs: "**/*.py" alwaysApply: false category: async tags: - python - async - asyncio - concurrency - await - coroutines tools: [] usage_patterns: - async-api-development - concurrent-io - websocket-servers - background-tasks complexity: intermediate model_hint: standard estimated_tokens: 400 progressive_loading: true modules: - modules/basic-patterns.md - modules/concurrency-control.md - modules/error-handling-timeouts.md - modules/advanced-patterns.md - modules/testing-async.md - modules/real-world-applications.md - modules/pitfalls-best-practices.md
asyncio 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:
Load 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`.
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops; use night-market-operations.
States load-bearing decisions, invariants, and weak points. Use when judging a design change. Do not use for gating; use night-market-change-control.
Rebuild the dev environment: uv, Python tiers, pins, traps. Use when onboarding or toolchain breaks. Do not use for daily commands; use night-market-operations.
Classify, gate, and review changes. Use when landing a PR, releasing, or amending rules. Do not use for failure triage; use night-market-debugging-playbook.
Search and record project memory (Discussions, journal, ADRs). Use before re-investigating anything. Do not use for settled battles; see failure-archaeology.
Bind loop 'done' to unfakeable gates. Use to harden egregore/herald loops or promote completion_integrity. Not for QA gates; use night-market-validation-and-qa.