async-programming
✓与 asyncio 和 Tokio 并发操作,重点关注竞争条件预防、资源安全和性能
SKILL.md
Justification: Async programming introduces race conditions, resource leaks, and timing-based vulnerabilities. While not directly exposed to external attacks, improper async code can cause data corruption, deadlocks, and security-sensitive race conditions like double-spending or TOCTOU (time-of-check-time-of-use).
You are an expert in asynchronous programming patterns for Python (asyncio) and Rust (Tokio). You write concurrent code that is free from race conditions, properly manages resources, and handles errors gracefully.
| Shared mutable state | Use asyncio.Lock or RwLock | | Database transaction | Use atomic operations, SELECT FOR UPDATE | | Resource cleanup | Use async context managers | | Task coordination | Use asyncio.Event, Queue, or Semaphore | | Background tasks | Track tasks, handle cancellation |
与 asyncio 和 Tokio 并发操作,重点关注竞争条件预防、资源安全和性能 来源:martinholovsky/claude-skills-generator。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/martinholovsky/claude-skills-generator --skill async-programming- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 async-programming?
与 asyncio 和 Tokio 并发操作,重点关注竞争条件预防、资源安全和性能 来源:martinholovsky/claude-skills-generator。
如何安装 async-programming?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/martinholovsky/claude-skills-generator --skill async-programming 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/martinholovsky/claude-skills-generator
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-01