cancel-async-tasks

Guidance for implementing proper asyncio task cancellation with signal handling in Python. This skill applies when implementing concurrent task runners that need graceful shutdown, handling KeyboardInterrupt/SIGINT in asyncio contexts, or managing task cleanup when using semaphores for concurrency limiting. Use when tasks involve asyncio.gather, CancelledError handling, or cleanup of tasks that haven't started execution.

$ 安裝

git clone https://github.com/letta-ai/skills /tmp/skills && cp -r /tmp/skills/ai/benchmarks/letta/terminal-bench-2/trajectory-feedback/cancel-async-tasks ~/.claude/skills/skills

// tip: Run this command in your terminal to install the skill

Repository

letta-ai
letta-ai
Author
letta-ai/skills/ai/benchmarks/letta/terminal-bench-2/trajectory-feedback/cancel-async-tasks
13
Stars
1
Forks
Updated1w ago
Added1w ago