Use CloudBase document database Web SDK to query, create, update, and delete data. Supports complex queries, pagination, aggregation, and geolocation queries.
SkillScore96Maintained
Automatic
◆Coding pack
Last verified 8/20/2026
What it changes
Passed 22 of 23 test cases with the skill, and 21 of 23 without it.
Without skill91%
With skill96%
Checks it passed that the model alone missed
The code example sets the query limit to 1000.
The answer states that the default limit is 100 records.
The answer states that the maximum limit is 1000 records.
and 2 more in the full report
2 fixed20 passed either way0 still failing1 broke
Pass-rate lift
+4 pp
Tokens
+67%
Agent turns
0%
Response time
-32%
Model gemini-3.6-flashMeasured 8/20/2026v122 of 23 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 2
Prompt
We are building a list view for an article collection using CloudBase Web SDK. If we call db.collection('articles').get() without specifying a limit, how many documents are returned by default, and what is the absolute maximum limit per request if we need to fetch as many as possible? Provide a brief code example showing how to request the maximum limit.
What was checked, without and with the skill
Checked
Without skill
With skill
The answer states that the default limit is 100 records.
Missed
Passed
The answer states that the maximum limit is 1000 records.
Missed
Passed
The code example sets the query limit to 1000.
Missed
Passed
case-05 · gemini-3.6-flash · 8/20/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md199 linessingle file
CloudBase Document Database Web SDK
This skill provides guidance on using the CloudBase document database Web SDK for data operations in web applications.
Core Concepts
Initialization
Before using any database operations, initialize the CloudBase SDK:
import cloudbase from "@cloudbase/js-sdk";
// UMD version
// If you are not using npm, And want to use UMD version instead. You should refer to https://docs.cloudbase.net/quick-start/#web-%E5%BF%AB%E9%80%9F%E4%BD%93%E9%AA%8C for latest version of UMD version.
const app = cloudbase.init({
env: "your-env-id", // Replace with your environment id
});
const db = app.database();
const _ = db.command; // Get query operators
// ... login
Initialization rules (Web, @cloudbase/js-sdk):
Always use synchronous initialization with the pattern above
Do not lazy-load the SDK with import("@cloudbase/js-sdk")
Do not wrap SDK initialization in async helpers such as initCloudBase() with internal initPromise caches
Remember to sign in(auth) is *REQUIRED before actually querying the database.