base44-sdk
The base44 SDK is the library to communicate with base44 services. In projects, you use it to communicate with remote resources (entities, backend functions, ai agents) and to write backend functions. This skill is the place for learning about available modules and types. When you plan or implement a feature, you must learn this skill
Security Assessment
Detected risks:
About base44-sdk
The base44-sdk skill provides expertise in building applications on the Base44 platform using the Base44 JavaScript SDK. This skill is specifically designed for developers working within existing Base44 projects who need to implement features, write backend functions, and communicate with remote resources such as entities, backend functions, and AI agents. It serves as the primary reference for understanding available SDK modules, types, and correct API usage patterns.
The skill covers essential Base44 SDK capabilities including CRUD operations on entities, authentication flows, and client configuration. It emphasizes correct API usage by providing explicit mappings between commonly hallucinated method names and the actual Base44 SDK methods. For example, it clarifies that Base44 uses `loginWithProvider('google')` instead of common patterns like `signInWithGoogle()` or `signInWithProvider()`. The skill includes quick reference guides and verification tables to prevent developers from mistakenly applying patterns from other platforms like Firebase or Supabase.
This skill is intended for developers actively building features in Base44 projects where `base44/config.jsonc` already exists. It explicitly does not handle project initialization or CLI commands, which are the domain of the separate base44-cli skill. Target users include full-stack developers implementing application logic, backend developers writing server-side functions, and teams integrating Base44 services into their existing codebases. The skill activates automatically when Base44-related terms are mentioned or when Base44 project structures are detected.
FAQ
When should I use base44-sdk versus base44-cli?
Use base44-sdk when working in an existing Base44 project (where base44/config.jsonc exists) to implement features and write code. Use base44-cli for project initialization, deployment, and CLI commands like 'npx base44 create' or 'npx base44 deploy'.
How do I avoid using incorrect API methods?
Always verify method names against the provided reference tables before writing code. Base44 uses unique method names like loginViaEmailPassword() and loginWithProvider() rather than common patterns from Firebase or Supabase. Check QUICK_REFERENCE.md or the verification tables in the skill documentation.
What's the difference between Base44-generated apps and external apps?
In Base44-generated apps, the base44 client is pre-configured and available globally. External apps must import createClient from @base44/sdk and initialize it with an appId before using authentication or entity operations.
Can I use this skill to create a new Base44 project?
No. This skill only works with existing Base44 projects. If base44/config.jsonc does not exist in your directory, you must first use the base44-cli skill to initialize a new project before using base44-sdk to build features.
What are the main capabilities of the Base44 SDK?
The Base44 SDK provides CRUD operations on entities (create, list, update), authentication methods (email/password, OAuth providers), user management (me() to get current user), and communication with remote resources including backend functions and AI agents.
All Files
13 filesInstall base44-sdk
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
base44/skills