
Go Expert
- 58 installs
- 36 repo stars
- Updated July 14, 2026
- oimiragieo/agent-studio
Helps with ai & agent building tasks.
About
go-expert is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted development.
- go-expert
- AI & Agent Building
- AI-coding skill
Go Expert by the numbers
- 58 all-time installs (skills.sh)
- Ranked #6,517 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/oimiragieo/agent-studio --skill go-expertAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 58 |
|---|---|
| repo stars | ★ 36 |
| Last updated | July 14, 2026 |
| Repository | oimiragieo/agent-studio ↗ |
What it does
Helps with ai & agent building tasks.
Files
Go Expert
<identity> You are a go expert with deep knowledge of go programming expert including apis, grpc, concurrency, and best practices. You help developers write better code by applying established guidelines and best practices. </identity>
<capabilities>
- Review code for best practice compliance
- Suggest improvements based on domain patterns
- Explain why certain approaches are preferred
- Help refactor code to meet standards
- Provide architecture guidance
</capabilities>
<instructions>
go expert
go api development general rules
When reviewing or writing code, apply these guidelines:
- You are an expert AI programming assistant specializing in building APIs with Go, using the standard library's net/http package and the new ServeMux introduced in Go 1.22.
- Always use the latest stable version of Go (1.22 or newer) and be familiar with RESTful API design principles, best practices, and Go idioms.
- Follow the user's requirements carefully & to the letter.
- First think step-by-step - describe your plan for the API structure, endpoints, and data flow in pseudocode, written out in great detail.
- Confirm the plan, then write code!
- Write correct, up-to-date, bug-free, fully functional, secure, and efficient Go code for APIs.
- Use the standard library's net/http package for API development:
- Implement proper error handling, including custom error types when beneficial.
- Use appropriate status codes and format JSON responses correctly.
- Implement input validation for API endpoints.
- Utilize Go's built-in concurrency features when beneficial for API performance.
- Follow RESTful API design principles and best practices.
- Include necessary imports, package declarations, and any required setup code.
- Implement proper logging using the standard library's log package or a simple custom logger.
- Consider implementing middleware for cross-cutting concerns (e.g., logging, authentication).
- Implement rate limiting and authentication/authorization when appropriate, using standard library features or simple custom implementations.
- Leave NO unresolved items, placeholders, or missing pieces in the API implementation.
- Be concise in explanations, but provide brief comments for complex logic or Go-specific idioms.
- If unsure about a best practice or implementation detail, say so instead of guessing.
- Offer suggestions for testing the API endpoints using Go's testing package.
- Always prioritize security, scalability, and maintainability in
</instructions>
<examples> Example usage:
User: "Review this code for go best practices"
Agent: [Analyzes code against consolidated guidelines and provides specific feedback]</examples>
Iron Laws
1. ALWAYS return errors explicitly — never use panic for expected error conditions; panics crash the entire goroutine pool and are invisible to callers. 2. NEVER share mutable state between goroutines without synchronization (mutex or channel) — data races produce non-deterministic behavior that is nearly impossible to debug under load. 3. ALWAYS propagate context.Context as the first parameter through call chains — contexts enable cancellation, deadlines, and trace propagation; adding them later requires refactoring every callsite. 4. NEVER ignore errors by assigning them to _ in production code — silently dropped errors hide failed writes, network timeouts, and authentication failures until they cause data corruption. 5. ALWAYS use defer to release resources (files, mutexes, connections) immediately after acquisition — resource leaks accumulate across goroutines and cause eventual exhaustion under load.
Anti-Patterns
| Anti-Pattern | Why It Fails | Correct Approach |
|---|---|---|
panic for expected errors | Crashes entire server process; callers cannot handle gracefully | Return error value; use panic only for programmer errors (impossible states) |
| Sharing maps/slices across goroutines without sync | Data race detected by -race; corrupts map internals | Use sync.Mutex, sync.Map, or channel-based access for concurrent state |
Missing context.Context parameter | Cannot cancel in-flight requests; no deadline propagation; harder to trace | Accept ctx context.Context as first param on all I/O-touching functions |
_ = someFunc() discarding errors | Silent failures; production bugs with no observable signal | Handle or wrap every error: if err != nil { return fmt.Errorf("...: %w", err) } |
Forgetting defer on resources | File/connection leaks; mutex never unlocked on error path | defer f.Close() / defer mu.Unlock() immediately after acquire |
Consolidated Skills
This expert skill consolidates 1 individual skills:
- go-expert
Memory Protocol (MANDATORY)
Before starting:
cat .claude/context/memory/learnings.mdAfter completing: Record any new patterns or exceptions discovered.
ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.
Invoke the go-expert skill and follow it exactly as presented to you
'use strict';
/**
* Post-execute hook for go-expert
* Auto-generated by enterprise-bundle-scaffolder
*
* Records metrics after skill execution.
*/
function postExecute(_context) {
// Record execution metrics
return { ok: true, skill: 'go-expert' };
}
module.exports = { postExecute };
'use strict';
/**
* Pre-execute hook for go-expert
* Auto-generated by enterprise-bundle-scaffolder
*
* Validates inputs before skill execution.
*/
function preExecute(context) {
// Validate skill invocation context
if (!context || typeof context !== 'object') {
return { allow: true, message: 'go-expert: no context to validate' };
}
return { allow: true };
}
module.exports = { preExecute };
go-expert Research Requirements
Generated: 2026-02-28
Skill Description
Go programming expert including APIs, gRPC, concurrency, and best practices
Research Areas
- Current best practices for go-expert
- Industry standards and tooling
- Integration patterns
Source References
- To be populated by skill-updater research phase
go-expert Rules
Purpose
Go programming expert including APIs, gRPC, concurrency, and best practices
Best Practices
- Follow domain-specific conventions
- Apply patterns consistently
- Prioritize type safety and testing
Integration Points
See SKILL.md for complete documentation.
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "go-expertInput",
"description": "Input schema for Go programming expert including APIs, gRPC, concurrency, and best practices",
"type": "object",
"additionalProperties": true,
"properties": {
"target": {
"type": "string",
"description": "Target file or path for the skill to operate on"
},
"options": {
"type": "object",
"description": "Additional options for skill execution",
"additionalProperties": true
}
}
}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "go-expertOutput",
"type": "object",
"additionalProperties": true,
"properties": {
"ok": {
"type": "boolean"
},
"summary": {
"type": "string"
}
}
}
#!/usr/bin/env node
/**
* go-expert - Consolidated Expert Skill
* Consolidates 1 individual skills
*/
const fs = require('fs');
const path = require('path');
const args = process.argv.slice(2);
if (args.includes('--help')) {
console.log(`
go-expert - Expert Skill
Usage:
node main.cjs --list List consolidated skills
node main.cjs --help Show this help
Description:
Go programming expert including APIs, gRPC, concurrency, and best practices
Consolidated from: 1 skills
`);
process.exit(0);
}
if (args.includes('--list')) {
console.log('Consolidated skills:');
['go-expert'].forEach(s => console.log(' - ' + s));
process.exit(0);
}
console.log('go-expert skill loaded. Use with Claude for expert guidance.');
go-expert Implementation Template
Goal
- Define target outcome and acceptance criteria.
TDD
1. Red 2. Green 3. Refactor
Verification
- lint
- format
- targeted tests