Loading...
Loading...
CloudBase platform knowledge and best practices. Use this skill for general CloudBase platform understanding, including storage, hosting, authentication, cloud functions, database permissions, and data models.
npx skill4agent add tencentcloudbase/awesome-cloudbase-examples cloudbase-platformenvQuerygetWebsiteConfig/envQueryimport cloudbase from "@cloudbase/js-sdk"; const app = cloudbase.init({ env: "xxxx-yyy" });import("@cloudbase/js-sdk")initCloudBase()initPromiseauth.getVerification()auth.getCurrentUser()wxContext.OPENIDpackage.jsoncreateFunctionupdateFunctionCodefunctionRootPathcloudfunctionsADMINWRITEADMINONLYCreate collection → Configure security rules → Write code → TestwriteSecurityRuleno-sql-web-sdk/security-rules.mdREADONLYCUSTOMauth.uidCUSTOMPRIVATEADMINONLY@cloudbase/wx-cloud-client-sdkconst client = initHTTPOverCallFunction(wx.cloud)client.models@cloudbase/node-sdk@3.10+const app = cloudbase.init({env})app.models@cloudbase/js-sdkconst app = cloudbase.init({env})app.modelsmanageDataModeldb.collection('model_name').get()app.models.model_name.list({ filter: { where: {} } })manageDataModeldocshttps://tcb.cloud.tencent.com/dev?envId=${envId}#/{path}https://tcb.cloud.tencent.com/dev?envId=${envId}#/overviewhttps://tcb.cloud.tencent.com/dev?envId=${envId}#/templatehttps://tcb.cloud.tencent.com/dev?envId=${envId}#/db/dochttps://tcb.cloud.tencent.com/dev?envId=${envId}#/db/doc/collection/${collectionName}https://tcb.cloud.tencent.com/dev?envId=${envId}#/db/doc/model/${modelName}https://tcb.cloud.tencent.com/dev?envId=${envId}#/db/mysqlhttps://tcb.cloud.tencent.com/dev?envId=${envId}#/db/mysql/table/default/https://tcb.cloud.tencent.com/dev?envId=${envId}#/scfhttps://tcb.cloud.tencent.com/dev?envId=${envId}#/scfhttps://tcb.cloud.tencent.com/dev?envId=${envId}#/scf/detail?id=${functionName}&NameSpace=${envId}https://tcb.cloud.tencent.com/dev?envId=${envId}#/cloudrunhttps://tcb.cloud.tencent.com/dev?envId=${envId}#/storagehttps://tcb.cloud.tencent.com/dev?envId=${envId}#/aihttps://tcb.cloud.tencent.com/dev?envId=${envId}#/hostinghttps://console.cloud.tencent.com/tcb/hostinghttps://tcb.cloud.tencent.com/dev?envId=${envId}#/identityhttps://tcb.cloud.tencent.com/dev?envId=${envId}#/identity/login-managehttps://tcb.cloud.tencent.com/dev?envId=${envId}#/identity/token-managementhttps://tcb.cloud.tencent.com/dev?envId=${envId}#/weidahttps://tcb.cloud.tencent.com/dev?envId=${envId}#/logshttps://tcb.cloud.tencent.com/dev?envId=${envId}#/settingshttps://tcb.cloud.tencent.com/dev?envId=${envId}#/{path}${envId}envQuery