Claude Code中英文系列教程21:通过市场发现并安装插件

Claude Code中英文系列教程21:通过市场发现并安装插件p Find and install plugins from marketplaces to extend Claude Code with new commands agents and capabilities br 从市场查找并安装插件 以扩展 Claude Code 的新命令 agents 代理和功能 Plugins extend Claude p

大家好,我是讯享网,很高兴认识大家。这里提供最前沿的Ai技术和互联网信息。



 

从市场查找并安装插件,以扩展 Claude Code 的新命令、agents代理和功能。

一,How marketplaces work  市场机制如何运作

1,Add the marketplace  添加市场

/plugin install plugin-name@claude-plugins-official

2.1 Code intelligence  代码智能

下面是不同语言对应的插件名和必需的二进制文件。

C/C++,插件名 clangd-lsp, 需要有 clangd 二进制文件

C# ->csharp-lsp ->csharp-ls

Go    ->gopls-lsp    ->gopls

Java    ->jdtls-lsp->    jdtls

Kotlin    ->kotlin-lsp    ->kotlin-language-server

Lua->    lua-lsp->    lua-language-server

PHP    ->php-lsp    ->intelephense

Python    ->pyright-lsp    ->pyright-langserver

Rust    ->rust-analyzer-lsp    ->rust-analyzer

Swift    ->swift-lsp    ->sourcekit-lsp

TypeScript->    typescript-lsp    ->typescript-language-server

2.1.2 Code intelligence issues  代码智能常见问题

High memory usage: language servers like rust-analyzer and pyright can consume significant memory on large projects. If you experience memory issues, disable the plugin with /plugin disable and rely on Claude’s built-in search tools instead.
高内存使用:像 rust-analyzer 和 pyright 这样的语言服务器在大项目上可能会消耗大量内存。如果你遇到内存问题,请使用 /plugin disable 禁用插件,并改用 Claude 的内置搜索工具。


2.2 External integrations  外部集成

2.3 Development workflows  开发工作流

2.4 Output styles  输出样式

1,Add the marketplace  添加市场

/plugin marketplace add anthropics/claude-code

2,Browse available plugins  浏览可用插件

3,Install a plugin  安装插件

/plugin install commit-commands@anthropics-claude-code

4,Use your new plugin  使用你的新插件

/commit-commands:commit

四,Add marketplaces  添加市场

GitHub repositories: owner/repo format (for example, anthropics/claude-code)  #GitHub 仓库: owner/repo 格式(例如, anthropics/claude-code )

4.1 Add from GitHub  添加来自 GitHub的插件

/plugin marketplace add anthropics/claude-code

Using HTTPS:  使用 HTTPS:

/plugin marketplace add https://gitlab.com/company/plugins.git

Using SSH:  使用 SSH:

/plugin marketplace add :company/plugins.git

/plugin marketplace add https://gitlab.com/company/plugins.git#v1.0.0

4.3 Add from local paths  从本地路径添加

/plugin marketplace add ./my-marketplace

/plugin marketplace add ./path/to/marketplace.json

4.4 Add from remote URLs  从远程 URL 添加

/plugin marketplace add https://example.com/marketplace.json

五,Install plugins  安装插件

/plugin install plugin-name@marketplace-name

/plugin disable plugin-name@marketplace-name

/plugin enable plugin-name@marketplace-name

/plugin uninstall plugin-name@marketplace-name

Add new marketplaces  添加新的市场列表

7.2 Use CLI commands  使用命令行指令 

/plugin marketplace list

/plugin marketplace update marketplace-name

7.3 Configure auto-updates  配置自动更新

2,Select Marketplaces  选择市场

九,Troubleshooting  故障排除

9.2 Common issues  常见问题

learning-output-style: Interactive learning mode for skill building 学习性输出样式:构建skills时的交互学习模式

/commit-commands:commit 插件可能提供一些有用的命令

可以创建自己的市场

大家有推荐的好的插件吗?

小讯
上一篇 2026-04-03 14:41
下一篇 2026-04-03 14:39

相关推荐

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/224847.html