| name | language-go |
| description | Go language patterns and best practices. Use when language go guidance is required. |
| allowed-tools | Bash(go version), Bash(golangci-lint) |
| metadata | [object Object] |
Key Execution Capabilities
Code Validation
- Run
go buildfor compilation validation - Execute
golangci-lintfor comprehensive linting - Run tests with
go test - Validate module structure and dependencies
Tool Integration
- Use
golangci-lintfor multi-linter analysis - Leverage
go modfor dependency management - Apply
go fmtandgo vetfor formatting and validation - Execute
go testwith coverage for testing
Execution Context
- Process Go files from filesystem layer
- Generate structured reports with findings
- Create minimal, rule-compliant patches for violations
- Maintain separation between governance rules and execution tools
Error Handling
This skill provides execution-layer error handling for Go code analysis:
- Compilation errors or warnings
- Linting rule violations
- Missing dependencies or tools
- Test failures or coverage issues
Usage Notes
- Always delegate to governance rules for policy decisions
- Focus on concrete tool execution and result processing
- Provide deterministic, tool-first analysis results
- Maintain separation between rule definition and rule application