bkend-data
Skill70 starsChanged 9 months agoApache-2.0View on GitHub
bkend.ai data management guide. Tables, columns, CRUD operations, schema design, indexes, and query filtering with bkend.ai BaaS. Triggers: bkend table, bkend column, bkend CRUD, bkend schema, bkend data, bkend 테이블, bkend 데이터, CRUD, 스키마, bkendテーブル, bkendデータ, bkend表, bkend数据, tabla bkend, données bkend, bkend-Daten, dati bkend Do NOT use for: auth (use $bkend-auth), file storage (use $bkend-storage).
2 other projects use a version of this.
Adopted by
Most recently taken up by
- ww-w-ai/bkit-claude-codetheir own version, first seen Aug 14, 2026
- ww-w-ai/bkit-geminitheir own version, first seen Apr 9, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- ww-w-ai/bkit-claude-code★ 600same name
- ww-w-ai/bkit-gemini★ 66same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository27 other files it gives its agents.
- AGENTS.mdAGENTS.md
- bkend-authSkill
- bkend-cookbookSkill
- bkend-quickstartSkill
- bkend-storageSkill
- bkit-rulesSkill
- bkit-templatesSkill
- code-reviewSkill
- codex-learningSkill
- desktop-appSkill
- development-pipelineSkill
- dynamicSkill
- enterpriseSkill
- mobile-appSkill
- pdcaSkill
- phase-1-schemaSkill
- phase-2-conventionSkill
- phase-3-mockupSkill
- phase-4-apiSkill
- phase-5-design-systemSkill
- phase-6-ui-integrationSkill
- phase-7-seo-securitySkill
- phase-8-reviewSkill
- phase-9-deploymentSkill
- plan-plusSkill
- starterSkill
- zero-script-qaSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 154
Always include created_at and updated_at
- Very specific: line 155
Use reference type for relationships
- Distinctive: line 156
Add indexes on frequently filtered columns
- Very specific: line 157
Use enum for fixed value sets
- Very specific: line 158
Use json sparingly (harder to query)
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
bkend.ai Data Management
Create tables, define schemas, and perform CRUD operations.
Actions
| Action | Description | Example |
table | Create a new table | $bkend-data table users |
schema | Design table schema | $bkend-data schema |
query | Query data examples | $bkend-data query |
Creating Tables
Tables in bkend.ai are created through the dashboard or MCP:
Via Dashboard
- Go to project > Database
- Click "New Table"
- Define columns with types
Via MCP
Create a table called "posts" with:
- title (string, required)
- body (text, required)
- status (enum: draft/published, default: draft)
- author_id (reference to users)
- created_at (datetime, auto)
- updated_at (datetime, auto)Column Types
| Type | Description | Example |
string | Short text (max 255) | name, email, slug |
text | Long text (unlimited) | body, description |
number | Integer or float | age, price, count |
boolean | True/false | is_active, is_published |
datetime | Date and time | created_at, due_date |
enum | Fixed set of values | status, role, type |
json | JSON object | metadata, settings |
reference | Foreign key to another table | author_id, category_id |
file | File reference | avatar, attachment |
CRUD Operations
Create
const post = await bkend.data.create('posts', {
title: 'My First Post',
body: 'Hello world!',
status: 'draft',
author_id: currentUser.id,
});Read (Single)
const post = await bkend.data.get('posts', postId);Read (List with Filters)
const posts = await bkend.data.list('posts', {
status: 'published',
sort: '-created_at',
page: '1',
limit: '20',
});Update
const updated = await bkend.data.update('posts', postId, {
title: 'Updated Title',
status: 'published',
});Delete
await bkend.data.delete('posts', postId);Query Patterns
Filtering
// Exact match
{ status: 'published' }
// Multiple filters (AND)
{ status: 'published', author_id: userId }Sorting
// Ascending
{ sort: 'created_at' }
// Descending (prefix with -)
{ sort: '-created_at' }Pagination
// Page-based
{ page: '2', limit: '10' }Search
// Full-text search
{ search: 'keyword' }React Hooks
// hooks/usePosts.ts
import { useQuery, useMutation, useQueryClient } from '@tanstack/react-query';
export function usePosts(filters?: Record<string, string>) {
return useQuery({
queryKey: ['posts', filters],
queryFn: () => bkend.data.list('posts', filters),
});
}
export function useCreatePost() {
const qc = useQueryClient();
return useMutation({
mutationFn: (data: CreatePostInput) => bkend.data.create('posts', data),
onSuccess: () => qc.invalidateQueries({ queryKey: ['posts'] }),
});
}Schema Best Practices
- Always include
created_atandupdated_at - Use
referencetype for relationships - Add indexes on frequently filtered columns
- Use
enumfor fixed value sets - Use
jsonsparingly (harder to query)
Reference
See references/bkend-patterns.md for complete API client code and advanced patterns.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

