golang-pro
ما الذي تفعله
هذا الوكيل خبير في لغة Go البرمجية، مع تركيز على الإصدارات الحديثة (1.21 فما فوق). يساعد على بناء برامج فعّالة وسريعة وجاهزة للإنتاج، خاصة تلك التي تحتاج إلى تنفيذ مهام كثيرة في وقت واحد (التزامن).
متى تستخدمها
- ✓عند بناء برامج Go تحتاج إلى أن تكون سريعة وتعالج مهام كثيرة في آن واحد.
- ✓عند تصميم أنظمة Go معقدة، مثل الخدمات المصغّرة.
- ✓عند تحسين أداء برنامج Go موجود.
رابط المهارة
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/golang-pro/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“كيف أحسّن كود Go الخاص بي ليستهلك ذاكرة أقل؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يفهم الوكيل أفضل ممارسات برمجة Go، وكيفية تنفيذ مهام متعددة بأمان بالتزامن، وكيفية جعل الكود أسرع. ويستخدم أدوات تحليل لإيجاد مشكلات الأداء والأمان وإصلاحها.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
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
…
الأسئلة الشائعة
ما هي «concurrency patterns»؟
هي طرق ذكية لجعل البرنامج ينفذ عدة مهام في وقت واحد دون أن تتداخل مع بعضها، مما يجعل كل شيء أسرع.
ماذا يعني «production-ready»؟
يعني أن البرنامج بُني مع مراعاة تشغيله الحقيقي، فهو موثوق وآمن وسهل الصيانة.
هل أحتاج إلى معرفة برمجة Go لاستخدام هذا الوكيل؟
ليس ضرورياً، لكن المعرفة تساعد على فهم الاقتراحات بشكل أفضل. ويمكن للوكيل شرح المفاهيم الأساسية إذا طلبت ذلك.
التفاصيل
الوصف الأصلي من المؤلف
Master Go 1.21+ with modern patterns, advanced concurrency, performance optimization, and production-ready microservices.
الشعبية
- نجوم GitHub
- 48k
- الترتيب
- #4768
- الترخيص
- MIT
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
00-andruia-consultant
48kيساعد وكيلك على بدء مشاريع الذكاء الاصطناعي أو تحسينها. يحلل الكود ويقترح الأدوات ويُعد خطط عمل بالإسبانية.
007
48kيتيح لوكيلك إجراء تدقيقات أمنية ونمذجة التهديدات. مفيد لحماية المشاريع من الهجمات والثغرات الأمنية.
10-andruia-skill-smith
48kيساعد وكيلك على إنشاء أدوات الذكاء الاصطناعي أو تحسينها. يحدد طريقة عملها، ويكتب توثيقها، ويتحقق من بنيتها.
20-andruia-niche-intelligence
48kيتيح لوكيلك إعداد ملخص عن صناعة محددة. مفيد لفهم السياق والقواعد وأنماط الاستخدام والمخاطر لمشروع ما، باستخدام مصادر موثوقة.
مهارات مشابهة
api-connector-builder
280kيبني وكيلك اتصالات API جديدة على النمط الموجود، ويفيد عندما تحتاج إلى تكامل إضافي دون ابتكار طريقة جديدة للعمل.
api-design
280kيساعد وكيلك على تصميم واجهات REST API وفق أفضل الممارسات، ويوضح كيف تتواصل وكيف تُعرض الأخطاء وكيف تُنظَّم البيانات.
backend-patterns
280kيساعد وكيلك على أنماط بنية الخادم وتحسين قاعدة البيانات، ويفيد في بناء الشيفرة التي تعمل على الخادم أو مراجعتها.