mirror of
https://github.com/sweetwisdom/everything-claude-code-zh.git
synced 2026-03-21 22:10:09 +00:00
docs: 完成所有文档的中文翻译并应用到项目
This commit is contained in:
@@ -1,26 +1,26 @@
|
||||
# Plugins and Marketplaces
|
||||
# 插件(Plugins)与市场(Marketplaces)
|
||||
|
||||
Plugins extend Claude Code with new tools and capabilities. This guide covers installation only - see the [full article](https://x.com/affaanmustafa/status/2012378465664745795) for when and why to use them.
|
||||
插件(Plugins)可以为 Claude Code 扩展新的工具与能力。本指南仅涵盖安装方法 —— 关于何时以及为何使用它们,请参阅[完整文章](https://x.com/affaanmustafa/status/2012378465664745795)。
|
||||
|
||||
---
|
||||
|
||||
## Marketplaces
|
||||
## 插件市场(Marketplaces)
|
||||
|
||||
Marketplaces are repositories of installable plugins.
|
||||
市场(Marketplaces)是可安装插件的仓库。
|
||||
|
||||
### Adding a Marketplace
|
||||
### 添加市场
|
||||
|
||||
```bash
|
||||
# Add official Anthropic marketplace
|
||||
# 添加 Anthropic 官方市场
|
||||
claude plugin marketplace add https://github.com/anthropics/claude-plugins-official
|
||||
|
||||
# Add community marketplaces
|
||||
# 添加社区市场
|
||||
claude plugin marketplace add https://github.com/mixedbread-ai/mgrep
|
||||
```
|
||||
|
||||
### Recommended Marketplaces
|
||||
### 推荐市场
|
||||
|
||||
| Marketplace | Source |
|
||||
| 市场(Marketplace) | 源(Source) |
|
||||
|-------------|--------|
|
||||
| claude-plugins-official | `anthropics/claude-plugins-official` |
|
||||
| claude-code-plugins | `anthropics/claude-code` |
|
||||
@@ -28,58 +28,58 @@ claude plugin marketplace add https://github.com/mixedbread-ai/mgrep
|
||||
|
||||
---
|
||||
|
||||
## Installing Plugins
|
||||
## 安装插件
|
||||
|
||||
```bash
|
||||
# Open plugins browser
|
||||
# 打开插件浏览器
|
||||
/plugins
|
||||
|
||||
# Or install directly
|
||||
# 或直接安装
|
||||
claude plugin install typescript-lsp@claude-plugins-official
|
||||
```
|
||||
|
||||
### Recommended Plugins
|
||||
### 推荐插件
|
||||
|
||||
**Development:**
|
||||
- `typescript-lsp` - TypeScript intelligence
|
||||
- `pyright-lsp` - Python type checking
|
||||
- `hookify` - Create hooks conversationally
|
||||
- `code-simplifier` - Refactor code
|
||||
**开发(Development):**
|
||||
- `typescript-lsp` - TypeScript 智能提示
|
||||
- `pyright-lsp` - Python 类型检查
|
||||
- `hookify` - 通过对话方式创建钩子(Hooks)
|
||||
- `code-simplifier` - 代码重构
|
||||
|
||||
**Code Quality:**
|
||||
- `code-review` - Code review
|
||||
- `pr-review-toolkit` - PR automation
|
||||
- `security-guidance` - Security checks
|
||||
**代码质量(Code Quality):**
|
||||
- `code-review` - 代码审查
|
||||
- `pr-review-toolkit` - PR 自动化
|
||||
- `security-guidance` - 安全检查
|
||||
|
||||
**Search:**
|
||||
- `mgrep` - Enhanced search (better than ripgrep)
|
||||
- `context7` - Live documentation lookup
|
||||
**搜索(Search):**
|
||||
- `mgrep` - 增强型搜索(优于 ripgrep)
|
||||
- `context7` - 实时文档查询
|
||||
|
||||
**Workflow:**
|
||||
- `commit-commands` - Git workflow
|
||||
- `frontend-design` - UI patterns
|
||||
- `feature-dev` - Feature development
|
||||
**工作流(Workflow):**
|
||||
- `commit-commands` - Git 工作流
|
||||
- `frontend-design` - UI 模式
|
||||
- `feature-dev` - 功能开发
|
||||
|
||||
---
|
||||
|
||||
## Quick Setup
|
||||
## 快速设置
|
||||
|
||||
```bash
|
||||
# Add marketplaces
|
||||
# 添加市场
|
||||
claude plugin marketplace add https://github.com/anthropics/claude-plugins-official
|
||||
claude plugin marketplace add https://github.com/mixedbread-ai/mgrep
|
||||
|
||||
# Open /plugins and install what you need
|
||||
# 打开 /plugins 并安装你需要的插件
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Plugin Files Location
|
||||
## 插件文件位置
|
||||
|
||||
```
|
||||
~/.claude/plugins/
|
||||
|-- cache/ # Downloaded plugins
|
||||
|-- installed_plugins.json # Installed list
|
||||
|-- known_marketplaces.json # Added marketplaces
|
||||
|-- marketplaces/ # Marketplace data
|
||||
|-- cache/ # 已下载的插件
|
||||
|-- installed_plugins.json # 已安装列表
|
||||
|-- known_marketplaces.json # 已添加的市场
|
||||
|-- marketplaces/ # 市场数据
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user