Agent skill · Backend & API

bknd-crud-delete

Use when deleting records from a Bknd entity via the SDK or REST API. Covers deleteOne, deleteMany, soft delete patterns, cascade considerations, response handling, and common patterns.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill bknd-crud-delete-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: 13 KB
Bundled scripts: none
Path: skills/api/bknd-crud-delete-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 Delete Delete records from your Bknd database using the SDK or REST API. ## Prerequisites - Bknd project running (local or deployed) - Entity exists with records to delete - SDK configured or API endpoint known - Record ID or filter criteria known - Understanding of any relationships/dependencies ## When to Use UI Mode - Quick one-off deletions - Manual data cleanup - Visual verification of what's being deleted **UI steps:** Admin Panel > Data > Select Entity > Click record > Delete button > Confirm ## When to Use Code Mode - Application logic for user-initiated deletes - Automated data cleanup/maintenance - Bulk deletions - Soft delete implementations ## 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: Delete Single Record Use `deleteOne(entity, id)`: ```typescript const { ok, data, error } = await api.data.deleteOne("posts", 1); if (ok) { console.log("Deleted post:", data.id); } else { console.error("Failed:", error.message); } ``` ### Step 3: Handle Response The response object: ```typescript type DeleteRespo

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: Delete Single Record
  7. Step 3: Handle Response
  8. Step 4: Delete Multiple Records (Bulk)
  9. Step 5: Verify Before Delete
  10. REST API Approach
  11. Delete One
  12. Delete with Auth
  13. Delete Many
  14. React Integration
Ships with 1 file
  • metadata.json
Commands it runs
curl -X DELETE http://localhost:7654/api/data/posts/1
curl -X DELETE http://localhost:7654/api/data/posts/1 \
Delete all archived posts
curl -X DELETE "http://localhost:7654/api/data/posts?where=%7B%22status%22%3A%22archived%22%7D"
URL-decoded where: {"status":"archived"}
More from claude-skill-registry
All skills →
About this skill
What does the bknd-crud-delete skill do?

Use when deleting records from a Bknd entity via the SDK or REST API. Covers deleteOne, deleteMany, soft delete patterns, cascade considerations, response handling, and common patterns.

How do I install it?

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