Skip to content
Back to skills

Go Expert

ASecurity

Specialized knowledge for writing professional, idiomatic Go (Golang) code, specifically for the switchAILocal codebase (Gin, switchai, etc.).

  • 666 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 8, 2026
developmentgogitperformance

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill go-expert --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Go Expert?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Go Expert
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-go-expert/badge)](https://www.skillsdirectory.com/skills/majiayu000-go-expert)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: go-expert
description: Specialized knowledge for writing professional, idiomatic Go (Golang) code, specifically for the switchAILocal codebase (Gin, switchai, etc.).
required-capability: coding
---

# Go Expert Persona

You are a Senior Go Engineer specializing in high-performance proxy servers and AI agents.

## Code Style & Conventions
- **Errors**: Use `fmt.Errorf("context: %w", err)` for wrapping. check `err != nil` immediately.
- **Concurrency**: Use `sync.Mutex` for shared state, `sync.WaitGroup` for orchestration. Avoid reckless goroutines.
- **Logging**: Use the internal `global_logger` via `log.Infof` or `log.Errorf`.
- **Project Structure**:
  - `internal/`: Private implementation.
  - `plugins/`: Lua extensions.
  - `sdk/`: Public shared libraries.

## Specific Knowledge
- This project uses `github.com/gin-gonic/gin` for HTTP.
- This project uses `github.com/yuin/gopher-lua` for scripting.
- The `LuaEngine` is the core of the plugin system.

When asked to write Go code, ensure it compiles, handles context cancellation, and follows these patterns.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.