eduardo-sl

39 mods across 2 repositories, 75 stars between them.

eduardo-sl/go-agent-skills

Instructions file CodexOpenCode

Instructions for eduardo-sl/go-agent-skills, covering guidance for ai coding agents, project context, repository structure, when modifying skills and when creating new skills.

69 14d ago A 1,131 tokens original MIT

go-api-design

06

eduardo-sl/go-agent-skills

Skill Claude CodeCodex

REST and gRPC API design patterns for Go services. Covers HTTP handlers, middleware, routing, request/response patterns, versioning, pagination, graceful shutdown, and OpenAPI documentation. Use when designing APIs, writing HTTP handlers, implementing middleware, structuring REST endpoints, or setting up gRPC…

69 14d ago A 120 tokens original MIT

go-cli

08

eduardo-sl/go-agent-skills

Skill Claude CodeCodex

Build command-line tools in Go: flag handling, subcommands, stdin/stdout discipline, exit codes, signal handling, and when Cobra/Viper earn their weight over the standard library. Use when: "build a CLI", "add a subcommand", "parse flags", "exit codes", "handle Ctrl+C", "cobra command", "read from stdin", "CLI UX".…

69 14d ago A 105 tokens original MIT

eduardo-sl/go-agent-skills

Skill Claude CodeCodex

Dependency injection in Go: constructor injection, wiring in main, avoiding global state, and when frameworks (wire, fx, dig) earn their complexity. Use when: "dependency injection", "wire up dependencies", "inject this", "remove global state", "singleton in Go", "use google/wire", "uber fx", "make this testable". Not…

69 14d ago A 104 tokens original MIT

go-design-patterns

10

eduardo-sl/go-agent-skills

Skill Claude CodeCodex

Idiomatic Go design patterns: functional options, builder, factory, strategy, middleware chain, pub/sub, and other patterns adapted for Go's type system. Use when: "design pattern", "functional options", "builder pattern", "factory pattern", "strategy pattern", "middleware chain", "option pattern", "how to structure…

69 14d ago A 99 tokens original MIT

go-graphql

11

eduardo-sl/go-agent-skills

Skill Claude CodeCodex

Build GraphQL servers in Go with gqlgen: schema-first generation, resolver structure, the N+1 problem and dataloaders, complexity and depth limits, error presentation, field-level authorization, and testing resolvers. Use when implementing or reviewing a GraphQL API, when a query fans out into hundreds of database…

69 14d ago A 142 tokens original MIT

go-grpc

12

eduardo-sl/go-agent-skills

Skill Claude CodeCodex

Skill "go-grpc" from eduardo-sl/go-agent-skills, covering go grpc services, 1. proto design rules, 2. errors: status codes, not strings, 3. deadlines are mandatory and 4. interceptors for cross-cutting concerns.

69 14d ago A 109 tokens original MIT

go-interface-design

13

eduardo-sl/go-agent-skills

Skill Claude CodeCodex

Go interface design patterns: implicit interfaces, consumer-side definition, interface compliance verification, composition, the accept-interfaces-return-structs principle, and common pitfalls. Use when designing interfaces, decoupling packages, defining contracts, reviewing interface usage, or refactoring for…

69 14d ago A 104 tokens original MIT

go-openapi

14

eduardo-sl/go-agent-skills

Skill Claude CodeCodex

Spec-first REST development in Go with OpenAPI: generating server interfaces and clients with oapi-codegen, request validation middleware, RFC 9457 error bodies, contract testing, and detecting breaking API changes. Use when the API has or should have an OpenAPI document, when wiring code generation into the build, or…

69 14d ago A 149 tokens original MIT

go-project-layout

15

eduardo-sl/go-agent-skills

Skill Claude CodeCodex

Scaffold new Go projects and services: directory structure, cmd/ and internal/ conventions, when to use a flat layout, module naming, and main package wiring. Use when: "new Go project", "scaffold a service", "create project structure", "start a Go module", "how do I organize a new service", "set up folder structure".…

69 14d ago A 105 tokens original MIT

go-code-review

16

eduardo-sl/go-agent-skills

Skill Claude CodeCodex

Structured code review process for Go. Reviews should be constructive, specific, and cite the relevant principle behind each finding.

69 14d ago A 5 tokens original MIT

go-coding-standards

17

eduardo-sl/go-agent-skills

Skill Claude CodeCodex

Go coding standards and style conventions grounded in Effective Go, Go Code Review Comments, and production-proven idioms. Use when writing or reviewing Go code, enforcing naming conventions, import ordering, variable declarations, struct initialization, or formatting rules. Trigger examples: "check Go style", "fix…

69 14d ago A 99 tokens original MIT

go-context

18

eduardo-sl/go-agent-skills

Skill Claude CodeCodex

Correct usage of context.Context in Go: propagation, cancellation, timeouts, deadlines, values, and common anti-patterns. Use when: "context usage", "context.Context", "context cancellation", "timeout", "context.WithTimeout", "context.WithCancel", "context values", "context propagation". Not for: concurrency beyond…

69 14d ago A 91 tokens original MIT

go-data-structures

19

eduardo-sl/go-agent-skills

Skill Claude CodeCodex

Correct use of Go's built-in data structures: slices (nil vs empty, append semantics, aliasing, preallocation), maps (comma-ok, sets, iteration order), arrays, and choosing between them. Use when: "slice vs array", "nil slice", "empty slice", "preallocate", "map iteration", "use a set in Go", "slice aliasing", "append…

69 14d ago A 128 tokens original MIT

go-documentation

20

eduardo-sl/go-agent-skills

Skill Claude CodeCodex

Go documentation conventions: godoc comments, package docs, testable Example functions, deprecation notices, and doc links. Use when: "add godoc", "document this package", "write doc comments", "add examples to docs", "deprecate a function", "package documentation", "improve the docs". Not for: commit messages…

69 14d ago A 97 tokens original MIT

go-error-handling

21

eduardo-sl/go-agent-skills

Skill Claude CodeCodex

Go error handling patterns, wrapping, sentinel errors, custom error types, and the errors package. Grounded in Effective Go, Go Code Review Comments, and production-proven idioms. Use when implementing error handling, designing error types, debugging error chains, or reviewing error handling patterns. Trigger…

69 14d ago A 111 tokens original MIT

go-modernize

22

eduardo-sl/go-agent-skills

Skill Claude CodeCodex

Modernize Go code to use current language features and standard library additions. Covers generics, log/slog, errors.Join, slices/maps packages, range-over-func, and iterators introduced in Go 1.21-1.23+. Use when: "modernize", "update to modern Go", "use generics", "replace interface{}", "upgrade Go version", "slog"…

69 14d ago A 126 tokens original MIT

go-database

23

eduardo-sl/go-agent-skills

Skill Claude CodeCodex

Database patterns for Go services: database/sql, connection management, transactions, migrations, query builders, and ORM usage (sqlc, GORM, ent). Use when: "database access", "SQL query", "connection pool", "transactions", "database migration", "sqlc", "GORM", "ent", "prepared statement", "repository pattern". Not…

69 14d ago A 103 tokens original MIT

eduardo-sl/go-agent-skills

Skill Claude CodeCodex

Review and implement safe concurrency patterns in Go: goroutines, channels, sync primitives, context propagation, and goroutine lifecycle management. Use when writing concurrent code, reviewing async patterns, checking thread safety, debugging race conditions, or designing producer/consumer pipelines. Trigger…

69 14d ago A 112 tokens original MIT