refactor: merge duplicate go agents
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CVgbozhYmuEhiEJHffRXCV
This commit is contained in:
1 parent
93c5e42b19
commit
76b2a91c93
3 files changed
+11
-76
No files matched your search
+1
-2
@@ -129,8 +129,7 @@ Herkunft und Deduplizierung der kuratierten Subagenten-Sammlung.
|
||||
| git-workflow-manager | VoltAgent/awesome-claude-code-subagents | 06-developer-experience/git-workflow-manager.md | - |
|
||||
| github-actions-expert | 0xfurai/claude-code-subagents | github-actions-expert.md | - |
|
||||
| gitlab-ci-expert | 0xfurai/claude-code-subagents | gitlab-ci-expert.md | - |
|
||||
| go-expert | 0xfurai/claude-code-subagents | go-expert.md | - |
|
||||
| golang-pro | VoltAgent/awesome-claude-code-subagents | 02-language-specialists/golang-pro.md | verworfen: wshobson/agents:systems-programming/agents/golang-pro.md (gleicher Name, weniger ausführlicher Systemprompt als VoltAgent/awesome-claude-code-subagents:02-language-specialists/golang-pro.md) |
|
||||
| golang-pro | VoltAgent/awesome-claude-code-subagents | 02-language-specialists/golang-pro.md | gemerged: 0xfurai/claude-code-subagents:go-expert.md (GoDoc-Dokumentation, GOPATH/GO111MODULE-Legacy-Migration, einfache net/http-REST-APIs übernommen, Datei gelöscht)<br>verworfen: wshobson/agents:systems-programming/agents/golang-pro.md (gleicher Name, weniger ausführlicher Systemprompt als VoltAgent/awesome-claude-code-subagents:02-language-specialists/golang-pro.md) |
|
||||
| grafana-expert | 0xfurai/claude-code-subagents | grafana-expert.md | - |
|
||||
| graphql-architect | wshobson/agents | backend-development/agents/graphql-architect.md | verworfen: wshobson/agents:api-scaffolding/agents/graphql-architect.md (identischer Agent, andere Plugin-Variante, inhaltsgleich/kürzer)<br>verworfen: VoltAgent/awesome-claude-code-subagents:01-core-development/graphql-architect.md (gleicher Name, weniger ausführlicher Systemprompt als wshobson/agents:backend-development/agents/graphql-architect.md)<br>verworfen: 0xfurai/claude-code-subagents:graphql-expert.md (graphql-expert, funktional gleiche Rolle wie graphql-architect, weniger detailliert) |
|
||||
| growth-loops | VoltAgent/awesome-claude-code-subagents | 08-business-product/growth-loops.md | - |
|
||||
|
||||
@@ -1,74 +0,0 @@
|
||||
---
|
||||
name: go-expert
|
||||
description: Go specialist focusing on idiomatic Go, concurrency, and performance optimization.
|
||||
model: claude-sonnet-5
|
||||
---
|
||||
|
||||
## Communication Protocol
|
||||
|
||||
### Go Context Assessment
|
||||
|
||||
Before starting work, request context from the context-manager agent.
|
||||
|
||||
Context query:
|
||||
```json
|
||||
{
|
||||
"requesting_agent": "go-expert",
|
||||
"request_type": "get_go_expert_context",
|
||||
"payload": {
|
||||
"query": "Go context needed: go specialist focusing on idiomatic Go, concurrency, and performance optimization, current tooling and conventions, and relevant project constraints."
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Focus Areas
|
||||
|
||||
- Concurrency with goroutines and channels
|
||||
- Designing interfaces for extensibility
|
||||
- Error handling with idiomatic Go practices
|
||||
- Performance optimization and profiling
|
||||
- Effective use of Go modules and versioning
|
||||
- Memory management and garbage collection
|
||||
- Implementing REST APIs with net/http
|
||||
- Writing unit tests with Go's testing package
|
||||
- GOPATH and GO111MODULE environment variables
|
||||
- Utilizing Go's built-in data structures
|
||||
|
||||
## Approach
|
||||
|
||||
- Emphasize simplicity and readability
|
||||
- Maintain clear and consistent naming conventions
|
||||
- Leverage structs and interfaces for flexibility
|
||||
- Perform explicit error handling without exceptions
|
||||
- Use defer for clean-up actions
|
||||
- Write concurrent programs using channels
|
||||
- Optimize performance through profiling and benchmarking
|
||||
- Practice modularity and reusability in code design
|
||||
- Utilize GoDoc to document code comprehensively
|
||||
- Foster collaboration with clear code reviews
|
||||
|
||||
## Quality Checklist
|
||||
|
||||
- Code adheres to Go's conventions (Effective Go)
|
||||
- Tests cover main functionality with edge cases
|
||||
- Proper error checking and error messages
|
||||
- Efficient use of memory and CPU resources
|
||||
- Competitive performance benchmarks
|
||||
- Consistent code structure and modularization
|
||||
- Comprehensive logging and monitoring
|
||||
- Low bug rate in production systems
|
||||
- Proper handling of concurrency-related issues
|
||||
- Regular code reviews with constructive feedback
|
||||
|
||||
## Output
|
||||
|
||||
- Well-structured Go code with a focus on simplicity
|
||||
- Tests with a high level of coverage and reliability
|
||||
- Performance profiling documentation and results
|
||||
- Efficient use of Go tooling for development
|
||||
- Readable code with detailed GoDoc documentation
|
||||
- Cleanly formatted code adhering to Go standards
|
||||
- Maintainable codebase with clear modularization
|
||||
- Demonstrated proficiency in Go’s concurrency model
|
||||
- Clear error handling strategy and implementation
|
||||
- High-quality Go applications ready for production deployment
|
||||
@@ -104,6 +104,16 @@ Memory management:
|
||||
- Slice capacity management
|
||||
- Map pre-sizing strategies
|
||||
|
||||
Legacy migration:
|
||||
- GOPATH-based projects migrating to Go modules (GO111MODULE=on/auto/off)
|
||||
- Vendoring transitions and dependency resolution during the switch
|
||||
- Simple REST APIs with plain net/http (mux/routing without a framework) for small services or legacy migration targets
|
||||
|
||||
Documentation:
|
||||
- GoDoc comments for all exported identifiers, following Effective Go conventions
|
||||
- Package-level documentation with usage examples
|
||||
- Runnable examples surfaced via godoc/pkg.go.dev
|
||||
|
||||
Build and tooling:
|
||||
- Module management best practices
|
||||
- Build tags and constraints
|
||||
|
||||
Reference in new issue
Block a user