본문으로 건너뛰기
Skillpedia
일반 코딩48k · #4759

go-concurrency-patterns

하는 일

이 도구는 Go의 동시성 패턴을 이해하고 사용하도록 돕습니다. 프로그램에서 여러 작업을 효율적이고 안전하게 동시에 수행하는 방법을 가르칩니다.

사용하는 경우

  • ✓여러 작업을 동시에 해야 하는 Go 프로그램을 만들 때.
  • ✓조립 라인처럼 병렬로 실행되도록 작업을 정리하고 싶을 때.
  • ✓프로그램의 부분들이 자원을 두고 경쟁하는 오류를 고칠 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/go-concurrency-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/go-concurrency-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에게 요청하는 예시

“채널을 사용해 Go 프로그램이 여러 작업을 동시에 실행하도록 하려면 어떻게 해야 하나요?”

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

작동 방식

도구는 '고루틴'(병렬로 실행되는 작은 프로세스)과 '채널'(통신 파이프)을 사용해 이 작업들을 조율하는 방법을 설명합니다. 충돌을 막기 위한 동기화 도구 사용법도 보여 줍니다.

기술 내용 (원본 SKILL.md)

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

Go Concurrency Patterns

Production patterns for Go concurrency including goroutines, channels, synchronization primitives, and context management.

Use this skill when

  • Building concurrent Go applications
  • Implementing worker pools and pipelines
  • Managing goroutine lifecycles
  • Using channels for communication
  • Debugging race conditions
  • Implementing graceful shutdown

Do not use this skill when

  • The task is unrelated to go concurrency patterns
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.
  • If detailed examples are required, open resources/implementation-playbook.md.

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.
자주 묻는 질문

「고루틴」이란 무엇인가요?

다른 함수를 기다리지 않고 동시에 실행될 수 있는 함수와 같습니다. 가볍고, 프로그램이 여러 일을 동시에 하도록 합니다.

「채널」은 무엇에 쓰나요?

고루틴끼리 데이터를 주고받을 수 있는 파이프와 같습니다. 병렬 작업 사이에서 안전하게 통신하는 데 필수적입니다.

「동기화 기본 요소」란 무엇인가요?

여러 고루틴이 공유하는 자원에 대한 접근을 제어하는 도구입니다. 서로 간섭해 오류(경쟁 상태)를 일으키지 않도록 합니다.

상세 정보

작성자의 원본 설명

Master Go concurrency with goroutines, channels, sync primitives, and context. Use when building concurrent Go applications, implementing worker pools, or debugging race conditions.

repo: sickn33/agentic-awesome-skills

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬