Logo Bkend Guides

Bkend Guides

Tổ chức
ww-w-ai
bkend-guides

bkend.ai operational guides, troubleshooting, and platform comparison. Covers migration guides, performance optimization, testing strategy, common error solutions, and FAQ. Triggers: migration, troubleshoot, FAQ, performance, error handling, comparison, 마이그레이션, 문제해결, 자주 묻는 질문, 성능, 에러, マイグレーション, トラブルシューティング, FAQ, パフォーマンス, 迁移, 故障排除, 常见问题, 性能, 错误处理, migracion, solucion de problemas, preguntas frecuentes, rendimiento, migration, depannage, FAQ, performance, gestion des erreurs, Migration, Fehlerbehebung, FAQ, Leistung, Fehlerbehandlung, migrazione, risoluzione problemi, FAQ, prestazioni, gestione errori Do NOT use for: authentication implementation (use bkend-auth), database schema design (use bkend-data), security setup (use bkend-security)

Tổng quan

Nhà phát hànhww-w-ai
Kho mãbkit-gemini
Tên kỹ năngbkend-guides
Sao
66
Bản fork
16
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được ww-w-ai công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Bkend Guides trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/ww-w-ai/bkit-gemini/tree/main/skills/bkend-guides
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ww-w-ai/bkit-gemini.git /tmp/bkit-gemini
mkdir -p .claude/skills
cp -r /tmp/bkit-gemini/skills/bkend-guides .claude/skills/bkend-guides
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Bkend Guides trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Bkend Guides ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Bkend Guides với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

bkend-guides

bkend.ai operational guides, troubleshooting, and platform comparison

1. Platform Comparison

Featurebkend.aiFirebaseSupabase
DatabaseMongoDB Atlas (NoSQL)Firestore (NoSQL) / RTDBPostgreSQL (SQL)
AuthBuilt-in JWT + Social + MFAFirebase Auth (full suite)GoTrue (JWT + Social)
MCP SupportNative (first-class)NoneCommunity plugins
Real-timePlanned (WebSocket)Built-in (Firestore listeners)Built-in (Postgres changes)
File StorageIntegratedCloud StorageS3-compatible
Edge FunctionsPlannedCloud FunctionsDeno Edge Functions
SchemaSchemaless / flexibleSchemalessRigid SQL migrations
PricingUsage-based (API calls)Spark (free) / Blaze (pay-as-you-go)Free tier + Pro ($25/mo)
Open SourceNoNoYes
AI IntegrationNative MCP + prompt workflowsVertex AI extensionspgvector + AI plugins
Best ForAI-assisted rapid prototypingMobile-first apps, Google ecosystemSQL-heavy apps, open source

When to Choose bkend.ai

  • You want AI-assisted development with Gemini CLI, Claude Code, or Cursor via MCP
  • You prefer schemaless / flexible data models without migration headaches
  • You need rapid prototyping with minimal configuration
  • Your team is comfortable with REST APIs and does not need GraphQL

When to Choose Alternatives

  • Firebase: You need mature real-time capabilities, deep Google Cloud integration, or are building primarily for mobile within the Google ecosystem
  • Supabase: You need SQL, full-text search, row-level security with PostgreSQL policies, or prefer an open-source solution

2. Migration Guides

2.1 From Firebase (Planned)

This migration guide is under development. Key considerations:

  • Firestore to bkend.ai: Export Firestore collections as JSON, then import into bkend tables via the REST API or MCP tools
  • Firebase Auth to bkend Auth: Re-register users with email/password or social providers; there is no automatic migration path for password hashes
  • Cloud Functions to bkend: Rewrite triggers as webhook handlers (webhooks are planned)
  • Cloud Storage to bkend Storage: Re-upload files using the bkend storage API

2.2 From Supabase (Planned)

This migration guide is under development. Key considerations:

  • PostgreSQL to bkend.ai: Export tables as JSON; flatten relational data into document-style schemas
  • Supabase Auth to bkend Auth: Re-register users; JWT tokens are not transferable
  • Edge Functions to bkend: Rewrite as API route handlers in your frontend framework
  • Supabase Storage to bkend Storage: Re-upload files using the bkend storage API
  • RLS Policies: Translate PostgreSQL RLS policies to bkend RBAC rules (admin/user/self/guest)

3. Performance Optimization

3.1 Use Indexes on Frequently Queried Fields

Create indexes on fields that appear in filter and sort parameters. Common candidates:

  • authorId -- for user-scoped queries
  • status -- for filtering by state
  • createdAt -- for chronological sorting
  • email -- for user lookups

Use the bkend Console or MCP tool to create indexes:

> Create an index on the "posts" table for the "authorId" field
> Create a compound index on "posts" for "status" and "createdAt"

3.2 Limit Query Results

Always set a limit parameter. The maximum allowed value is 100 records per request.

GET /v1/data/posts?limit=20

If no limit is specified, the default is 20. Never rely on fetching all records at once.

3.3 Use Cursor Pagination (Not Offset)

Offset-based pagination (skip) degrades performance on large datasets because the database must scan and discard skipped records.

Avoid (offset pagination):

GET /v1/data/posts?skip=1000&limit=20

Prefer (cursor pagination):

GET /v1/data/posts?cursor=<last-record-id>&limit=20

Cursor pagination is O(1) regardless of page depth.

3.4 Cache with TanStack Query

Configure appropriate staleTime and gcTime for your data:

typescript
const queryClient = new QueryClient({
  defaultOptions: {
    queries: {
      staleTime: 5 * 60 * 1000,    // 5 minutes before refetch
      gcTime: 30 * 60 * 1000,      // 30 minutes in cache
      retry: 2,                     // Retry failed requests twice
      refetchOnWindowFocus: false,  // Disable auto-refetch on focus
    },
  },
});

For frequently changing data (like feeds), use shorter staleTime:

typescript
useQuery({
  queryKey: ["feed"],
  queryFn: fetchFeed,
  staleTime: 30 * 1000, // 30 seconds
});

3.5 Denormalize Frequently Joined Data

bkend.ai uses MongoDB (NoSQL), so joins are not native. Instead of querying multiple tables:

Avoid:

// 1. Fetch post
// 2. Fetch author by post.authorId
// 3. Fetch comments by post._id
// 4. Fetch each comment's author

Prefer: Embed frequently accessed data at write time:

json
{
  "title": "My Post",
  "content": "...",
  "author": {
    "id": "user_123",
    "name": "Alice",
    "avatar": "https://..."
  },
  "commentsCount": 5,
  "likesCount": 12
}

Update embedded data when the source changes (e.g., when a user updates their name).


4. Testing Strategy

4.1 Unit Tests: Business Logic with Mock bkendFetch

Test business logic in isolation by mocking the API client.

typescript
// __tests__/services/order-state-machine.test.ts
import { canTransition } from "@/application/services/order-state-machine";

describe("Order State Machine", () => {
  it("allows draft -> pending", () => {
    expect(canTransition("draft", "pending")).toBe(true);
  });

  it("blocks draft -> shipped", () => {
    expect(canTransition("draft", "shipped")).toBe(false);
  });

  it("allows paid -> cancelled", () => {
    expect(canTransition("paid", "cancelled")).toBe(true);
  });

  it("blocks completed -> any", () => {
    expect(canTransition("completed", "pending")).toBe(false);
    expect(canTransition("completed", "cancelled")).toBe(false);
  });
});

4.2 Integration Tests: API Calls with Dev Environment

Test actual API interactions against the dev environment.

typescript
// __tests__/integration/posts-api.test.ts
import { bkendFetch } from "@/infrastructure/api/client";

describe("Posts API", () => {
  let postId: string;

  it("creates a post", async () => {
    const res = await bkendFetch("/v1/data/posts", {
      method: "POST",
      body: JSON.stringify({
        title: "Test Post",
        content: "Integration test content",
        authorId: "test_user_id",
        status: "draft",
      }),
    });
    expect(res.success).toBe(true);
    postId = res.data._id;
  });

  it("reads the created post", async () => {
    const res = await bkendFetch(`/v1/data/posts/${postId}`);
    expect(res.data.title).toBe("Test Post");
  });

  afterAll(async () => {
    if (postId) {
      await bkendFetch(`/v1/data/posts/${postId}`, { method: "DELETE" });
    }
  });
});

4.3 E2E Tests: Full Flow with Test Data

Test complete user flows from login to feature completion.

typescript
// e2e/blog-post-flow.spec.ts (Playwright)
import { test, expect } from "@playwright/test";

test("create and publish a blog post", async ({ page }) => {
  // Login
  await page.goto("/login");
  await page.fill('[name="email"]', "test@example.com");
  await page.fill('[name="password"]', "testpassword123");
  await page.click('button[type="submit"]');
  await expect(page).toHaveURL("/dashboard");

  // Create post
  await page.click('a[href="/posts/new"]');
  await page.fill('[name="title"]', "E2E Test Post");
  await page.fill('[name="content"]', "This is an E2E test.");
  await page.click('button:has-text("Publish")');

  // Verify post appears in list
  await page.goto("/posts");
  await expect(page.locator("text=E2E Test Post")).toBeVisible();
});

5. Webhooks (Planned)

Webhooks are under development for a future bkend.ai release.

5.1 Table Change Notifications (Planned)

Receive HTTP callbacks when records are created, updated, or deleted in a table.

json
{
  "event": "table.record.created",
  "table": "orders",
  "record": { "_id": "order_123", "status": "pending", "..." : "..." },
  "timestamp": "2026-01-15T10:30:00Z",
  "projectId": "proj_abc123",
  "environment": "prod"
}

5.2 Auth Event Webhooks (Planned)

Receive callbacks for authentication events.

json
{
  "event": "auth.user.registered",
  "user": { "_id": "user_456", "email": "new@example.com" },
  "timestamp": "2026-01-15T10:30:00Z",
  "projectId": "proj_abc123",
  "environment": "prod"
}

Planned auth events: auth.user.registered, auth.user.login, auth.user.logout, auth.user.deleted, auth.token.refreshed.


6. Realtime (Planned)

Real-time subscriptions are under development for a future bkend.ai release.

6.1 WebSocket Subscriptions (Planned)

Subscribe to live data changes via WebSocket connections.

typescript
// Planned API (not yet available)
// import { bkendRealtime } from "@/infrastructure/realtime/client";
//
// const channel = bkendRealtime.subscribe("posts", {
//   filter: { status: "published" },
//   events: ["insert", "update", "delete"],
// });
//
// channel.on("insert", (record) => {
//   console.log("New post:", record);
// });
//
// channel.on("update", (record) => {
//   console.log("Updated post:", record);
// });
//
// // Unsubscribe when done
// channel.unsubscribe();

7. Error Handling Guide

7.1 Error Response Format

All bkend.ai API errors follow a consistent JSON structure:

json
{
  "success": false,
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "Invalid email format",
    "details": [
      {
        "field": "email",
        "message": "Must be a valid email address"
      }
    ]
  }
}

7.2 Common Errors

Error CodeHTTP StatusDescriptionResolution
VALIDATION_ERROR400Request body failed schema validationCheck required fields and data types
DUPLICATE_KEY400A record with the same unique field already existsUse a different value for the unique field
INVALID_CREDENTIALS401Email or password is incorrectVerify login credentials
TOKEN_EXPIRED401Access token has expiredRefresh the token using /v1/auth/token/refresh
PERMISSION_DENIED403User does not have access to this resourceCheck RBAC role (admin/user/self/guest)
TABLE_NOT_FOUND404The specified table does not existVerify table name and environment
RATE_LIMIT_EXCEEDED429Too many requests in a short periodWait and retry with exponential backoff

7.3 Error Handling Pattern

typescript
// infrastructure/api/error-handler.ts

export class BkendError extends Error {
  code: string;
  status: number;
  details: any[];

  constructor(response: any, status: number) {
    super(response.error?.message || "Unknown bkend error");
    this.code = response.error?.code || "UNKNOWN_ERROR";
    this.status = status;
    this.details = response.error?.details || [];
  }
}

export async function handleBkendResponse<T>(res: Response): Promise<T> {
  const body = await res.json();

  if (!res.ok) {
    throw new BkendError(body, res.status);
  }

  return body;
}

// Usage in components:
// try {
//   await createPost(data);
// } catch (error) {
//   if (error instanceof BkendError) {
//     if (error.code === "VALIDATION_ERROR") {
//       showValidationErrors(error.details);
//     } else if (error.code === "TOKEN_EXPIRED") {
//       await refreshToken();
//       await createPost(data); // retry
//     }
//   }
// }

8. Connection Troubleshooting

If you cannot connect to the bkend.ai API, follow these five steps:

Step 1: Check X-Project-Id Header

Ensure the X-Project-Id header is set to a valid project ID.

bash
curl -v https://api-client.bkend.ai/v1/data/posts \
  -H "X-Project-Id: proj_abc123" \
  -H "X-Environment: dev" \
  -H "X-API-Key: <your-api-key>"

If you receive PROJECT_NOT_FOUND, verify the project ID in the bkend Console under Project Settings.

Step 2: Check X-Environment Header

The X-Environment value must be one of: dev, staging, or prod. A missing or invalid environment header results in a 400 Bad Request.

Step 3: Check API Key

API keys are scoped per environment. An API key created for dev will not work for prod.

  • Verify the key is active in Console > Project > Settings > API Keys
  • Check that the key matches the target environment
  • Ensure the key has not been revoked

Step 4: Check CORS Configuration

If making requests from a browser, ensure your domain is allowed in the CORS settings.

  • Navigate to Console > Project > Settings > CORS
  • Add your frontend domain (e.g., http://localhost:3000 for development)
  • For production, add your actual domain (e.g., https://myapp.com)

Common CORS error symptoms:

  • Browser console shows Access-Control-Allow-Origin errors
  • Requests work in Postman or curl but fail in the browser
  • Preflight (OPTIONS) requests are rejected

Step 5: Check Network

  • Verify your internet connection is active
  • Check if api-client.bkend.ai is reachable: curl -I https://api-client.bkend.ai/health
  • If behind a corporate firewall or VPN, ensure api-client.bkend.ai and api.bkend.ai are not blocked
  • Check the bkend.ai status page for any ongoing incidents

9. Auth Troubleshooting

Step 1: Token Expired

Symptom: API returns 401 with code TOKEN_EXPIRED.

Solution: Refresh the access token using the refresh token endpoint.

bash
curl -X POST https://api-client.bkend.ai/v1/auth/token/refresh \
  -H "Content-Type: application/json" \
  -H "X-Project-Id: proj_abc123" \
  -H "X-Environment: dev" \
  -d '{"refreshToken": "<your-refresh-token>"}'

Access tokens expire after 1 hour. Implement auto-refresh in your HTTP client interceptor (see bkend-quickstart for middleware examples).

Step 2: Invalid Token Format

Symptom: API returns 401 with code INVALID_TOKEN.

Solution: Verify the Authorization header format:

  • Correct: Authorization: Bearer eyJhbGciOiJIUzI1NiIs...
  • Wrong: Authorization: eyJhbGciOiJIUzI1NiIs... (missing Bearer prefix)
  • Wrong: Authorization: Bearer undefined (token variable is undefined)

Check that your token storage and retrieval logic is working correctly.

Step 3: MFA Required

Symptom: Login returns 403 with code MFA_REQUIRED and a mfaToken in the response.

Solution: Complete the MFA verification step:

bash
curl -X POST https://api-client.bkend.ai/v1/auth/mfa/verify \
  -H "Content-Type: application/json" \
  -H "X-Project-Id: proj_abc123" \
  -H "X-Environment: dev" \
  -d '{"mfaToken": "<mfa-token-from-login>", "code": "123456"}'

The MFA code is a 6-digit TOTP code from the user's authenticator app.

Step 4: Account Locked

Symptom: Login returns 403 with code ACCOUNT_LOCKED.

Solution: The account has been locked due to too many failed login attempts. Options:

  • Wait for the lockout period to expire (default: 30 minutes)
  • Reset the password via the forgot password flow
  • Contact the project administrator to unlock the account via the Console

10. FAQ

Q: Can I use GraphQL with bkend.ai?

A: No. bkend.ai provides a REST API only. There is no GraphQL endpoint. Use the filter, sort, select, and limit query parameters to shape your queries. For complex data needs, make multiple REST calls and combine the results on the client side.

Q: What database does bkend.ai use?

A: bkend.ai uses MongoDB Atlas as its underlying database. All data is encrypted at rest with AES-256 encryption. You do not manage the database directly; all access is through the bkend REST API or MCP tools.

Q: Can I create tables via the REST API?

A: No. Tables can only be created through the bkend Console (web UI) or via MCP tools (Gemini CLI, Claude Code, Cursor). The REST API is for data operations (CRUD) on existing tables only.

Q: What is the maximum query limit?

A: The maximum limit parameter value is 100 records per request. The default limit is 20. To retrieve more records, use cursor-based pagination to fetch subsequent pages.

Q: How long are refresh tokens valid?

A: Refresh tokens are valid for 30 days from the time of issuance. After 30 days, the user must log in again to obtain a new refresh token. Access tokens expire after 1 hour.

Q: Is there an official SDK for bkend.ai?

A: No. There is no official SDK at this time. Instead, use the bkendFetch REST API wrapper pattern documented in the bkend-quickstart and bkend-cookbook skills. This lightweight approach works with any language or framework that supports HTTP requests.

Q: What column types are supported?

A: bkend.ai supports 7 column types:

TypeDescriptionExample
stringText data"Hello World"
intInteger numbers42
doubleFloating-point numbers3.14
boolBoolean valuestrue / false
dateISO 8601 date strings"2026-01-15T10:30:00Z"
objectNested JSON objects{"street": "123 Main St"}
arrayJSON arrays["tag1", "tag2"]

Important: There is no generic number type. Use int for whole numbers and double for decimal values.

Q: Can I use bkend.ai with frameworks other than Next.js and Flutter?

A: Yes. Since bkend.ai is a REST API, it works with any framework or language. The cookbook examples use Next.js and Flutter, but the same API calls work with React Native, Vue.js, Svelte, Angular, iOS (Swift), Android (Kotlin), Python, Go, or any HTTP-capable environment. Adapt the bkendFetch pattern to your language's HTTP client.

Q: How do I handle file uploads?

A: Use the bkend storage API endpoint:

bash
curl -X POST https://api-client.bkend.ai/v1/storage/upload \
  -H "X-Project-Id: proj_abc123" \
  -H "X-Environment: dev" \
  -H "X-API-Key: <your-api-key>" \
  -F "file=@/path/to/image.jpg"

The response includes a url field with the publicly accessible file URL. For detailed storage patterns, use the /bkend-storage skill.

Q: What is the rate limit?

A: Rate limits depend on your plan. When exceeded, the API returns 429 Too Many Requests with a Retry-After header indicating how many seconds to wait. Implement exponential backoff in your retry logic:

typescript
async function fetchWithRetry<T>(
  fn: () => Promise<T>,
  maxRetries = 3
): Promise<T> {
  for (let i = 0; i < maxRetries; i++) {
    try {
      return await fn();
    } catch (error: any) {
      if (error.status === 429 && i < maxRetries - 1) {
        const delay = Math.pow(2, i) * 1000; // 1s, 2s, 4s
        await new Promise((r) => setTimeout(r, delay));
        continue;
      }
      throw error;
    }
  }
  throw new Error("Max retries exceeded");
}

11. Next Steps

SkillWhen to Use
/bkend-quickstartFirst-time setup, core concepts, MCP configuration
/bkend-authAuthentication flows, JWT, social login, MFA
/bkend-dataAdvanced queries, filtering, pagination, relations
/bkend-securityRLS policies, rate limiting, CORS, audit logs
/bkend-mcpMCP server tools reference and advanced usage
/bkend-cookbookFull project tutorials with step-by-step implementation

Câu hỏi thường gặp

Kỹ năng AI Bkend Guides làm được gì?

bkend.ai operational guides, troubleshooting, and platform comparison. Covers migration guides, performance optimization, testing strategy, common error solutions, and FAQ. Triggers: migration, troubleshoot, FAQ, performance, error handling, comparison, 마이그레이션, 문제해결, 자주 묻는 질문, 성능, 에러, マイグレーション, トラブルシューティング, FAQ, パフォーマンス, 迁移, 故障排除, 常见问题, 性能, 错误处理, migracion, solucion de problemas, preguntas frecuentes, rendimiento, migration, depannage, FAQ, performance, gestion des erreurs, Migration, Fehlerbehebung, FAQ, Leistung, Fehlerbehandlung, migrazione, risoluzione problemi, FAQ, prestazioni, gestio...

Vì sao nên dùng Bkend Guides trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Bkend Guides là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Bkend Guides trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/ww-w-ai/bkit-gemini/tree/main/skills/bkend-guides. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Bkend Guides?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Bkend Guides với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Bkend Guides với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Bkend Guides có miễn phí không?

Có. Kỹ năng này được ww-w-ai phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇