在 Manus 中运行任何 Skill
一键导入
一键导入
一键在 Manus 中运行任何 Skill
开始使用$pwd:
$ git log --oneline --stat
stars:239
forks:2
updated:2026年2月1日 17:00
SKILL.md
| 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