go-concurrency-patterns – skill Lập trình cho agent AI
Làm chủ lập trình đồng thời trong Go với goroutines, channels, sync primitives và context. Dùng khi xây dựng ứng dụng Go đồng thời, triển khai worker pool hoặc gỡ lỗi race condition.
Cài skill go-concurrency-patterns bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/go-concurrency-patterns-a1b8a.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /go-concurrency-patterns – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/go-concurrency-patterns-a1b8a.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $go-concurrency-patterns – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/go-concurrency-patterns-a1b8a.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /go-concurrency-patterns – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/go-concurrency-patterns-a1b8a.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /go-concurrency-patterns – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
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.mdfor 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.
Skill liên quan
- go-rust-reverse – Dịch ngược binary Go và Rust đã bị strip: nhận diện runtime, khôi phục metadata…
- golang-pro – Làm chủ Go 1.21+ với các mẫu hiện đại, concurrency nâng cao, tối ưu hiệu năng và…
- google-no-code – Thiết kế Google Forms và kết nối trigger Apps Script (onFormSubmit) để gửi cảnh báo…
- graphql-schema – Các mẫu truy vấn, mutation và sinh code GraphQL. Dùng khi tạo thao tác GraphQL, làm việc…
- grok-delegate – Chỉ giao tác vụ lập trình cho Grok Build CLI khi người dùng yêu cầu rõ ràng, trong khi…
- grpc-golang – Xây dựng dịch vụ gRPC sẵn sàng production trong Go với mTLS, streaming và observability…
- hasdata-cli – Truy cập qua dòng lệnh để tìm kiếm, thu thập dữ liệu web và lấy dữ liệu có cấu trúc.
- site-architecture – Khi người dùng muốn kiểm tra, thiết kế lại hoặc lên kế hoạch cấu trúc website, cấu trúc…