appwrite avatar

Appwrite Typescript

This wraps the Appwrite TypeScript SDK for client and server use cases. You get auth flows (email, OAuth, anonymous), database queries with the newer TablesDB class, file storage, and real-time subscriptions. The skill covers React Native OAuth gotchas (you need createOAuth2Token with deep linking, not createOAuth2Session), string column types like varchar versus text for row size planning, and the object-params calling style the SDK now prefers. Useful if you're wiring up Appwrite in a web app, mobile project, or Node backend and want the common patterns in one place without digging through docs.

skills.sh installs
1.1K
GitHub stars
23
last updated
Jul 14, 2026

Install

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

Installs into .claude/skills of the current project.

Files

Appwrite TypeScript SDK

Installation

# Web
npm install appwrite

# React Native
npm install react-native-appwrite

# Node.js / Deno
npm install node-appwrite

Setting Up the Client

Client-side (Web / React Native)

// Web
import { Client, Account, TablesDB, Storage, ID, Query } from 'appwrite';

// React Native
import { Client, Account, TablesDB, Storage, ID, Query } from 'react-native-appwrite';

const client = new Client()
    .setEndpoint('https://<REGION>.cloud.appwrite.io/v1')
    .setProject('[PROJECT_ID]');

Server-side (Node.js / Deno)

import { Client, Users, TablesDB, Storage, Functions, ID, Query } from 'node-appwrite';

const client = new Client()
    .setEndpoint('https://<REGION>.cloud.appwrite.io/v1')
    .setProject(process.env.APPWRITE_PROJECT_ID)
    .setKey(process.env.APPWRITE_API_KEY);

Code Examples

Authentication (client-side)

const account = new Account(client);

// Email signup
await account.create({
    userId: ID.unique(),
    email: 'user@example.com',
    password: 'password123',
    name: 'User Name'
});

Sponsors

Details

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

More from appwrite/agent-skills

All 10
1charon-fan avatarplanning-with-filescharon-fan/agent-playbookplanning with files1.1Kskills.sh installs
2K-Dense-AI avataranalytical-method-validationK-Dense-AI/scientific-agent-skillsPlan, execute, and document validation, verification, and transfer of analytical procedures under the governing framework - ICH Q2(R2) and Q14, USP <1220>/<12251.1Kskills.sh installs
3github avatarreact19-concurrent-patternsgithub/awesome-copilotPreserve React 18 concurrent patterns and adopt React 19 APIs (useTransition, useDeferredValue, Suspense, use(), useOptimistic, Actions) during migration.1.1Kskills.sh installs
4dbt-labs avatarrunning-dbt-commandsdbt-labs/dbt-agent-skillsFormats and executes dbt CLI commands, selects the correct dbt executable, and structures command parameters. Use when running models, tests, builds, compiles, 1.1Kskills.sh installs
5aj-geddes avatarpenetration-testingaj-geddes/useful-ai-promptsEthical hacking and security testing methodologies using penetration testing tools, exploit frameworks, and manual security validation. Use when assessing appli1.1Kskills.sh installs
6heygen-com avatarliveavatar-debugheygen-com/liveavatar-agent-skillsTroubleshoot and debug LiveAvatar integration issues. Use when the user's LiveAvatar integration isn't working, the avatar is silent, audio is garbled, sessions1.1Kskills.sh installs