mcp-tool-change
星标0
分支0
更新时间2026年6月11日 16:58
Use when adding, renaming, or modifying an MCP tool in spliceailookup-link
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Use when adding, renaming, or modifying an MCP tool in spliceailookup-link
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Use when preparing to tag, publish, or promote a spliceailookup-link build.
Use when adding, renaming, or modifying this backend's FastAPI routes, dependencies, middleware, or response behavior.
Use when a CI check (lint, format, mypy, line-budget, or tests) fails in spliceailookup-link
基于 SOC 职业分类
| name | mcp-tool-change |
| description | Use when adding, renaming, or modifying an MCP tool in spliceailookup-link |
Follow this checklist when touching the MCP surface in spliceailookup_link/mcp/.
spliceailookup_link/mcp/tools/. Reuse the
pattern in spliceai.py: @mcp.tool(name=, title=, annotations=READ_ONLY_OPEN_WORLD, tags=), typed Annotated[..., Field(...)] params, a dense AI-facing docstring
(what it does, when to use, what it returns, token cost), an inner async def call(),
and return await run_mcp_tool(name, call, context=McpErrorContext(...)).spliceailookup_link/mcp/tools/__init__.py:register_splice_tools.spliceailookup_link/mcp/shaping.py (compact/full/minimal +
a headline). Never return raw upstream keys (DS_AG, etc.) — rename to readable classes._meta.next_commands (same-server, ready-to-call) and _meta.see_also
(cross-server hints). Use builders in next_commands.py / _common.py.mcp/errors.py classifies them.
Add a new error_code only with a recovery action + recovery text.mcp/resources.py (tools, parameters, score_glossary,
recommended_workflows).tests/unit/test_tools.py case via mcp.call_tool + the StubService,
and a tests/integration case if behavior depends on live upstream.make ci-local. Keep modules < 600 lines (make lint-loc).