appwrite-dart

Implements Appwrite backend operations in Dart for Flutter and server-side applications.

Updated Jul 29, 2026
One-click install
npx skills add https://github.com/SMGolamAlif/Orbit --skill appwrite-dart-smgolamalif
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: appwrite-dart
Source: https://github.com/SMGolamAlif/Orbit/tree/main/.agents/skills/appwrite-dart
Command: npx skills add https://github.com/SMGolamAlif/Orbit --skill appwrite-dart-smgolamalif

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Building Flutter apps or Dart servers against Appwrite requires knowing the correct SDK patterns for auth, databases, storage, realtime, and permissions, and mistakes like missing permissions or deprecated classes cause broken or insecure apps. ## Core Features & Use Cases - Client and Server SDKs: Covers both the Flutter appwrite package for client-side auth, OAuth, and realtime subscriptions, and the dart_appwrite package for server-side admin operations with API keys. - Database and Storage Operations: Provides TablesDB row CRUD, query builders, string column type selection, and file uploads with InputFile factories. - SSR Authentication: Implements admin/session client separation, secure session cookies, and OAuth2 token exchange for server-rendered Dart apps. - Use Case: When building a Flutter app that needs email login, a realtime task list, and avatar uploads, use this Skill to generate correct Appwrite Dart code including row-level permissions. ## Quick Start Use the appwrite-dart skill to write Flutter code that signs a user in with email and password, then subscribes to realtime row changes in my tasks table.

Frequently Asked Questions about appwrite-dart

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I authenticate users in Flutter with Appwrite?

Use the Account class from the appwrite Flutter package to call createEmailPasswordSession for email login or createOAuth2Session for providers like Google. Create users first with account.create using a unique ID from ID.unique().

What is the difference between the appwrite and dart_appwrite packages?

The appwrite package is for client-side Flutter apps and handles user sessions, while dart_appwrite is for server-side Dart and uses an API key for admin operations like user management and database creation. Never expose API keys in client code.

Should I use Databases or TablesDB in the Appwrite Dart SDK?

Use TablesDB for all new code because the Databases class is deprecated. Only use Databases if an existing codebase already relies on it or it is explicitly requested.

Why can't users read rows I created in Appwrite?

Appwrite grants no access by default, so rows without explicit permissions are inaccessible to everyone including the creator. Add permissions like Permission.read(Role.user(userId)) when creating rows, or configure table-level permissions.

How do I handle Appwrite sessions in server-side Dart?

Use two clients: an admin client with an API key to create sessions, and a per-request session client configured with setSession using the a_session_<PROJECT_ID> cookie. Set the cookie with HttpOnly, Secure, and SameSite=Strict flags.