bknd-crud-create
Use when inserting new records into a Bknd entity via the SDK or REST API. Covers createOne, createMany, creating with relations ($set), response handling, error handling, and common patterns for client-side record creation.
npx skills add majiayu000/claude-skill-registry --skill bknd-crud-create-cameronapak-freedom-stack-v3-2 --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# CRUD Create Insert new records into your Bknd database using the SDK or REST API. ## Prerequisites - Bknd project running (local or deployed) - Entity exists (use `bknd-create-entity` first) - SDK configured or API endpoint known ## When to Use UI Mode - Quick one-off data entry - Manual testing during development - Non-technical users adding records **UI steps:** Admin Panel > Data > Select Entity > Click "+" or "Add" > Fill form > Save ## When to Use Code Mode - Application logic for user-generated content - Form submissions - API integrations - Automated record creation ## Code Approach ### Step 1: Set Up SDK Client ```typescript import { Api } from "bknd"; const api = new Api({ host: "http://localhost:7654", // Your Bknd server }); // If auth required: api.updateToken("your-jwt-token"); ``` ### Step 2: Create Single Record Use `createOne(entity, data)`: ```typescript const { ok, data, error } = await api.data.createOne("posts", { title: "My First Post", content: "Hello world!", published: false, }); if (ok) { console.log("Created post:", data.id); } else { console.error("Failed:", error.message); } ``` ### Step 3: Handle Response The response object: ```typescript type Create
- Prerequisites
- When to Use UI Mode
- When to Use Code Mode
- Code Approach
- Step 1: Set Up SDK Client
- Step 2: Create Single Record
- Step 3: Handle Response
- Step 4: Create with Relations
- Step 5: Create Multiple Records (Bulk)
- REST API Approach
- Create One
- Create with Auth
- Create Many
- Create with Relations
curl -X POST http://localhost:7654/api/data/posts \ curl -X POST http://localhost:7654/api/data/tags \
What does the bknd-crud-create skill do?
Use when inserting new records into a Bknd entity via the SDK or REST API. Covers createOne, createMany, creating with relations ($set), response handling, error handling, and common patterns for client-side record creation.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill bknd-crud-create-cameronapak-freedom-stack-v3-2 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
