The official Go SDK for Appwrite's backend-as-a-service. It covers user management, database operations with the newer TablesDB API, file storage, teams, and serverless functions. The SDK uses a functional options pattern for configuration and splits services into separate packages. One thing to note: it explicitly prefers the TablesDB class over the deprecated Databases class, and it's opinionated about using explicit string column types like varchar, text, and mediumtext instead of the legacy string type. The documentation includes practical details like row size limits and when to use inline versus off-page storage. Good for building Go backends that need auth, data persistence, and file handling without rolling your own infrastructure.

skills.sh installs
241
GitHub stars
20
last updated
Jun 3, 2026

Install

$ npx -y skills add appwrite/agent-skills --skill appwrite-go --agent claude-code

Installs into .claude/skills of the current project.

Files

Appwrite Go SDK

Installation

go get github.com/appwrite/sdk-for-go

Setting Up the Client

import (
    "os"

    "github.com/appwrite/sdk-for-go/client"
    "github.com/appwrite/sdk-for-go/id"
    "github.com/appwrite/sdk-for-go/users"
    "github.com/appwrite/sdk-for-go/tablesdb"
    "github.com/appwrite/sdk-for-go/storage"
)

clt := client.New(
    client.WithEndpoint("https://<REGION>.cloud.appwrite.io/v1"),
    client.WithProject(os.Getenv("APPWRITE_PROJECT_ID")),
    client.WithKey(os.Getenv("APPWRITE_API_KEY")),
)

Code Examples

User Management

service := users.New(clt)

// Create user
user, err := service.Create(
    id.Unique(),
    "user@example.com",
    "password123",
    users.WithCreateName("User Name"),
)

// List users
list, err := service.List()

// Get user
fetched, err := service.Get("[USER_ID]")

// Delete user
_, err = service.Delete("[USER_ID]")

Database Operations

Sponsors

Details

Repository
github.com/appwrite/agent-skills
Category
AI & Agent Building
First seen
Jun 3, 2026

More from appwrite/agent-skills

All 10
1thedivergentai avatargodot-genre-card-gamethedivergentai/gd-agentic-skillsExpert blueprint for digital card games (CCG/Deckbuilders) including card data structures (Resource-based), deck management (draw/discard/reshuffle), turn logic241skills.sh installs
2ancoleman avataradministering-linuxancoleman/ai-design-componentsManage Linux systems covering systemd services, process management, filesystems, networking, performance tuning, and troubleshooting. Use when deploying applica240skills.sh installs
3lllllllama avataranalyze-projectlllllllama/ai-paper-reproduction-skillanalyze project240skills.sh installs
4aktsmm avatarbook-writing-workspaceaktsmm/agent-skillsOperate a reusable technical book manuscript workspace with writing structure, reader persona SSOT, review rules, and optional Markdown to Re:VIEW/PDF support. 239skills.sh installs
5fvadicamo avatargithub-pr-creationfvadicamo/dev-agent-skillsCreates GitHub Pull Requests with automated validation and task tracking. Use when user wants to create PR, open pull request, submit for review, or check if re239skills.sh installs
6stripe avatarupgrade-stripestripe/agent-toolkitupgrade stripe239skills.sh installs