Source profileQuality 87/100

TencentCloudBase/CloudBase-AI-Toolkit/skills/api-contract-review/SKILL.md

api-contract-review

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.

Source repository stars
1,066
Declared platforms
0
Static risk flags
0
Last source update
2026-08-04
Source checked
2026-08-04

Decision brief

What it does—and where it fits

Review CloudBase cloud API integrations for contract correctness before the repository ships stale, guessed, or undocumented behavior.

Best for

  • Review CloudBase cloud API wrappers or MCP tools for outdated or incorrect action or interface names
  • Check whether request parameters, casing, nesting, or request shape drifted away from documentation
  • Audit whether a CloudBase API change is backed by the right contract tests

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/TencentCloudBase/CloudBase-AI-Toolkit --skill "skills/api-contract-review"
Safe inspection promptEditorial

Inspect the Agent Skill "api-contract-review" from https://github.com/TencentCloudBase/CloudBase-AI-Toolkit/blob/1dddc898085c55ae616c3b0bf989b4b7b7797b35/skills/api-contract-review/SKILL.md at commit 1dddc898085c55ae616c3b0bf989b4b7b7797b35. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Workflow

    1. Read references/review-checklist.md first. 2. Identify the review surface: - mcp/src/tools/ - related tests - generated action metadata - user-facing docs that describe the same API behavior 3. Record the exact action, interface, or payload being reviewed before forming concl…

    Read references/review-checklist.md first.Identify the review surface:mcp/src/tools/
  2. 02

    Phase 1 — Scope and evidence

    1. Read references/review-checklist.md first. 2. Identify the review surface: - mcp/src/tools/ - related tests - generated action metadata - user-facing docs that describe the same API behavior 3. Record the exact action, interface, or payload being reviewed before forming concl…

    Read references/review-checklist.md first.Identify the review surface:mcp/src/tools/
  3. 03

    Phase 2 — Documentation-first verification

    Before judging any implementation, you must read the relevant official documentation first.

    CloudBase API overview: https://cloud.tencent.com/document/product/876/34809Dependency-resource API docs when relevant: https://cloud.tencent.com/document/product/876/34808CloudBase Manager SDK docs before approving direct Cloud API usage: https://docs.cloudbase.net/api-reference/manager/node/introduction
  4. 04

    Phase 3 — Repository cross-check

    1. Compare implementation, tests, generated metadata, and user-facing docs against the documented contract. 2. Mark each mismatch as one of: - outdated action or interface name - wrong parameter mapping - wrong parameter casing or nesting - undocumented request shape - missing c…

    Compare implementation, tests, generated metadata, and user-facing docs against the documented contract.Mark each mismatch as one of:outdated action or interface name
  5. 05

    Phase 4 — Escalation and follow-through

    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 ser…

    If the contract bug is confirmed and the fix is low-risk, prepare the code, test, and doc updates needed for a focused PR.Any change to a CloudBase cloud API wrapper or call is incomplete without tests that would fail on the previous wrong contract.If the issue is serious but still ambiguous, write a report and open an issue instead of shipping a guessed fix.

Permission review

Static risk signals and limitations

No configured static risk pattern was detected

This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score87/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars1,066SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
TencentCloudBase/CloudBase-AI-Toolkit
Skill path
skills/api-contract-review/SKILL.md
Commit
1dddc898085c55ae616c3b0bf989b4b7b7797b35
License
MIT
Collected
2026-08-04
Default branch
main
View the original SKILL.md

API Contract Review

Review CloudBase cloud API integrations for contract correctness before the repository ships stale, guessed, or undocumented behavior.

When to use this skill

Use this skill when you need to:

  • Review CloudBase cloud API wrappers or MCP tools for outdated or incorrect action or interface names
  • Check whether request parameters, casing, nesting, or request shape drifted away from documentation
  • Audit whether a CloudBase API change is backed by the right contract tests
  • Run a periodic API correctness review before opening corrective PRs
  • Separate confirmed contract bugs from vague "maybe this API changed" speculation

Do NOT use for:

  • General code smell review without a contract-correctness question
  • Regular SDK usage that does not touch CloudBase control-plane or documented API contracts
  • Guessing undocumented behavior from naming intuition
  • Shipping a fix when the documentation still does not support the proposed action or parameter shape

Workflow

Phase 1 — Scope and evidence

  1. Read references/review-checklist.md first.
  2. Identify the review surface:
    • mcp/src/tools/*
    • related tests
    • generated action metadata
    • user-facing docs that describe the same API behavior
  3. Record the exact action, interface, or payload being reviewed before forming conclusions.

Phase 2 — Documentation-first verification

Before judging any implementation, you must read the relevant official documentation first.

Required entry points:

  • CloudBase API overview: https://cloud.tencent.com/document/product/876/34809
  • Dependency-resource API docs when relevant: https://cloud.tencent.com/document/product/876/34808
  • CloudBase Manager SDK docs before approving direct Cloud API usage: https://docs.cloudbase.net/api-reference/manager/node/introduction

Verify the documented contract, not your memory:

  • exact action or interface name
  • required and optional parameters
  • parameter casing and nesting
  • request shape
  • auth model and caller context
  • response shape, task model, and documented limits

If the docs do not clearly support the action, parameter, or behavior, treat the implementation as unverified and stop short of guessing.

Internal parameters

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:

  • EnvTypes in DescribeEnvs — filters environments by type (e.g., ["weda", "baas"]). This parameter is not in the public documentation but is accepted by the backend.

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.

Internal parameters

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:

  • EnvTypes in DescribeEnvs — filters environments by type (e.g., ["weda", "baas"]). This parameter is not in the public documentation but is accepted by the backend.

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.

Phase 3 — Repository cross-check

  1. Compare implementation, tests, generated metadata, and user-facing docs against the documented contract.
  2. Mark each mismatch as one of:
    • outdated action or interface name
    • wrong parameter mapping
    • wrong parameter casing or nesting
    • undocumented request shape
    • missing contract test
    • stale public documentation
  3. Prefer nearby targeted tests over broad assumptions.

Phase 4 — Escalation and follow-through

  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.

Routing

TaskRead
Review CloudBase API contract correctnessreferences/review-checklist.md
Run a broad code audit after contract reviewcodebase-audit
Repair an already-open PR after confirming the contract fixpr-review-fix

Evaluation prompts

Should-trigger

  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.

Should-not-trigger

  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.

Minimum self-check

  • Did I read the relevant official docs before judging the code?
  • Can I point to the exact documented action or interface name?
  • Did I verify parameter casing, nesting, and request shape instead of inferring them?
  • Did I identify the nearest tests that should prove the contract?
  • If I recommend a fix, did I require targeted tests and a focused PR path?
  • If the docs were still unclear, did I stop at report or issue instead of guessing?

Alternatives

Compare before choosing

Computed 976

mgiovani/cc-arsenal

team-review

Multi-agent review team: architecture, security, performance, testing, style, docs/UX, plus an adversary that cross-examines the other 6, for security-sensitive, architectural, or large PRs (15+ files) where a single-agent pass risks missing cross-cutting issues. Use for auth/payments/PII changes, schema/pattern changes, compliance sign-off, or when asked to 'get the review team on this' / 'multi-agent review' / 'thorough review before merge'. For a standard PR or a quick pre-merge check, use /r

Computed 964,922

dotnet/skills

dotnet-webapi

Guides creation and modification of ASP.NET Core Web API endpoints with correct HTTP semantics, OpenAPI metadata, and error handling. USE FOR: adding new API endpoints (controllers or minimal APIs), wiring up OpenAPI/Swagger, creating .http test files, setting up global error handling middleware. DO NOT USE FOR: general C# coding style, EF Core data access or query optimization (use optimizing-ef-core-queries), frontend/Blazor work, gRPC services, or SignalR hubs.

Computed 96106

AI-Unified-Process/marketplace

reverse-engineer

Reverse-engineers an existing software project into AI Unified Process artifacts: a PlantUML use case diagram, per-use-case specification documents, and an entity model with a Mermaid ER diagram. Use when the user asks to "reverse engineer this codebase", "extract use cases from existing code", "document the system we already have", "generate use case specs from controllers", "derive an entity model from the database", "create AIUP artifacts from a legacy project", or mentions reverse engineerin

Computed 9510,869

Jeffallan/claude-skills

fastapi-expert

Use when building high-performance async Python APIs with FastAPI and Pydantic V2. Invoke to create REST endpoints, define Pydantic models, implement authentication flows, set up async SQLAlchemy database operations, add JWT authentication, build WebSocket endpoints, or generate OpenAPI documentation. Trigger terms: FastAPI, Pydantic, async Python, Python API, REST API Python, SQLAlchemy async, JWT authentication, OpenAPI, Swagger Python.