Agent skill · Backend & API

bknd-crud-update

Use when updating existing records in a Bknd entity via the SDK or REST API. Covers updateOne, updateMany, updating relations ($set, $add, $remove, $unset), partial updates, conditional updates, response handling, and common patterns.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill bknd-crud-update-cameronapak-freedom-stack-v3-2 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 14 KB
Bundled scripts: none
Path: skills/api/bknd-crud-update-cameronapak-freedom-stack-v3-2/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# CRUD Update Update existing records in your Bknd database using the SDK or REST API. ## Prerequisites - Bknd project running (local or deployed) - Entity exists with records to update - SDK configured or API endpoint known - Record ID or filter criteria known ## When to Use UI Mode - Quick one-off edits - Manual data corrections - Visual verification during development **UI steps:** Admin Panel > Data > Select Entity > Click record > Edit fields > Save ## When to Use Code Mode - Application logic for user edits - Form submissions - Bulk updates - Automated data maintenance ## Code Approach ### Step 1: Set Up SDK Client ```typescript import { Api } from "bknd"; const api = new Api({ host: "http://localhost:7654", }); // If auth required: api.updateToken("your-jwt-token"); ``` ### Step 2: Update Single Record Use `updateOne(entity, id, data)`: ```typescript const { ok, data, error } = await api.data.updateOne("posts", 1, { title: "Updated Title", status: "published", }); if (ok) { console.log("Updated post:", data.id); } else { console.error("Failed:", error.message); } ``` ### Step 3: Handle Response The response object: ```typescript type UpdateResponse = { ok: boolean; // Succes

What's inside
Steps it walks through
  1. Prerequisites
  2. When to Use UI Mode
  3. When to Use Code Mode
  4. Code Approach
  5. Step 1: Set Up SDK Client
  6. Step 2: Update Single Record
  7. Step 3: Handle Response
  8. Step 4: Partial Updates
  9. Step 5: Update Relations
  10. Step 6: Update Multiple Records (Bulk)
  11. REST API Approach
  12. Update One
  13. Update with Auth
  14. Update Relations
Ships with 1 file
  • metadata.json
Commands it runs
curl -X PATCH http://localhost:7654/api/data/posts/1 \
Change author
Add tags
curl -X PATCH "http://localhost:7654/api/data/posts?where=%7B%22status%22%3A%22draft%22%7D" \
More from claude-skill-registry
All skills →
About this skill
What does the bknd-crud-update skill do?

Use when updating existing records in a Bknd entity via the SDK or REST API. Covers updateOne, updateMany, updating relations ($set, $add, $remove, $unset), partial updates, conditional updates, response handling, and common patterns.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill bknd-crud-update-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.

Keep going