# Go Code Review

> Revisión de código Go. Usar al revisar PRs, verificar calidad de código, o identificar problemas potenciales. Use when this capability is needed.

- Skill: `tomevault-io/go-code-review` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/go-code-review`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/go-code-review/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/go-code-review

---


# Skill: go-code-review

Revisión de código Go.

## Cuándo usar este skill

- Al revisar PRs
- Al verificar calidad de código
- Al identificar problemas potenciales

## Checklist de Revisión

### Correctitud
- [ ] ¿El código hace lo que debería?
- [ ] ¿Se manejan todos los casos edge?
- [ ] ¿Los errores se manejan correctamente?
- [ ] ¿Hay race conditions?

### Diseño
- [ ] ¿Sigue los patrones del proyecto?
- [ ] ¿Las interfaces son pequeñas?
- [ ] ¿Se evita duplicación?

### Testing
- [ ] ¿Hay tests para código nuevo?
- [ ] ¿Los tests pasan?

## Patrones a Verificar

### Error Handling
```go
// ✅ BIEN
if err != nil {
    return fmt.Errorf("loading %s: %w", name, err)
}

// ❌ MAL
result, _ := doSomething()
```

### Concurrencia
```go
// ✅ BIEN
func (c *Cache) Get(key string) (Item, bool) {
    c.mu.RLock()
    defer c.mu.RUnlock()
    return c.items[key]
}
```

## Herramientas

```bash
golangci-lint run ./...
go vet ./...
```

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/gofhir) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-13 -->

