200 lines
9.1 KiB
Markdown
200 lines
9.1 KiB
Markdown
# Claude Code 专业插件集
|
||
|
||
`Claude Code` `插件` `多智能体` `开发工具` `自动化`
|
||
|
||
<div align="center">
|
||
|
||
# ACP - Alfio Caprino Claude Code 插件集
|
||
|
||
**39 个专业插件,让你少写提示词,多发布代码。**
|
||
|
||
[](LICENSE)
|
||
[](.claude-plugin/marketplace.json)
|
||
[](#plugins)
|
||
[](#plugins)
|
||
[](#plugins)
|
||
[](#plugins)
|
||
|
||
</div>
|
||
|
||
---
|
||
|
||
## 为什么选择 ACP?
|
||
|
||
- **领域专家,而非通用提示词** —— 每个插件都沉淀了数月的专业知识(Python、Rust、React、安全、SEO、法律……)
|
||
- **多智能体编排** —— 代码审查可并行触发架构分析、安全审查和模式分析
|
||
- **端到端工作流** —— 将头脑风暴、规划、实现、审查和清理串联为单条命令
|
||
- **按需安装** —— 每个插件相互独立,无运行时依赖
|
||
- **社区驱动** —— MIT 授权,与 Anthropic、Vercel 等项目保持上游同步
|
||
|
||
## 快速开始
|
||
|
||
```bash
|
||
# 添加插件市场
|
||
claude plugin marketplace add acaprino/alfio-claude-plugins
|
||
|
||
# 安装所需插件
|
||
claude plugin install python-development@alfio-claude-plugins
|
||
claude plugin install senior-review@alfio-claude-plugins
|
||
claude plugin install frontend@alfio-claude-plugins
|
||
```
|
||
|
||
就这些。插件会在相关场景下自动激活,也可以直接调用:
|
||
|
||
```bash
|
||
# 斜线命令
|
||
/code-review # 多智能体架构 + 安全 + 模式审查
|
||
/agent-teams:team-feature # 分解 -> 派生智能体 -> 实现 -> 验证
|
||
/python-scaffold # 搭建生产级 Python 项目骨架
|
||
|
||
# 智能体
|
||
"用 python-engineer 智能体实现限速功能"
|
||
"让 rust-engineer 审查我的 Tauri 后端"
|
||
```
|
||
|
||
---
|
||
|
||
## 插件列表
|
||
|
||
| 插件 | 描述 | A | S | C |
|
||
|--------|-------------|:-:|:-:|:-:|
|
||
| **[python-development](docs/plugins/python-development.md)** | TDD、重构、异步模式、打包、性能优化、死代码检测 | 3 | 8 | 2 |
|
||
| **[senior-review](docs/plugins/senior-review.md)** | 5 个智能体并行审查架构、安全、模式、分布式流程和启动周期 | 5 | 1 | 4 |
|
||
| **[frontend](docs/plugins/frontend.md)** | UI 精修、布局设计、现代 CSS、Web 策略、Radix/shadcn/daisyUI | 3 | 5 | 1 |
|
||
| **[codebase-mapper](docs/plugins/codebase-mapper.md)** | 从任意代码库生成 10 篇含 Mermaid 图的叙述性文档 | 10 | 1 | 4 |
|
||
| **[ai-tooling](docs/plugins/ai-tooling.md)** | 头脑风暴、规划、执行、提示词优化、Agent SDK | 1 | 5 | 1 |
|
||
| **[tauri-development](docs/plugins/tauri-development.md)** | Tauri 2 桌面端 + 移动端、Rust 后端、IPC 优化 | 3 | 1 | - |
|
||
| **[digital-marketing](docs/plugins/digital-marketing.md)** | SEO 审计、内容策略、品牌命名、域名挖掘、文本人性化 | 3 | 4 | 5 |
|
||
| **[react-development](docs/plugins/react-development.md)** | React 19 性能优化、状态管理、包体积优化 | 1 | 1 | 1 |
|
||
| **[rag-development](docs/plugins/rag-development.md)** | RAG 系统设计——分块、嵌入、向量数据库、高级模式 | 2 | 1 | 1 |
|
||
| **[marketplace-ops](docs/plugins/marketplace-ops.md)** | 审计、搭建、审查和管理本生态系统中的插件 | 1 | 2 | 4 |
|
||
| **[learning](docs/plugins/learning.md)** | MarkMind 格式思维导图与交互式力导向图 | - | 3 | 1 |
|
||
| **[deep-dive-analysis](docs/plugins/deep-dive-analysis.md)** | 7 阶段系统性代码库分析与模式检测 | - | 1 | 1 |
|
||
| **[git-worktrees](docs/plugins/git-worktrees.md)** | 基于 git worktree 的并行开发——创建、暂停、恢复、合并 | 1 | 1 | 1 |
|
||
| **[business](docs/plugins/business.md)** | 科技法律、合规、隐私文档、合同、SaaS 商业规划 | 3 | 1 | - |
|
||
| **[stripe](docs/plugins/stripe.md)** | Stripe 支付、订阅、Connect、收入优化 | 2 | - | - |
|
||
| **[research](docs/plugins/research.md)** | 快速检索与多来源深度调研 | 2 | - | - |
|
||
| **[project-setup](docs/plugins/project-setup.md)** | 创建并维护含基准验证的 CLAUDE.md | 1 | - | 2 |
|
||
| **[clean-code](docs/plugins/clean-code.md)** | 在不改变行为的前提下重写代码以提升可读性 | 1 | - | 1 |
|
||
| **[app-analyzer](docs/plugins/app-analyzer.md)** | 通过 ADB 分析 Android 应用,通过 Playwright 分析 Web 应用 | 1 | - | - |
|
||
| **[xterm](docs/plugins/xterm.md)** | 构建和调试 xterm.js 终端模拟器 | - | 1 | 2 |
|
||
| **[obsidian-development](docs/plugins/obsidian-development.md)** | 一次通过 ObsidianReviewBot 审查 | - | 3 | - |
|
||
| **[typescript-development](docs/plugins/typescript-development.md)** | TypeScript 最佳实践、Knip 死代码检测和企业级 TypeScript 精通 | - | 3 | - |
|
||
| **[system-utils](docs/plugins/system-utils.md)** | 整理杂乱文件夹、查找重复文件 | - | 1 | 1 |
|
||
| **[messaging](docs/plugins/messaging.md)** | RabbitMQ 队列设计与 AMQP 模式 | 1 | - | - |
|
||
| **[csp](docs/plugins/csp.md)** | 基于 OR-Tools CP-SAT 的调度、路由与分配 | 1 | - | - |
|
||
| **[browser-extensions](docs/plugins/browser-extensions.md)** | 支持 Manifest V2/V3 的 Firefox 扩展 | 1 | 1 | - |
|
||
| **[playwright-skill](docs/plugins/playwright-skill.md)** | 基于 Playwright 的通用浏览器自动化 | - | 1 | - |
|
||
| **[cc-usage](docs/plugins/cc-usage.md)** | Token 用量、成本与账单分析 | - | 1 | 1 |
|
||
| **[prompt-improver](docs/plugins/prompt-improver.md)** | 用研究型问题丰富模糊提示词 | - | 1 | - |
|
||
| **[acp-hooks](docs/plugins/acp-hooks.md)** | 会话钩子——启动品牌展示、技能感知、安全门控 | - | - | - |
|
||
| **[docs](docs/plugins/docs.md)** | 撰写顶级 README.md 文件 | - | 1 | 1 |
|
||
| **[testing](docs/plugins/testing.md)** | TDD 方法论、E2E 测试模式、行为驱动测试生成 | 1 | 2 | - |
|
||
| **[platform-engineering](docs/plugins/platform-engineering.md)** | 跨平台安全、架构与性能规范手册 | 1 | 1 | - |
|
||
| **[ibkr-trading](docs/plugins/ibkr-trading.md)** | Interactive Brokers 算法交易——TWS API、ib_async、订单执行 | 1 | 1 | 1 |
|
||
| **[mt5-trading](docs/plugins/mt5-trading.md)** | MetaTrader 5 Python 算法交易——API、轮询事件、订单执行 | 1 | 1 | 1 |
|
||
| **[opentelemetry](docs/plugins/opentelemetry.md)** | OpenTelemetry Python——分布式追踪、上下文传播、导出器 | 1 | 1 | - |
|
||
| **[docker](docs/plugins/docker.md)** | 适用于任意语言或框架的优化多阶段 Dockerfile | - | 1 | - |
|
||
| **[grabber-development](docs/plugins/grabber-development.md)** | Python 网页抓取——隐身自动化、反机器人绕过、代理架构 | 1 | 1 | - |
|
||
| **[agent-teams](docs/plugins/agent-teams.md)** | 编排多智能体团队,实现并行代码审查、调试与协同功能开发 | 4 | 6 | 9 |
|
||
|
||
**A** = 智能体,**S** = 技能,**C** = 命令
|
||
|
||
---
|
||
|
||
<details>
|
||
<summary><b>插件工作原理</b></summary>
|
||
|
||
| 类型 | 含义 | 使用方式 |
|
||
|------|-----------|------------|
|
||
| **智能体(Agent)** | 具备领域专业知识的专属 AI 角色 | `用 python-engineer 智能体实现限速功能` |
|
||
| **技能(Skill)** | Claude 自动参考的知识模块 | 当任务匹配其触发关键词时自动激活 |
|
||
| **命令(Command)** | 启动工作流的斜线命令 | `/code-review`、`/python-scaffold`、`/agent-teams:team-feature` |
|
||
|
||
插件均为纯 Markdown 文件,可附带可选的 JS/Python 辅助脚本。无需构建步骤,无运行时框架。
|
||
|
||
</details>
|
||
|
||
<details>
|
||
<summary><b>项目结构</b></summary>
|
||
|
||
```
|
||
acp/
|
||
├── .claude-plugin/
|
||
│ └── marketplace.json # 插件注册表
|
||
├── docs/plugins/ # 各插件文档
|
||
├── plugins/
|
||
│ ├── python-development/
|
||
│ │ ├── agents/ # 含 YAML frontmatter 的 .md 文件
|
||
│ │ ├── skills/ # SKILL.md + 可选引用资源/
|
||
│ │ └── commands/ # 斜线命令 .md 文件
|
||
│ ├── senior-review/
|
||
│ ├── frontend/
|
||
│ └── ... # 共 39 个插件
|
||
├── LICENSE
|
||
└── README.md
|
||
```
|
||
|
||
</details>
|
||
|
||
<details>
|
||
<summary><b>本地开发安装</b></summary>
|
||
|
||
```bash
|
||
git clone https://github.com/acaprino/alfio-claude-plugins.git
|
||
claude plugin install ./acp/plugins/python-development
|
||
```
|
||
|
||
</details>
|
||
|
||
---
|
||
|
||
## 贡献
|
||
|
||
1. Fork 本仓库
|
||
2. 按照现有模式添加你的智能体/技能/命令
|
||
3. 在 `marketplace.json` 中注册
|
||
4. 提交 Pull Request
|
||
|
||
<details>
|
||
<summary><b>智能体模板</b></summary>
|
||
|
||
```markdown
|
||
---
|
||
name: agent-name
|
||
description: 何时以及如何使用此智能体
|
||
model: opus
|
||
tools: Read, Write, Edit, Bash, Glob, Grep
|
||
color: blue
|
||
---
|
||
|
||
智能体系统提示词……
|
||
```
|
||
|
||
</details>
|
||
|
||
<details>
|
||
<summary><b>技能模板</b></summary>
|
||
|
||
```markdown
|
||
---
|
||
name: skill-name
|
||
description: 此技能的激活时机
|
||
---
|
||
|
||
# 技能名称
|
||
|
||
说明、参考资料和领域知识……
|
||
```
|
||
|
||
</details>
|
||
|
||
---
|
||
|
||
<div align="center">
|
||
|
||
MIT 许可证 - [LICENSE](LICENSE)
|
||
|
||
由 [Alfio](https://github.com/acaprino) 构建
|
||
|
||
</div> |