bmob-database-flutter SKILL.md skillA

bmob-database-flutter from bmob/agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add bmob/agent-skills/bmob-database-flutter@v0.1.0

Pins v0.1.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
bmob/agent-skills
Path
skills/bmob-database-flutter/SKILL.md
Versions recorded
1
Latest version
v0.1.0, committed Jun 4, 2026
Size
8,946 bytes
Repository stars
4
License
MIT

Use when implementing Bmob NoSQL database CRUD in a Flutter / Dart project with the official bmob_plugin package. Triggers: flutter pub add bmob_plugin, package:bmob_plugin/bmob_plugin.dart, Bmob.initialize, BmobQuery, BmobObject, BmobUser, BmobFile, BmobGeoPoint, BmobRelation, BmobAcl, BmobError.convert, blog.save(), query.queryObjects(), query.setInclude, Dart Bmob, Flutter Bmob. NOT for JavaScript / Web / Mini Program (use bmob-database-javascript), Android native without Flutter…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Bmob Database — Flutter / Dart SDK

官方 Flutter 插件 **[`bmob_plugin`](https://pub.dev/packages/bmob_plugin)**(源码 [`bmob-flutter-sdk/data_plugin`](https://github.com/bmob/bmob-flutter-sdk/tree/master/data_plugin))。数据模型 **继承 `BmobObject` + JSON 序列化**(与 Android 类似),查询用泛型 **`BmobQuery<T>`**,异步返回 **`Future`** + `.then` / `.catchError`。

完整 API 以 [BmobDocs Flutter 文档](https://github.com/bmob/BmobDocs/blob/master/mds/data/flutter/index.md) 为准;agent 可直接 WebFetch `metadata.docs_raw`。

## 核心原则

**1. 安装与引用**

```bash
flutter pub add bmob_plugin
```

```dart
import 'package:bmob_plugin/bmob_plugin.dart';
```

**2. 初始化** — 控制台 → 设置 → 应用密钥 → **Secret Key**、**API 安全码**;**不要**在客户端填 `masterKey`(第三个可选参数仅服务端场景)。

```dart
// main() 或 App 启动最早处
Bmob.initialize(secretKey, apiSafe);
// 不推荐:Bmob.initialize(secretKey, apiSafe, masterKey);
```

**3. 上线换备案域名** — `resetDomain` 必须在 `initialize` **之前**(开发期内置测试域名有请求次数限制):

```dart
Bmob.resetDomain("http://api.yourdomain.com");
Bmob.initialize(secretKey, apiSafe);
```

**4. 自定义表模型** — 每张业务表一个 Dart 类 **extends `BmobObject`**,并实现 `fromJson` / `toJson`(见 [`references/model-and-init.md`](references/model-and-init.md))。表名默认与类名一致(如 `Blog` → 表 `Blog`)。
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add bmob/agent-skills/bmob-database-flutter@sha256:0bbf159379ad0c53

The line at the top of this page pins the label v0.1.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_eymv6eohghb4j524.svg)](https://markdownregistry.com/a/art_eymv6eohghb4j524)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Jun 4, 2026.

versioncommittedcommitsizeaudit
v0.1.0 latest2026-06-04 e0761d3 8,946 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (8946 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

bmob/agent-skills · 4 stars · license MIT · pushed 2026-10-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_eymv6eohghb4j524
GET https://markdownregistry.com/api/v1/resolve?ref=bmob/agent-skills/bmob-database-flutter
GET https://markdownregistry.com/api/v1/blob/0bbf159379ad0c5317568752f11818b27cb4393088e1861777c00e298100a072

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from bmob/agent-skills

bmob-cloud-function-development SKILL.md skill
bmob/agent-skills · skills/bmob-cloud-function-development/SKILL.md · Write, upload, verify, and sync Bmob server-side cloud functions using the Bmob MCP server when available. Use when the…
v0.4.0 · audit A · 4 stars
bmob-database-android SKILL.md skill
bmob/agent-skills · skills/bmob-database-android/SKILL.md · Use when implementing Bmob NoSQL database CRUD in an Android Native project (Java or Kotlin). Triggers…
v0.1.0 · audit A · 4 stars
bmob-database-ios SKILL.md skill
bmob/agent-skills · skills/bmob-database-ios/SKILL.md · Use when implementing Bmob NoSQL database CRUD in an iOS native project — both Objective-C and Swift / SwiftUI / UIKit…
v0.1.0 · audit A · 4 stars
bmob-database-javascript SKILL.md skill
bmob/agent-skills · skills/bmob-database-javascript/SKILL.md · Use when implementing Bmob NoSQL database CRUD with the cross-platform hydrogen-js-sdk (3.0+ supports both Secret Key +…
v0.1.0 · audit A · 4 stars
bmob-database-restful SKILL.md skill
bmob/agent-skills · skills/bmob-database-restful/SKILL.md · Use when interacting with Bmob backend cloud over plain HTTP / curl from ANY language that lacks a Bmob SDK — Python…
v0.1.0 · audit A · 4 stars
bmob-database-swift SKILL.md skill
bmob/agent-skills · skills/bmob-database-swift/SKILL.md · Use when implementing Bmob NoSQL database CRUD or realtime data listening with the pure Swift BmobSwiftSDK for iOS 15+…
v0.2.1 · audit A · 4 stars
bmob-error-codes SKILL.md skill
bmob/agent-skills · skills/bmob-error-codes/SKILL.md · Use when the user sees a Bmob error response with a numeric code (e.g. 9015, 101, 105, 206, 211, 9013, 10017, 10076)…
v0.1.0 · audit A · 4 stars
bmob-mcp SKILL.md skill
bmob/agent-skills · skills/bmob-mcp/SKILL.md · Use when the user has the Bmob MCP server configured (http://mcp.bmobapp.com/mcp) and wants to perform LIVE operations…
v0.3.0 · audit A · 4 stars
bmob SKILL.md skill
bmob/agent-skills · skills/bmob/SKILL.md · Use whenever the user mentions Bmob backend cloud (Bmob, BmobApp, bmobapp.com, Bmob 后端云) for ANY task: design data…
v0.1.0 · audit A · 4 stars

Every file in bmob/agent-skills

Browse by kind, by grade A, or by owner.