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…
Periodically analyze open pull requests for CI failures, code review feedback, and quality issues, then fix them in batch. Use this skill when the user asks to check PR status, triage CI failures, fix review comments, analyze open PRs, or run a scheduled PR health check across
$ npx -y skills add TencentCloudBase/CloudBase-AI-Toolkit --skill pr-review-fix --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/pr-review-fixContext preview
The summary Claude sees to decide when to auto-load this skill.
Periodically analyze open pull requests for CI failures, code review feedback, and quality issues, then fix them in batch. Use this skill when the user asks to check PR status, triage CI failures, fix review comments, analyze open PRs, or run a scheduled PR health check across
name: pr-review-fix description: Periodically analyze open pull requests for CI failures, code review feedback, and quality issues, then fix them in batch. Use this skill when the user asks to check PR status, triage CI failures, fix review comments, analyze open PRs, or run a scheduled PR health check across the repository. alwaysApply: false
Systematically analyze open pull requests for CI failures, code review feedback, and code quality issues — then fix them efficiently.
Use this skill when you need to:
**Do NOT use for:**
1. Read `references/discovery.md` for the full discovery procedure. 2. Fetch the list of open PRs from GitHub:
gh pr list --state open --json number,title,headRefName,statusCheckRollup,reviewDecision,mergeable --limit 30
3. For each PR, classify its health status:
1. Read `references/triage.md` for prioritization rules. 2. Prioritize by severity: CI failures > review changes > conflicts. 3. For each failing PR, identify root cause category:
4. Present a summary table to the user before proceeding to fixes.
1. Read `references/fix-workflow.md` for the fix procedure. 2. For each PR to fix (in priority order): a. Stash current work: `git stash` b. Check out the PR branch: `git checkout -B <branch> github/<branch>` c. Reproduce the issue locally (build, test, or lint) d. Apply the fix e. Verify locally: build → test → lint f. Commit with conventional-changelog format: `fix(<scope>): 🔧 <description>` g. Push: `git push github <branch>` h. Return to original branch: `git checkout <original> && git stash pop` 3. After all fixes, present a completion summary.
1. After pushing fixes, wait 1-2 minutes for CI to trigger. 2. Check CI status for each fixed PR:
gh pr checks <number>
3. If CI still fails, loop back to Phase 3 for that PR.
| Task | Read | | --- | --- | | Discover and list open PR status | `references/discovery.md` | | Prioritize which PRs to fix first | `references/triage.md` | | Execute fixes on PR branches | `references/fix-workflow.md` | | Understand project CI pipeline | `references/ci-pipeline.md` | | Common fix patterns and recipes | `references/fix-recipes.md` |
Follow the project's conventional-changelog format:
fix(<scope>): 🔧 <english description>
Where `<scope>` is the affected module (e.g., `cloudrun`, `security`, `code-quality`, `test`).
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…