用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CelaviiHQ/cutmaster-ai --skill add-tool命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Create a compound workflow tool that orchestrates multiple Resolve API calls into a single high-level operation.
Run end-to-end MCP server tests — start the server via stdio, send JSON-RPC messages, and verify tool responses.
Edit user-facing SKILL.md files in skills/ — add tools, update parameters, fix docs.
基于 SOC 职业分类
正在显示 SKILL.md
| name | add-tool |
| description | Scaffold a new MCP tool for DaVinci Resolve with the correct patterns, decorators, and registration. |
Use this skill to create a new tool for the CutMaster AI MCP server.
Determine the domain — which file in src/cutmaster_ai/tools/ does it belong to?
timeline.py — timeline operationsclips.py — clip manipulationcolor.py — color grading, nodes, LUTsmarkers.py — markersmedia.py — media pool, bins, importrender.py — render queue, presetsfusion.py — Fusion page, compositionsfairlight.py — Fairlight audiometadata.py — clip/timeline metadataproject.py — project settings, databasesplayback.py — playback, viewertrack.py — track managementcollaboration.py — cloud, remotelayout.py — UI pages, windowsscripting.py — execute Python/Luagallery.py — stills, PowerGradesUse this exact pattern:
@mcp.tool
@safe_resolve_call
def cutmaster_your_tool_name(param: str, optional: int = 1) -> str:
"""One-line description of what this tool does.
Args:
param: Description of required parameter.
optional: Description with default. Defaults to 1.
"""
resolve, project, media_pool = _boilerplate()
# ... Resolve API calls ...
return "Success: description of what happened"
Conventions to follow:
cutmaster_ (namespace)str always — never dicts or lists_boilerplate() for Resolve connectionitems = thing.GetList() or []_resolve_safe_dir() for temp paths, not tempfile.gettempdir()If creating a new module file, add the import to src/cutmaster_ai/__init__.py:
from . import your_new_module # noqa: F401, E402
uv run ruff check src/ --fix && uv run ruff format src/ && uv run pytest tests/ -v