Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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:

  1. Check if base44/config.jsonc exists in the current directory
  2. 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
  3. 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.jsonc already 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-cli instead)
  • ❌ 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 (use base44-cli)

Skill Dependencies:

  • base44-sdk assumes a Base44 project is already initialized
  • base44-cli is a prerequisite for base44-sdk in new projects
  • If user wants to "create an app" and no Base44 project exists, use base44-cli first

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.jsonc exists): → Use base44-cli (project initialization needed)
    • ELSE: → Use base44-sdk (project exists, build features)

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 openai SDK) is correct when pointed at base44.asServiceRole.aiGateway.connection() — that's how you build code agents (agent loops with tools) and call the gateway's image, video, and speech endpoints. Use InvokeLLM only for a single call with no tools. S

Полный SKILL.md на GitHub

Установить base44-sdk в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/QUICK_REFERENCE.mdreferences/actors.mdreferences/ai-gateway.mdreferences/analytics.mdreferences/app-logs.mdreferences/app.mdreferences/auth.mdreferences/base44-agents.mdreferences/browser.mdreferences/client.mdreferences/connectors.mdreferences/entities.mdreferences/functions.mdreferences/integrations.mdreferences/payments.mdreferences/sso.mdreferences/users.mdreferences/voice.md

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), без исполняемых скриптов.

Похожие скиллы

Сравнить base44-sdk с