ai-model-nodejs
Use this skill for Node.js backend AI via @cloudbase/node-sdk (>=3.16.0) — cloud functions, CloudRun, Express/Koa/NestJS, serverless APIs, scheduled jobs, LLM…
Use when auditing CloudBase cloud API wrappers, MCP tools, generated action metadata, or related docs for outdated or incorrect action names, parameters, casing, request shapes, or missing contract tests, especially during periodic quality review or before preparing corrective
$ npx -y skills add TencentCloudBase/CloudBase-AI-Toolkit --skill api-contract-review --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/api-contract-reviewContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when auditing CloudBase cloud API wrappers, MCP tools, generated action metadata, or related docs for outdated or incorrect action names, parameters, casing, request shapes, or missing contract tests, especially during periodic quality review or before preparing corrective
name: api-contract-review description: Use when auditing CloudBase cloud API wrappers, MCP tools, generated action metadata, or related docs for outdated or incorrect action names, parameters, casing, request shapes, or missing contract tests, especially during periodic quality review or before preparing corrective PRs. alwaysApply: false
Review CloudBase cloud API integrations for contract correctness before the repository ships stale, guessed, or undocumented behavior.
Use this skill when you need to:
**Do NOT use for:**
1. Read `references/review-checklist.md` first. 2. Identify the review surface:
3. Record the exact action, interface, or payload being reviewed before forming conclusions.
Before judging any implementation, you must read the relevant official documentation first.
Required entry points:
Verify the documented contract, not your memory:
If the docs do not clearly support the action, parameter, or behavior, treat the implementation as unverified and stop short of guessing.
Some parameters are internal to Tencent Cloud and not publicly documented. These parameters are valid but will not appear in the official API documentation.
Known internal parameters:
When you encounter a parameter that: 1. Does not appear in official documentation 2. But is confirmed by the team as valid internal behavior
Mark it as an **internal parameter** in your review report, not as a contract bug.
Some parameters are internal to Tencent Cloud and not publicly documented. These parameters are valid but will not appear in the official API documentation.
Known internal parameters:
When you encounter a parameter that: 1. Does not appear in official documentation 2. But is confirmed by the team as valid internal behavior
Mark it as an **internal parameter** in your review report, not as a contract bug.
1. Compare implementation, tests, generated metadata, and user-facing docs against the documented contract. 2. Mark each mismatch as one of:
3. Prefer nearby targeted tests over broad assumptions.
1. If the contract bug is confirmed and the fix is low-risk, prepare the code, test, and doc updates needed for a focused PR. 2. Any change to a CloudBase cloud API wrapper or call is incomplete without tests that would fail on the previous wrong contract. 3. If the issue is serious but still ambiguous, write a report and open an issue instead of shipping a guessed fix. 4. Route broad code hygiene findings to `codebase-audit`. Route open-PR repair work to `pr-review-fix` after the contract finding is confirmed.
| Task | Read | | --- | --- | | Review CloudBase API contract correctness | `references/review-checklist.md` | | Run a broad code audit after contract review | `codebase-audit` | | Repair an already-open PR after confirming the contract fix | `pr-review-fix` |
1. Audit `mcp/src/tools` for CloudBase API actions whose parameter casing or nesting no longer matches the official docs. 2. Review this MCP tool and tell me whether it guessed a CloudBase action name instead of proving it from documentation. 3. Help me prepare a corrective PR for a documented CloudBase API mismatch and make sure the tests would fail on the old payload.
1. Review this React component for accessibility issues. 2. Help me polish the README introduction copy. 3. Fix an open PR that only has lint failures and no API contract question.
AI writes the code. CloudBase runs the backend. The CloudBase integration layer for AI coding tools: Plugin installs the stack, Skills steer how code is written, MCP operates databases, functions, storage, and deploys from chat.
Repo: TencentCloudBase/CloudBase-AI-Toolkit
Use this skill for Node.js backend AI via @cloudbase/node-sdk (>=3.16.0) — cloud functions, CloudRun, Express/Koa/NestJS, serverless APIs, scheduled jobs, LLM…
Use this skill when a browser/Web app (React, Vue, Next, Nuxt, static sites, SPAs, dashboards, AI chat UI, 页面, 前端, 网页) needs AI models via @cloudbase/js-sdk.…
Use this skill for WeChat Mini Program AI via wx.cloud.extend.AI (小程序, wx.cloud apps). Covers generateText and streamText with callbacks (onText, onEvent,…
CloudBase Node SDK auth guide for server-side identity, user lookup, and custom login tickets. This skill should be used when Node.js code must read caller…
CloudBase auth provider configuration and login-readiness guide. This skill should be used when users need to inspect, enable, disable, or configure auth…
CloudBase Web Authentication Quick Guide for frontend integration after auth-tool has already been checked. Provides concise and practical Web authentication…