bknd-bulk-operations

Perform createMany, updateMany, and deleteMany bulk operations on BKND data stores.

1|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/cameronapak/melos --skill bknd-bulk-operations
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bknd-bulk-operations
Source: https://github.com/cameronapak/melos/tree/main/.agents/skills/bknd-bulk-operations
Command: npx skills add https://github.com/cameronapak/melos --skill bknd-bulk-operations

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the challenge of performing large-scale data operations reliably by providing unified bulk APIs (createMany, updateMany, deleteMany) for BKND-backed data stores, reducing manual scripting and error-prone iterations.

Core Features & Use Cases

  • Bulk Insert: insert many records in a single API call using createMany.
  • Bulk Update: update multiple records matching a where clause with updateMany.
  • Bulk Delete: delete multiple records using deleteMany with a where clause.
  • Chunked Processing: process large datasets in smaller chunks to manage memory and timeouts.
  • Error Handling Strategies: all-or-nothing, best-effort, and fallback patterns for partial failures.
  • Transaction-like Patterns: emulate transactional behavior using compensating actions when needed.

Quick Start

Run a simple bulk insert: api.data.createMany('products', [{ name: 'Widget', price: 9.99 }, { name: 'Gadget', price: 14.99 }]);

Frequently Asked Questions about bknd-bulk-operations

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform bulk data operations against BKND data stores?

Bulk data operations against BKND data stores are performed using createMany, updateMany, and deleteMany APIs, enabling fast and reliable processing of large datasets like data migrations or seed population.

What is the best way to handle large dataset processing without hitting memory or timeout limits?

The best way to handle large dataset processing is chunked processing, which breaks down bulk operations into smaller chunks. This manages memory consumption and prevents timeouts during mass data archival or cleanup.

How do I manage partial failures during bulk data updates?

Partial failures during bulk data updates are managed using error handling strategies. You can choose all-or-nothing, best-effort, or fallback patterns to handle errors appropriately based on your operational requirements.

Can I use transactions for bulk API operations when atomicity is not supported?

When atomicity is not supported, you can use transaction-like patterns. These emulate transactional behavior by executing compensating actions to rollback-like effects, ensuring safe bulk data modifications.

Why do I need a safe where clause for bulk delete operations?

A safe where clause is required for bulk delete operations to prevent accidental mass data deletion. It ensures deleteMany only targets the intended records, which is critical for secure data cleanup.

Does BKND support bulk inserting multiple records in a single API call?

Yes, BKND supports bulk inserting multiple records in a single API call. The createMany capability allows you to insert many records simultaneously, significantly reducing manual scripting and iterations.