[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-3f0476c1-a4a3-424d-b550-881fc8f91690":3,"$f0O5gCc4GZfjx91o2-Pictn2aIMJuKRz9ChKPdZLwa9c":43},{"id":4,"title":5,"description":6,"categoryId":7,"moduleId":8,"tags":9,"prompt":10,"icon":11,"source":12,"sourceUrl":13,"authorId":14,"authorName":15,"isPublic":16,"stars":17,"runs":18,"createdAt":19,"updatedAt":19,"module":20,"category":27,"packages":34},"3f0476c1-a4a3-424d-b550-881fc8f91690","async-python-patterns","全面指导使用asyncio实现异步Python应用程序，包括并发编程模式和async\u002Fawait构建高性能、非阻塞系统。","cat_life_career","mod_other","sickn33,other","---\nname: async-python-patterns\ndescription: \"Comprehensive guidance for implementing asynchronous Python applications using asyncio, concurrent programming patterns, and async\u002Fawait for building high-performance, non-blocking systems.\"\nrisk: safe\nsource: community\ndate_added: \"2026-02-27\"\n---\n\n# Async Python Patterns\n\nComprehensive guidance for implementing asynchronous Python applications using asyncio, concurrent programming patterns, and async\u002Fawait for building high-performance, non-blocking systems.\n\n## Use this skill when\n\n- Building async web APIs (FastAPI, aiohttp, Sanic)\n- Implementing concurrent I\u002FO operations (database, file, network)\n- Creating web scrapers with concurrent requests\n- Developing real-time applications (WebSocket servers, chat systems)\n- Processing multiple independent tasks simultaneously\n- Building microservices with async communication\n- Optimizing I\u002FO-bound workloads\n- Implementing async background tasks and queues\n\n## Do not use this skill when\n\n- The workload is CPU-bound with minimal I\u002FO.\n- A simple synchronous script is sufficient.\n- The runtime environment cannot support asyncio\u002Fevent loop usage.\n\n## Instructions\n\n- Clarify workload characteristics (I\u002FO vs CPU), targets, and runtime constraints.\n- Pick concurrency patterns (tasks, gather, queues, pools) with cancellation rules.\n- Add timeouts, backpressure, and structured error handling.\n- Include testing and debugging guidance for async code paths.\n- If detailed examples are required, open `resources\u002Fimplementation-playbook.md`.\n\nRefer to `resources\u002Fimplementation-playbook.md` for detailed patterns and examples.\n\n## Resources\n\n- `resources\u002Fimplementation-playbook.md` for detailed patterns and examples.\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n","","imported","https:\u002F\u002Fgithub.com\u002Fsickn33\u002Fantigravity-awesome-skills","user_system_seed","SkillOPIC",true,112,2097,"2026-05-16 13:04:20",{"id":8,"name":21,"slug":22,"icon":23,"description":24,"sort":25,"createdAt":26},"其他","other","mdi-page-next-outline","其他类型Skill",5,"2026-05-16 12:53:40",{"id":7,"name":28,"slug":29,"icon":30,"description":31,"moduleId":8,"sort":32,"skillCount":33,"createdAt":26},"职场发展","career","mdi-briefcase-outline","面试准备、简历优化、职业规划",4,575,[35],{"id":36,"skillId":4,"version":37,"fileName":38,"fileSize":39,"filePath":40,"fileHash":41,"manifest":42,"createdAt":19},"41c61297-4a5d-43d8-829a-28d4dc832da4","1.0.0","async-python-patterns.zip",6350,"uploads\u002Fskills\u002F3f0476c1-a4a3-424d-b550-881fc8f91690\u002Fasync-python-patterns.zip","cb282c8caa3fb42fa52a4f0f1d6af9162a708659e45597f538cd989b0be67696","[{\"path\":\"SKILL.md\",\"isDirectory\":false,\"size\":2038},{\"path\":\"resources\u002Fimplementation-playbook.md\",\"isDirectory\":false,\"size\":17935}]",{"code":44,"message":45,"data":46},200,"success",{"items":47,"stats":48,"page":51},[],{"averageRating":49,"totalRatings":49,"ratingCounts":50},0,[49,49,49,49,49],{"limit":52,"offset":49,"hasMore":53,"nextOffset":52,"ratedOnly":16},15,false]