Skip to content
Agentmart
Submit a tool

experto-go

Patrones Go de concurrencia con goroutines y channels, servicios gRPC, microservicios y buenas practicas de produccion.

Skill by tontojil

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/tontojil-experto-go

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Patrones Go de concurrencia con goroutines y channels, servicios gRPC, microservicios y buenas practicas de produccion. (Go, goroutines, gRPC, microservices)

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/experto-go

What's inside

Skill name
experto-go
Description
Patrones Go de concurrencia con goroutines y channels, servicios gRPC, microservicios y buenas practicas de produccion. (Go, goroutines, gRPC, microservices)
License
MIT
Instructions
293 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

## Cuando usar

Usa esta skill para microservicios en Go, concurrencia con goroutines/channels y gRPC.
Cubre worker pools, fan-out/fan-in, rate limiter, context, HTTP server y errores.
Para REST/OpenAPI, Docker/K8s o CI/CD usa `diseno-api`, `experto-docker` o `patrones-despliegue`.
No uses esta skill fuera del stack Go.

## Project Structure

```
service/
├── cmd/
│   └── server/
│       └── main.go           # Entry point
├── internal/
│   ├── handler/              # HTTP/gRPC handlers
│   ├── service/              # Business logic
│   ├── repository/           # Data access
│   ├── model/                # Domain models
│   └── config/               # Configuration
├── pkg/                      # Public reusable packages
├── api/
│   └── proto/                # Protobuf definitions
├── migrations/
├── go.mod
└── go.sum
```

## Concurrency Patterns

### Worker Pool

```go
func processItems(ctx context.Context, items []Item) error {
    const maxWorkers = 10

    g, ctx := errgroup.WithContext(ctx)
    itemsCh := make(chan Item)

    // Producer
    g.Go(func() error {
        defer close(itemsCh)
        for _, item := range items {
            select {
            case <-ctx.Done():
                return ctx.Err()
            case itemsCh <- item:
            }
        }
        return nil
    })

    // Workers
    for i := 0; i < maxWorkers; i++ {
        g.Go(func() error {
            for item := range itemsCh {
                if err := process(ctx, item); err != nil {
                    return err
                }
            }
            return nil
        })
    }

    return g.Wait()
}
```

### Fan-Out/Fan-In

```go
func fanOutFanIn(ctx context.Context, input <-chan Data, workers int) <-chan Result {
    results := make(chan Result)
    var wg sync.WaitGroup

    for i := 0; i < workers; i++ {
        wg.Add(1)
        go func() {
            defer wg.Done()
            for data := range input {
                select {
                case <-ctx.Done():
                    return
                case results <- transform(data):
                }
            }
        }()
    }

    go func() {
        wg.Wait()
        close(results)
    }()

    return results
}
```

### Rate Limiter

```go
type RateLimiter struct {
    ticker *time.Ticker
    tokens chan struct{}
}

func NewRateLimiter(rps int) *RateLimiter {
    rl := &RateLimiter{
        ticker: time.NewTicker(time.Second / time.Duration(rps)),
        tokens: make(chan struct{}, rps),
    }
    go func() {
        for range rl.ticker.C {
            select {
            case rl.tokens <- struct{}{}:
            default:
            }
        }
    }()

From tontojil/PerfeckCode, MIT.

More from tontojil/PerfeckCode

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Sep 13, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from tontojil

Cite this page

experto-go skill. Agent Mart. https://agentmart.dev/skills/tontojil-experto-go (last updated 2026-10-24)