doc-freshness-review
$
npx mdskill add TencentCloudBase/CloudBase-MCP/doc-freshness-reviewAudits repository documentation for drift and broken references
- Checks published docs and READMEs for outdated or incorrect information
- Analyzes documentation under `doc/` and key entry files like `README.md`
- Identifies mismatches between documentation and current code or assets
- Provides targeted findings to help prepare corrective documentation PRs
SKILL.md
.github/skills/doc-freshness-reviewView on GitHub ↗
--- name: doc-freshness-review description: Use when auditing repository documentation for drift, stale statements, broken references, or README mismatches, especially across published docs under `doc/` and key entry surfaces such as `README.md`, `README-EN.md`, `README-ZH.md`, and `mcp/README.md` during periodic maintenance or before preparing corrective PRs. alwaysApply: false --- # Documentation Freshness Review Review whether repository documentation still matches the current code, generated assets, and published entry points. ## When to use this skill Use this skill when you need to: - Audit published documentation under `doc/` for stale or wrong statements - Check whether `README.md`, `README-EN.md`, `README-ZH.md`, or `mcp/README.md` drifted away from current behavior - Verify that linked scripts, files, commands, and workflows still exist and still match the repo - Run a periodic docs health check before opening corrective PRs - Separate mechanical doc drift from product ambiguity that still needs human confirmation **Do NOT use for:** - Marketing copy polish without a freshness or correctness question - API contract review that depends on CloudBase control-plane docs first - Feature planning or architecture design - Rewriting large docs from scratch when the main need is a targeted drift audit ## Workflow ### Phase 1 — Scope the surfaces 1. Read `references/review-scope.md` first. 2. Build the audit surface in two groups: - published documentation under `doc/` - README surfaces such as `README.md`, `README-EN.md`, `README-ZH.md`, and `mcp/README.md` 3. Note which code, scripts, generated files, or workflows those docs claim to describe. ### Phase 2 — Evidence-based comparison 1. Verify whether referenced files, scripts, commands, and workflow names still exist. 2. Compare the docs against the current implementation, generated outputs, and source-of-truth files. 3. Mark each mismatch as one of: - stale statement - missing or stale reference - outdated command - drift between published docs and README surfaces - drift between docs and actual implementation ### Phase 3 — Severity and action 1. Prefer concrete findings with exact file paths and the smallest useful rewrite direction. 2. If the fix is mechanical and low-risk, prepare the doc updates for a focused PR. 3. If the docs may be wrong because product behavior is unclear, write a report and issue instead of guessing. 4. If the drift originates from a CloudBase API contract problem, hand off to `api-contract-review` before updating the prose. ### Phase 4 — Follow-through 1. Keep report sections separate for: - published documentation - README surfaces - broken or missing references 2. Prefer one focused PR per coherent doc drift batch. 3. Route open-PR repair work to `pr-review-fix` after the doc finding is confirmed. ## Routing | Task | Read | | --- | --- | | Review docs and README freshness scope | `references/review-scope.md` | | Review CloudBase API contract drift before changing related prose | `api-contract-review` | | Fix an already-open PR after confirming the doc drift | `pr-review-fix` | ## Evaluation prompts ### Should-trigger 1. Audit `doc/` and the main README files for stale commands, missing files, and broken references. 2. Review whether `mcp/README.md` still matches the current MCP tool behavior and linked files. 3. Help me prepare a corrective PR for docs that still reference scripts or workflows that no longer exist. ### Should-not-trigger 1. Review this TypeScript module for runtime validation gaps. 2. Compare CloudBase action parameters against the official control-plane docs. 3. Write a brand-new tutorial for a feature that does not exist yet. ## Minimum self-check - Did I separately review published documentation and README surfaces? - Can I point to exact file paths for every stale or broken reference? - Did I compare the docs against current code, scripts, and generated outputs instead of relying on memory? - If I recommend a fix, is it a small, reviewable doc batch suitable for a PR? - If the underlying product behavior was unclear, did I stop at report or issue instead of rewriting confidently?
More from TencentCloudBase/CloudBase-MCP
- ai-model-nodejsUse 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 proxies. Only SDK supporting image generation (ai.createImageModel + generateImage). Text models via ai.createModel with groups cloudbase, hunyuan-exp, or custom-*. Model IDs (deepseek-v4-flash, deepseek-v3.2, hunyuan-2.0-instruct-20251111, glm-5, kimi-k2.6) go in the model field of generateText/streamText. MUST run two-step preflight before code — see body. Keywords: backend, 云函数, 云托管, serverless, LLM proxy, agent orchestration, generateText, streamText, generateImage, createModel, hunyuan-image, Token Credits, TokenHub, Hunyuan, DeepSeek, GLM, Kimi, MiniMax. NOT for browser/Web (use ai-model-web) or Mini Program (use ai-model-wechat).
- ai-model-webUse this skill when a browser/Web app (React, Vue, Angular, Next, Nuxt, static sites, SPAs, dashboards, AI chat UI) needs AI models via @cloudbase/js-sdk. Default routing for page/页面/Web/前端/frontend/网页/H5 AI — call directly from browser, do NOT propose a Node.js proxy. Covers generateText and streamText. Models via ai.createModel with groups cloudbase, hunyuan-exp, or custom-*. Model IDs (deepseek-v4-flash, deepseek-v3.2, hunyuan-2.0-instruct-20251111, glm-5, kimi-k2.6) go in the model field. MUST run two-step preflight before code — see body. Keywords: 页面, Web, 前端, React, Vue, Next, Nuxt, SPA, AI chat UI, generateText, streamText, createModel, hunyuan-exp, Token Credits, TokenHub, Hunyuan, DeepSeek, GLM, Kimi, MiniMax. NOT for Node.js backend (use ai-model-nodejs), Mini Program (use ai-model-wechat), or image generation (Node SDK only).
- ai-model-wechatUse this skill for WeChat Mini Program AI via wx.cloud.extend.AI (小程序, 企业微信小程序, wx.cloud apps). Features generateText and streamText with callbacks (onText, onEvent, onFinish). Models via wx.cloud.extend.AI.createModel with groups hunyuan-exp (小程序成长计划), cloudbase (main managed), or custom-*. Model IDs (deepseek-v4-flash, deepseek-v3.2, hunyuan-2.0-instruct-20251111, glm-5, kimi-k2.6) go in the data wrapper model field. API differs from JS/Node SDK — streamText needs data wrapper, generateText returns raw response. MUST run two-step preflight before code — see body. Keywords: Mini Program AI, wx.cloud.extend.AI, 小程序成长计划, ai_miniprogram_inspire_plan, Token Credits 资源包, generateText, streamText, createModel, hunyuan-exp, TokenHub, Hunyuan, DeepSeek, GLM, Kimi, MiniMax. NOT for browser/Web (use ai-model-web), Node.js backend (use ai-model-nodejs), or image generation (use ai-model-nodejs).
- api-contract-reviewUse 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.
- auth-nodejs-cloudbaseCloudBase 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 identity, inspect end users, or bridge an existing user system into CloudBase; not when configuring providers or building client login UI.
- auth-tool-cloudbaseCloudBase auth provider configuration and login-readiness guide. This skill should be used when users need to inspect, enable, disable, or configure auth providers, publishable-key prerequisites, login methods, SMS/email sender setup, or other provider-side readiness before implementing a client or backend auth flow.
- auth-web-cloudbaseCloudBase Web Authentication Quick Guide for frontend integration after auth-tool has already been checked. Provides concise and practical Web authentication solutions with multiple login methods and complete user management.
- auth-wechat-miniprogramCloudBase WeChat Mini Program native authentication guide. This skill should be used when users need mini program identity handling, OPENID/UNIONID access, or `wx.cloud` auth behavior in projects where login is native and automatic.
- cloud-functionsCloudBase function runtime guide for building, deploying, and debugging your own Event Functions or HTTP Functions. This skill should be used when users need application runtime code on CloudBase, not when they are merely calling CloudBase official platform APIs.
- cloud-storage-webComplete guide for CloudBase cloud storage using Web SDK (@cloudbase/js-sdk) - upload, download, temporary URLs, file management, and best practices.