在 Manus 中运行任何 Skill
一键导入
一键导入
一键在 Manus 中运行任何 Skill
开始使用update-tool-plugin
星标241
分支2
更新时间2026年2月1日 17:00
Update an existing LNAI tool plugin
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Update an existing LNAI tool plugin
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | update-tool-plugin |
| description | Update an existing LNAI tool plugin |
Guide for modifying an existing plugin to support new features or fix issues.
Search the official documentation for the target tool to understand:
All plugins are in packages/core/src/plugins/:
claude-code/ - Claude Codecursor/ - Cursor IDEcopilot/ - GitHub Copilotwindsurf/ - Windsurf IDEopencode/ - OpenCodegemini/ - Gemini CLIcodex/ - Codexexport() method to generate new output filesskipped in validate() if feature was previously skippedtransforms.ts for transformation logicexport() to match new format requirements# Run plugin-specific tests
pnpm test packages/core/src/plugins/<tool-name>/
# Run all tests
pnpm test
# Test against real project
lnai sync --dry-run -t <tool-name>
| File | Purpose |
|---|---|
index.ts | Main plugin implementation |
types.ts | Tool-specific type definitions |
transforms.ts | Format transformation functions |
../types.ts | Plugin interface definition |
../../utils/transforms.ts | Shared transform utilities |
// Mark feature as skipped (not supported)
skipped.push({
feature: "permissions",
reason: "Tool uses global permissions only",
});
// Add warning (supported but with caveats)
warnings.push({
message: "MCP servers require manual setup",
path: ["settings", "mcpServers"],
});
pnpm typecheck to verify typespnpm test to verify tests passlnai sync --dry-run to preview outputpackages/core/src/plugins/ as examplespackages/core/src/plugins/types.tspackages/core/src/utils/transforms.ts