appwrite-ruby

Implements server-side Ruby integrations with the Appwrite SDK for users, databases, storage, and functions.

1|1|Updated Jul 31, 2026
One-click install
npx skills add https://github.com/appwrite/agent --skill appwrite-ruby-appwrite
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: appwrite-ruby
Source: https://github.com/appwrite/agent/tree/main/.agents/skills/appwrite-ruby
Command: npx skills add https://github.com/appwrite/agent --skill appwrite-ruby-appwrite

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires appwrite.

What problem does it solve? Building server-side Ruby applications against Appwrite requires knowing the correct SDK patterns for authentication, database operations, file storage, and permissions, and mistakes like using deprecated classes or missing permission strings cause broken or insecure code. ## Core Features & Use Cases - SDK Setup and CRUD Operations: Configure the Appwrite Ruby client with API keys and perform user management, TablesDB row CRUD, queries, and file uploads. - SSR Authentication: Implement email/password and OAuth2 login flows in Rails or Sinatra using admin and session clients with secure cookie handling. - Permissions and Error Handling: Apply Permission and Role helpers correctly and handle Appwrite::Exception error codes like 401, 403, and 429. - Use Case: A developer building a Sinatra backend needs login, session cookies, and per-user row permissions; this Skill provides the exact Ruby code patterns for each step. ## Quick Start Use the appwrite-ruby skill to create a Ruby script that connects to my Appwrite project and lists rows from a table.

Frequently Asked Questions about appwrite-ruby

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

FAQPage Schema
How do I set up the Appwrite Ruby SDK in a server-side app?▼

Install the appwrite gem, then create a Client with set_endpoint, set_project, and set_key using your API key. Include the Appwrite module and instantiate services like Users, TablesDB, or Storage from that client.

How do I query rows with the Appwrite Ruby SDK?▼

Use TablesDB list_rows with Query helpers such as Query.equal, Query.greater_than, Query.order_desc, and Query.limit. Cursor pagination via Query.cursor_after is preferred for large datasets.

Should I use Databases or TablesDB in the Appwrite Ruby SDK?▼

Use TablesDB for all new code because the Databases class is deprecated. Only use Databases when maintaining an existing codebase that already relies on it.

How do I handle SSR authentication with Appwrite in Rails or Sinatra?▼

Use two clients: an admin client with an API key to create sessions, and a per-request session client set with set_session from the a_session_<PROJECT_ID> cookie. Set the cookie with httponly, secure, and same_site strict.

Why do users get 401 or 403 errors on Appwrite rows created from Ruby?▼

Rows without explicit permissions are inaccessible to everyone, including the creator. Add Permission.read, Permission.update, or Permission.delete with Role targets like Role.user or Role.team when creating the row.