{"id":120649,"plugin_id":"plugin_asdk_app_6952514760dc8191ab148f77c5794d46","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-27T12:12:36.143Z","digest":"1ea1134e62e0708bb69dc495304742b8d64e7ac24b998a43a9e20a0e1a3cedb7","against":null,"payload":{"description":"Base44 server-side code: backend functions (HTTP handlers in base44/functions/<name>/entry.ts on Cloudflare Workers) for Vite SPA apps, or TanStack Start server functions and server routes. Secrets, the Base44 SDK on the server, auth and service role, webhooks, admin-only handlers, frontend invocation, testing, and the InvokeLLM model table. Use when the app needs external APIs, privileged logic or scheduled work.","included_files":[{"relative_path":"references/mobile.md","size_in_bytes":22420},{"relative_path":"references/web-spa.md","size_in_bytes":15374},{"relative_path":"references/web-tanstack.md","size_in_bytes":8339}],"name":"base44-platform-backend-functions","skill_md_contents":"---\nname: base44-platform-backend-functions\ndescription: \"Base44 server-side code: backend functions (HTTP handlers in base44/functions/<name>/entry.ts on Cloudflare Workers) for Vite SPA apps, or TanStack Start server functions and server routes. Secrets, the Base44 SDK on the server, auth and service role, webhooks, admin-only handlers, frontend invocation, testing, and the InvokeLLM model table. Use when the app needs external APIs, privileged logic or scheduled work.\"\n---\n<!-- GENERATED FILE. DO NOT EDIT. Compiled from the Base44 builder's prompt sources; the\n     source commit is in /SOURCE_COMMIT at the repository root. Edits here are overwritten by\n     the next sync; change the source instead. -->\n# Base44 backend functions\n\nA Vite SPA app runs server code as backend functions; a TanStack Start app runs it as server functions and server routes inside its own project. Writing the file deploys it.\n\n> **Requires the Builder plan or above.** The workspace's entitlement is reported by the agent-profile endpoint; on a lower plan the platform rejects the operation.\n\n## Pick the reference for this app\n\nDetermine the app profile first. Call `GET /api/apps/{app_id}/agent-profile` (over the Base44 MCP `execute_api`\ntool, or with your Base44 CLI token); it returns the framework, app type, runtime,\nentitlements and the exact reference files to read. Without it, detect from the project files:\n`src/routes/__root.*` and `src/routeTree.gen.ts` mean TanStack Start; `app/_layout.*` means a\nnative mobile (Expo) app; otherwise it is a Vite SPA.\n\n| Profile | Read |\n|---|---|\n| Web app, Vite SPA (the default web template) | [Backend functions (Vite SPA)](references/web-spa.md) |\n| Web app, TanStack Start | [Server functions and server routes (TanStack Start)](references/web-tanstack.md) |\n| Native mobile app (Expo, React Native) | [Backend functions (mobile apps)](references/mobile.md) |\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}