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…
от base44★ 96 звёзд на GitHubОб этом скилле
Base44 Coder
Build apps on the Base44 platform using the Base44 JavaScript SDK.
⚡ IMMEDIATE ACTION REQUIRED - Read This First
This skill activates on ANY mention of "base44" or when a base44/ folder exists. DO NOT read documentation files or search the web before acting.
Your first action MUST be:
- Check if
base44/config.jsoncexists in the current directory - If YES (existing project scenario):
- This skill (base44-sdk) handles the request
- Implement features using Base44 SDK
- Do NOT use base44-cli unless user explicitly requests CLI commands
- If NO (new project scenario):
- Transfer to base44-cli skill for project initialization
- This skill cannot help until project is initialized
When to Use This Skill vs base44-cli
Use base44-sdk when:
- Building features in an EXISTING Base44 project
base44/config.jsoncalready exists in the project- Base44 SDK imports are present (
@base44/sdk) - Writing JavaScript/TypeScript code using Base44 SDK modules
- Implementing functionality, components, or features
- User mentions: "implement", "build a feature", "add functionality", "write code for"
- User says "create a [type] app" and a Base44 project already exists
DO NOT USE base44-sdk for:
- ❌ Initializing new Base44 projects (use
base44-cliinstead) - ❌ Empty directories without Base44 configuration
- ❌ When user says "create a new Base44 project/app/site" and no project exists
- ❌ CLI commands like
npx base44 create,npx base44 deploy,npx base44 login(usebase44-cli)
Skill Dependencies:
base44-sdkassumes a Base44 project is already initializedbase44-cliis a prerequisite forbase44-sdkin new projects- If user wants to "create an app" and no Base44 project exists, use
base44-clifirst
State Check Logic: Before selecting this skill, verify:
- IF (user mentions "create/build app" OR "make a project"):
- IF (directory is empty OR no
base44/config.jsoncexists): → Use base44-cli (project initialization needed) - ELSE: → Use base44-sdk (project exists, build features)
- IF (directory is empty OR no
Quick Start
// In Base44-generated apps, base44 client is pre-configured and available
// CRUD operations
const task = await base44.entities.Task.create({ title: "New task", status: "pending" });
const tasks = await base44.entities.Task.list();
await base44.entities.Task.update(task.id, { status: "done" });
// Get current user
const user = await base44.auth.me();
// External apps
import { createClient } from "@base44/sdk";
// IMPORTANT: Use 'appId' (NOT 'clientId' or 'id')
const base44 = createClient({ appId: "your-app-id" });
await base44.auth.loginViaEmailPassword("[email protected]", "password");
⚠️ CRITICAL: Do Not Hallucinate APIs
Before writing ANY Base44 code, verify method names against this table or QUICK_REFERENCE.md.
Base44 SDK has unique method names. Do NOT assume patterns from Firebase, Supabase, or other SDKs.
Authentication - WRONG vs CORRECT
| ❌ WRONG (hallucinated) | ✅ CORRECT |
|---|---|
signInWithGoogle() |
loginWithProvider('google') |
signInWithProvider('google') |
loginWithProvider('google') |
auth.google() |
loginWithProvider('google') |
signInWithEmailAndPassword(email, pw) |
loginViaEmailPassword(email, pw) |
signIn(email, pw) |
loginViaEmailPassword(email, pw) |
createUser() / signUp() |
register({email, password}) |
onAuthStateChanged() |
me() (no listener, call when needed) |
currentUser |
await auth.me() |
Functions - WRONG vs CORRECT
| ❌ WRONG (hallucinated) | ✅ CORRECT |
|---|---|
functions.call('name', data) |
functions.invoke('name', data) |
functions.run('name', data) |
functions.invoke('name', data) |
callFunction('name', data) |
functions.invoke('name', data) |
httpsCallable('name')(data) |
functions.invoke('name', data) |
Integrations - WRONG vs CORRECT
| ❌ WRONG (hallucinated) | ✅ CORRECT |
|---|---|
ai.generate(prompt) |
integrations.Core.InvokeLLM({prompt}) |
openai.chat(prompt) |
integrations.Core.InvokeLLM({prompt}) |
llm(prompt) |
integrations.Core.InvokeLLM({prompt}) |
sendEmail(to, subject, body) |
integrations.Core.SendEmail({to, subject, body}) |
email.send() |
integrations.Core.SendEmail({to, subject, body}) |
uploadFile(file) |
integrations.Core.UploadFile({file}) |
storage.upload(file) |
integrations.Core.UploadFile({file}) |
Exception: an OpenAI-compatible client (e.g. the Vercel AI SDK or the
openaiSDK) is correct when pointed atbase44.asServiceRole.aiGateway.connection()— that's how you build code agents (agent loops with tools) and call the gateway's image, video, and speech endpoints. UseInvokeLLMonly for a single call with no tools. S
Установить base44-sdk в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл 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, realtime actors, ai agents, and the AI gateway for code agents, image, video, and speech generation, and AI decisions) and to write backend functions and actors. This skill is the place for learning about available modules and types, including actors — the realtime/WebSocket primitive for multiplayer, collaborative boards, presence and live cursors, in-room chat, and live auctions. When you plan or implement a feature, you must learn this skill
Как установить скилл base44-sdk?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл base44-sdk запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic