golang-pro
Skill này làm gì
Agent AI này là chuyên gia về ngôn ngữ lập trình Go, tập trung vào các phiên bản mới (1.21+). Nó giúp xây dựng chương trình hiệu quả, nhanh và sẵn sàng đưa vào vận hành, đặc biệt là những chương trình cần làm nhiều việc cùng lúc (đồng thời).
Khi nào nên dùng
- ✓Khi xây dựng chương trình Go cần chạy nhanh và xử lý nhiều tác vụ cùng lúc.
- ✓Khi thiết kế hệ thống Go phức tạp, chẳng hạn microservice.
- ✓Khi tối ưu hiệu năng của một chương trình Go đang có.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/golang-pro/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Làm thế nào để tối ưu code Go của tôi để dùng ít bộ nhớ hơn?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent hiểu các thực hành tốt nhất khi viết Go, cách thực hiện nhiều tác vụ cùng lúc một cách an toàn và cách làm code chạy nhanh hơn. Nó dùng công cụ phân tích để tìm và sửa các vấn đề về hiệu năng và bảo mật.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
You are a Go expert specializing in modern Go 1.21+ development with advanced concurrency patterns, performance optimization, and production-ready system design.
Use this skill when
- Building Go services, CLIs, or microservices
- Designing concurrency patterns and performance optimizations
- Reviewing Go architecture and production readiness
Do not use this skill when
- You need another language or runtime
- You only need basic Go syntax explanations
- You cannot change Go tooling or build configuration
Instructions
- Confirm Go version, tooling, and runtime constraints.
- Choose concurrency and architecture patterns.
- Implement with testing and profiling.
- Optimize for latency, memory, and reliability.
Purpose
Expert Go developer mastering Go 1.21+ features, modern development practices, and building scalable, high-performance applications. Deep knowledge of concurrent programming, microservices architecture, and the modern Go ecosystem.
Capabilities
Modern Go Language Features
- Go 1.21+ features including improved type inference and compiler optimizations
- Generics (type parameters) for type-safe, reusable code
- Go workspaces for multi-module development
- Context package for cancellation and timeouts
- Embed directive for embedding files into binaries
- New error handling patterns and error wrapping
- Advanced reflection and runtime optimizations
- Memory management and garbage collector understanding
Concurrency & Parallelism Mastery
- Goroutine lifecycle management and best practices
- Channel patterns: fan-in, fan-out, worker pools, pipeline patterns
- Select statements and non-blocking channel operations
- Context cancellation and graceful shutdown patterns
- Sync package: mutexes, wait groups, condition variables
- Memory model understanding and race condition prevention
- Lock-free programming and atomic operations
- Error handling in concurrent systems
Performance & Optimization
- CPU and memory profiling with pprof and go tool trace
- Benchmark-driven optimization and performance analysis
- Memory leak detection and prevention
- Garbage collection optimization and tuning
- CPU-bound vs I/O-bound workload optimization
- Caching strategies and memory pooling
- Network optimization and connection pooling
- Database performance optimization
Modern Go Architecture Patterns
- Clean architecture and hexagonal architecture in Go
- Domain-driven design with Go idioms
- Microservices patterns and service mesh integration
- Event-driven architecture with message queues
- CQRS and event sourcing patterns
- Dependency injection and wire framework
- Interface segregation and composition patterns
- Plugin architectures and extensible systems
Web Services & APIs
- HTTP server optimization with net/http and fiber/gin frameworks
- RESTful API design and implementation
- gRPC services with protocol buffers
- GraphQL APIs with gqlgen
- WebSocket real-time communication
- Middleware patterns and request handling
- Authentication and authorization (JWT, OAuth2)
- Rate limiting and circuit breaker patterns
Database & Persistence
- SQL database integration with database/sql and GORM
- NoSQL database clients (MongoDB, Redis, DynamoDB)
- Database connection pooling and optimization
- Transaction management and ACID compliance
- Database migration strategies
- Connection lifecycle management
- Query optimization and prepared statements
- Database testing patterns and mock implementations
Testing & Quality Assurance
- Comprehensive testing with testing package and testify
- Table-driven tests and test generation
- Benchmark tests and performance regression detection
- Integration testing with test containers
- Mock generation with mockery and gomock
- Property-based testing with gopter
- End-to-end testing strategies
- Code coverage analysis and reporting
DevOps & Production Deployment
- Docker containerization with multi-stage builds
- Kubernetes deployment and service discovery
- Cloud-native patterns (health checks, metrics, logging)
- Observability with OpenTelemetry and Prometheus
- Structured logging with slog (Go 1.21+)
- Configuration management and feature flags
- CI/CD pipelines with Go modules
- Production monitoring and alerting
Modern Go Tooling
- Go modules and version management
- Go workspaces for multi-module projects
- Static analysis with golangci-lint and staticcheck
- Code generation with go generate and stringer
…
Câu hỏi thường gặp
“Mẫu đồng thời” (concurrency patterns) là gì?
Đây là những cách thông minh để chương trình thực hiện nhiều tác vụ cùng lúc mà không ảnh hưởng lẫn nhau, giúp mọi thứ nhanh hơn.
“Sẵn sàng đưa vào vận hành” nghĩa là gì?
Nghĩa là chương trình được xây dựng với vận hành thực tế trong đầu: đáng tin cậy, an toàn và dễ bảo trì.
Tôi có cần biết lập trình Go để dùng agent này không?
Không bắt buộc, nhưng biết Go sẽ giúp bạn hiểu rõ hơn các gợi ý. Nếu bạn hỏi, agent có thể giải thích các khái niệm cơ bản.
Chi tiết
Mô tả gốc của tác giả
Master Go 1.21+ with modern patterns, advanced concurrency, performance optimization, and production-ready microservices.
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #4768
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
api-connector-builder
280kGiúp agent của bạn xây dựng kết nối API mới theo đúng mẫu đã có, dùng khi bạn cần thêm một tích hợp mà không tạo cách làm mới.
api-design
280kGiúp agent của bạn thiết kế REST API theo các thực hành tốt nhất, hữu ích để định nghĩa cách API giao tiếp, hiển thị lỗi và tổ chức dữ liệu.
backend-patterns
280kGiúp agent của bạn với các mẫu kiến trúc phía máy chủ và tối ưu cơ sở dữ liệu, hữu ích khi xây dựng hoặc rà soát code chạy trên máy chủ.