mcp-capability-builder
Analyze capability gaps from migration skills and prepare MCP extensions or new MCPs in a controlled, non-executing manner
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analyze capability gaps from migration skills and prepare MCP extensions or new MCPs in a controlled, non-executing manner
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Manage Huawei Cloud resources through KooCLI. Discover before acting — always query existing resources before creating. Use dryrun to validate, waiter to poll async operations.
Build HuaweiCloud multi-account landing zone Terraform code with modular governance (OUs, accounts, SCP, IAM, Identity Center) and per-account infrastructure (VPC, compute, tagging)
Discover, plan, deploy, validate and configure a Huawei Cloud DWS cluster using verified hcloud CLI operations and controlled approval gates.
Discover, configure, execute, validate and restore Huawei Cloud CBR backups for supported ECS, EVS and CCE node scenarios.
Discover, plan, execute under human supervision, validate and recover Huawei Cloud cross-region disaster recovery scenarios using SDRS (Storage Disaster Recovery Service) capabilities.
Migrate object storage to Huawei Cloud OBS using OMS (Object Migration Service). Handles cross-cloud (AWS, Azure, Aliyun, Tencent, GCP, on-prem HTTP) S3/bucket migration with Terraform automation, consistency checks, and post-migration verification. Use when the user wants to migrate or replicate objects/buckets to Huawei Cloud OBS.
| name | mcp-capability-builder |
| version | 1.0.0 |
| description | Analyze capability gaps from migration skills and prepare MCP extensions or new MCPs in a controlled, non-executing manner |
| category | shared |
| risk_level | low |
| status | READY_WITH_WARNINGS |
| requires_explicit_approval | false |
| license | Apache-2.0 |
| compatibility | ["OpenCode","Hermes"] |
| metadata | {"domain":"Shared","family":"Capability-Analysis","service":"MCP-Builder","risk_level":"low","status":"READY_WITH_WARNINGS"} |
Analyze capability gaps discovered by migration skills and prepare controlled solutions: either an extension of an existing MCP or a new specialized MCP. This skill NEVER executes cloud operations, publishes code, or activates MCPs.
None (this skill operates on local files only)
None
Generated MCPs are NEVER activated automatically; they remain DRAFT or EXPERIMENTAL until manual review and promotion. [VERIFIED_FROM_DESIGN]
Generated MCPs do NOT use real credentials; all credential references must be placeholders or environment variable references. [VERIFIED_FROM_DESIGN]
Generated MCPs do NOT call cloud services; scaffold implementations use stubs or mocks. [VERIFIED_FROM_DESIGN]
Write operations in generated MCPs must require an approval model (explicit_approval or confirm); do not generate MCPs that execute writes without approval. [INFERRED]
API contracts for generated tools must be validated against official documentation; do not invent tool signatures. [INFERRED]
Existing MCP inventory must be searched before proposing a new MCP; prefer USE_EXISTING_TOOL or EXTEND_EXISTING_MCP. [VERIFIED_FROM_DESIGN]
SDK version compatibility must be documented; generated MCPs should pin SDK versions. [VERSION_DEPENDENT]
Generated scaffold tests must be runnable without cloud access; use mocks for all external dependencies. [VERIFIED_FROM_DESIGN]
Security review must be performed before marking a generated MCP as review-ready; verify no hardcoded credentials, no 0.0.0.0/0 access, write operations require approval. [VERIFIED_FROM_DESIGN]
Generated MCPs cannot be promoted to READY status through this skill; promotion requires human judgment and integration testing. [INFERRED]
| Tool or resource | Required | Purpose | Verification |
|---|---|---|---|
| Gap definition | Yes | Capability gap to address | Gap ID, skill, phase, description |
| Existing MCP inventory | Yes | Search for existing tools | MCP registry or filesystem scan |
| Official API or SDK source | Yes | Tool contract design | API documentation or SDK reference |
| Test runtime (Node.js) | Yes | Scaffold test execution | node --version |
| Security reviewer | Yes | Security review of generated code | Human reviewer identified |
| mcp-capability-builder skill | Yes | This skill itself | Skill exists |
Classification: AUTOMATED
Objective: Extract and validate the capability gap report from the requesting migration skill.
Inputs: Gap report with gap_id, skill_name, phase, required_capability, evaluated_mcps.
Preconditions: None.
Command: None (parsing logic).
Approval requirement: None.
Verification: Confirm gap_id, skill_name, phase, and required_capability are present.
Expected result: Complete gap report ready for analysis.
Failure action: STOP and request complete gap report. Do not invent capabilities.
Evidence artifact: artifacts/capability-gap-parsed.json
This skill IS the capability gap handler. It does not have its own gaps.
Not applicable (this skill does not execute operations)
| Symptom | Likely cause | Diagnosis | Resolution |
|---|---|---|---|
| API contract unavailable | No public API documentation | Search official docs, SDK source | Document as BLOCKED, request API documentation |
| Existing MCP already covers capability | Incomplete MCP inventory search | Search all MCP registries | Report USE_EXISTING_TOOL with tool name |
| Generated scaffold tests fail | Template or mock issues | Run scaffold tests locally | Fix template, update mocks, re-generate |
| Write operation lacks approval model | Template missing approval guard | Review generated server.mjs | Add explicit_approval or confirm to write tools |
| SDK version mismatch | Pinned SDK version outdated | Check SDK changelog | Update SDK version, re-validate contract |
| Generated MCP cannot be promoted | Missing integration tests | Review promotion checklist | Complete integration tests, security review |
| Gap is not real | Naming mismatch or alias | Search with alternative names | Report USE_EXISTING_TOOL, document alias |
| Extension not viable | Backward compatibility risk | Review existing MCP consumers | Recommend CREATE_NEW_MCP_CANDIDATE or MANUAL_STEP |
See also: docs/known-issues.md when available.
Status: READY_WITH_WARNINGS
Evidence: