본문으로 건너뛰기
Skillpedia
API 및 서버 (백엔드)48k · #3830

async-python-patterns

하는 일

Python으로 더 빠르고 효율적인 프로그램을 만들도록 돕는 도구입니다. 특히 멈추지 않고 여러 가지를 동시에 해야 할 때 유용하며, 인터넷이나 데이터베이스처럼 느린 작업을 기다리지 않도록 현대적인 기법을 가르칩니다.

사용하는 경우

  • ✓빠르게 응답하는 웹사이트나 앱을 만들 때.
  • ✓프로그램이 인터넷에서 여러 파일을 동시에 내려받게 할 때.
  • ✓동시에 많은 연결을 처리해야 하는 시스템을 만들 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/async-python-patterns/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/async-python-patterns/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Python 프로그램이 인터넷에서 이미지 100개를 최대한 빨리 내려받게 하려면 어떻게 해야 하나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 ‘비동기 프로그래밍’이라는 개념을 사용합니다. 프로그램이 작업(예: 웹에서 데이터 가져오기)을 시작하고, 기다리는 동안 다른 작업을 시작할 수 있게 합니다. 이는 ‘async’와 ‘await’ 같은 키워드로 이루어집니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Async Python Patterns

Comprehensive guidance for implementing asynchronous Python applications using asyncio, concurrent programming patterns, and async/await for building high-performance, non-blocking systems.

Use this skill when

  • Building async web APIs (FastAPI, aiohttp, Sanic)
  • Implementing concurrent I/O operations (database, file, network)
  • Creating web scrapers with concurrent requests
  • Developing real-time applications (WebSocket servers, chat systems)
  • Processing multiple independent tasks simultaneously
  • Building microservices with async communication
  • Optimizing I/O-bound workloads
  • Implementing async background tasks and queues

Do not use this skill when

  • The workload is CPU-bound with minimal I/O.
  • A simple synchronous script is sufficient.
  • The runtime environment cannot support asyncio/event loop usage.

Instructions

  • Clarify workload characteristics (I/O vs CPU), targets, and runtime constraints.
  • Pick concurrency patterns (tasks, gather, queues, pools) with cancellation rules.
  • Add timeouts, backpressure, and structured error handling.
  • Include testing and debugging guidance for async code paths.
  • If detailed examples are required, open resources/implementation-playbook.md.

Refer to resources/implementation-playbook.md for detailed patterns and examples.

Resources

  • resources/implementation-playbook.md for detailed patterns and examples.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
자주 묻는 질문

‘비동기’란 무엇인가요?

멀티태스킹과 같습니다. 한 작업이 끝날 때까지 기다렸다가 다음 작업을 시작하는 대신, 여러 작업을 시작해 하나가 기다릴 때 다른 작업으로 전환할 수 있습니다.

언제 이것을 사용하지 말아야 하나요?

프로그램이 외부(인터넷, 디스크)를 기다리는 시간이 거의 없이 무거운 계산을 많이 한다면, 또는 간단한 스크립트만 필요하다면 이 도구가 최선의 선택이 아닐 수 있습니다.

실용적인 예시는 어디서 찾을 수 있나요?

`resources/implementation-playbook.md` 파일에 이 패턴들을 적용하는 자세한 예시가 있습니다.

상세 정보

작성자의 원본 설명

Comprehensive guidance for implementing asynchronous Python applications using asyncio, concurrent programming patterns, and async/await for building high-performance, non-blocking systems.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#3830
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬