Skip to content
Agentmart
Submit a tool

go-backend-tool

Comprehensive Go backend development patterns including REST APIs, database integration, and microservices.

Skill by yasinnerten

IndexedApache-2.0
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/yasinnerten-go-backend-tool

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

Comprehensive Go backend development patterns including REST APIs, database integration, and microservices.

Use cases: backend

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/go-backend-tool

What's inside

Skill name
go-backend-tool
Description
Comprehensive Go backend development patterns including REST APIs, database integration, and microservices.
License
Apache-2.0
Metadata
category: backend-development
Instructions
771 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • body: 771 lines (spec recommends under 500)

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Go Backend Development

This skill provides guidance for building robust Go backend services, APIs, and microservices.

## Project Structure

```go
myproject/
├── cmd/
│   ├── server/
│   │   └── main.go
│   └── worker/
│       └── main.go
├── internal/
│   ├── handlers/
│   │   ├── user.go
│   │   └── order.go
│   ├── models/
│   │   ├── user.go
│   │   └── order.go
│   ├── repository/
│   │   ├── user.go
│   │   └── order.go
│   └── service/
│       ├── auth.go
│       └── email.go
├── pkg/
│   ├── database/
│   │   ├── postgres.go
│   │   └── redis.go
│   ├── middleware/
│   │   ├── auth.go
│   │   └── logging.go
│   └── util/
│       ├── validator.go
│       └── jwt.go
├── api/
│   ├── handlers.go
│   ├── routes.go
│   └── middleware.go
├── config/
│   └── config.go
├── migrations/
├── tests/
└── go.mod
```

## Standard Layouts

### 1. HTTP Handlers
```go
package handlers

import (
    "encoding/json"
    "net/http"
)

type UserHandler struct {
    logger Logger
}

func NewUserHandler(logger Logger) *UserHandler {
    return &UserHandler{logger: logger}
}

func (h *UserHandler) CreateUser(w http.ResponseWriter, r *http.Request) {
    var input struct {
        Name  string `json:"name"`
        Email string `json:"email"`
    }

    if err := json.NewDecoder(r.Body).Decode(&input); err != nil {
        http.Error(w, err.Error(), http.StatusBadRequest)
        h.logger.Error("Failed to decode request", "handler", "create_user")
        return
    }

    // Validate input
    if input.Name == "" {
        http.Error(w, "Name is required", http.StatusBadRequest)
        return
    }

    // Process user creation
    user, err := h.userService.Create(input.Name, input.Email)
    if err != nil {
        h.logger.Error("Failed to create user", "handler", "create_user", err)
        http.Error(w, err.Error(), http.StatusInternalServerError)
        return
    }

    w.WriteHeader(http.StatusCreated)
    json.NewEncoder(w).Encode(user)
}
```

### 2. Database Layer
```go
package repository

import (
    "context"
    "database/sql"
)

type UserRepository interface {
    Create(ctx context.Context, name, email string) (*User, error)
    FindByID(ctx context.Context, id int64) (*User, error)
    Update(ctx context.Context, user *User) error
    Delete(ctx context.Context, id int64) error
}

type PostgresUserRepository struct {
    db *sql.DB
}

func NewPostgresUserRepository(db *sql.DB) UserRepository {
    return &PostgresUserRepository{db: db}

From yasinnerten/temporal-openai-agents-sdk, Apache-2.0.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Feb 27, 2026 (8 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from yasinnerten

Cite this page

go-backend-tool skill. Agent Mart. https://agentmart.dev/skills/yasinnerten-go-backend-tool (last updated 2026-10-24)